Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crosscompile olsr 0.9.6.2 plugin pud/nmealib doesn't build because of missing gps.h #39

Closed
vchrizz opened this issue Sep 14, 2017 · 1 comment

Comments

@vchrizz
Copy link
Contributor

vchrizz commented Sep 14, 2017

using emdebian toolchain to crosscompile olsrd from git for mips/mipsel, i get following error when building nmealib plugin.

installing package libgps-dev and/or libomhacks-dev (which provide a gps.h) doesn't fix the problem:

In file included from src/configuration.h:50,
                 from src/state.c:49:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/receiver.c:51:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/pudOlsrdPlugin.h:50,
                 from src/pudOlsrdPlugin.c:46:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/pud.c:51:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/networkInterfaces.c:50:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/gpsdclient.c:46:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/gpsConversion.c:50:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
In file included from src/configuration.h:50,
                 from src/configuration.c:46:
src/gpsdclient.h:49:17: error: gps.h: No such file or directory
make[1]: Entering directory `/home/user/olsrd-dev/mipsel/olsrd/lib/pud/nmealib'
make[1]: Leaving directory `/home/user/olsrd-dev/mipsel/olsrd/lib/pud/nmealib'
make[1]: Entering directory `/home/user/olsrd-dev/mipsel/olsrd/lib/pud/nmealib'
[CC] src/context.c
cc1: error: unrecognized command line option "-Wdouble-promotion"
cc1: error: unrecognized command line option "-Wtrampolines"
cc1: error: unrecognized command line option "-Wjump-misses-init"
make[1]: *** [build/context.o] Error 1
make[1]: Leaving directory `/home/user/olsrd-dev/mipsel/olsrd/lib/pud/nmealib'
make: *** [nmealib] Error 2
@vchrizz vchrizz changed the title crosscompile olsr 0.9.6.3 plugin nmealib doesn't build because of missing gps.h crosscompile olsr 0.9.6.3 plugin pud/nmealib doesn't build because of missing gps.h Sep 14, 2017
@vchrizz vchrizz changed the title crosscompile olsr 0.9.6.3 plugin pud/nmealib doesn't build because of missing gps.h crosscompile olsr 0.9.6.2 plugin pud/nmealib doesn't build because of missing gps.h Sep 14, 2017
@vchrizz
Copy link
Contributor Author

vchrizz commented Sep 27, 2017

this is fixed by installing package libomhacks-dev only.
pay attention to not have package libgps-dev also installed!

@vchrizz vchrizz closed this as completed Sep 27, 2017
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

No branches or pull requests

1 participant