« Return to Thread: Linker errors on Ubuntu Hardy

Re: Linker errors on Ubuntu Hardy

by Joerg Ostertag (gpsdrive Tettnang/Germany) :: Rate this Message:

Reply to Author | View in Thread

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/
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

 « Return to Thread: Linker errors on Ubuntu Hardy