[ gpsdrive ] Linker errors on Ubuntu Hardy

Joerg Ostertag (gpsdrive Tettnang/Germany) gpsdrive at ostertag.name
Tue Mar 31 22:03:22 AKDT 2009


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.

-- 

Jörg (Germany, Tettnang)

http://www.ostertag.name/


More information about the GPSdrive mailing list