|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Linker errors on Ubuntu HardyHi,
anyone interestied in looking into this? After applying the ubuntu-hardy-32.patch and trying to compile GpsDrive for Ubuntu Hardy I get the following Error.... [100%] Building C object src/CMakeFiles/gpsdrive.dir/navigation_gui.o Linking C executable gpsdrive CMakeFiles/gpsdrive.dir/gpsdrive.o: In function `main': gpsdrive.c:(.text+0x671d): undefined reference to `g_thread_init' collect2: ld returned 1 exit status make[3]: *** [src/gpsdrive] Error 1 make[3]: Leaving directory `/home/tweety/gpsdrive/build' make[2]: *** [src/CMakeFiles/gpsdrive.dir/all] Error 2 make[2]: Leaving directory `/home/tweety/gpsdrive/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/tweety/gpsdrive/build' make: *** [build/build-stamp] Error 2 debuild: fatal error at line 1229: couldn't exec fakeroot debian/rules: EXIT CODE=2 -- Jörg (Germany, Tettnang) http://www.ostertag.name/ _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
|
|
|
Re: Linker errors on Ubuntu HardyOn Mittwoch 01 April 2009, Hamish wrote:
> > Linking C executable gpsdrive > > CMakeFiles/gpsdrive.dir/gpsdrive.o: In function `main': > > gpsdrive.c:(.text+0x671d): undefined reference to > > `g_thread_init' > > collect2: ld returned 1 exit status > try adding to src/gpsdrive.c: > #include <glib/gthread.h> > or > #include <glib/gmain.h> // (gmain.h includes gthread.h) including these didn' change anything here. -- Jörg (Germany, Tettnang) http://www.ostertag.name/ _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
|
|
Re: Linker errors on Ubuntu HardyAm Mittwoch 01 April 2009 schrieb Joerg Ostertag (gpsdrive Tettnang/Germany):
> On Mittwoch 01 April 2009, Hamish wrote: > > > Linking C executable gpsdrive > > > CMakeFiles/gpsdrive.dir/gpsdrive.o: In function `main': > > > gpsdrive.c:(.text+0x671d): undefined reference to > > > `g_thread_init' > > > collect2: ld returned 1 exit status > > > > try adding to src/gpsdrive.c: > > #include <glib/gthread.h> > > or > > #include <glib/gmain.h> // (gmain.h includes gthread.h) > > including these didn' change anything here. #include <glib.h> should be enough... if this doesn't work, try to include the g_thread_init into a "#ifdef MAEMO" term, this should fix it for now. the g_thread_init is needed on maemo for the gps connection, but no threads are used anywhere else inside gpsdrive so far... _______________________________________________ GPSdrive mailing list GPSdrive@... http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive |
| Free embeddable forum powered by Nabble | Forum Help |