Skip to content

Conversation

@mathsen
Copy link
Contributor

@mathsen mathsen commented Jan 1, 2026

Some example targets (e.g. v4l2) use math functions such as sin(), but libm was not listed explicitly on the link line. Older toolchains linked this transitively, but newer GCC/binutils reject this with “DSO missing from command line”. Add -lm explicitly to make the link robust and portable.

This should also fix this issue.

Some example targets (e.g. v4l2) use math functions such as sin(), but libm
was not listed explicitly on the link line. Older toolchains linked this
transitively, but newer GCC/binutils reject this with “DSO missing from
command line”. Add -lm explicitly to make the link robust and portable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant