Skip to content

-lm link flag not working solved#24

Open
ReeseWang wants to merge 1 commit intowhpthomas:masterfrom
ReeseWang:master
Open

-lm link flag not working solved#24
ReeseWang wants to merge 1 commit intowhpthomas:masterfrom
ReeseWang:master

Conversation

@ReeseWang
Copy link

I compiled GPX on my Ubuntu 16.04 and got undefined reference to `round' errors from linker, seems -lm flag is not working.

Solved by putting link flags behind object names in the link command.

@dcnewman
Copy link

The active GPX repo these days (and since 2013) is https://github.com/markwal/GPX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants