gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile issue with current CVS on Gentoo Linux


From: Alex Judd
Subject: Compile issue with current CVS on Gentoo Linux
Date: Thu, 03 Mar 2005 09:41:39 +0000
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hi Gnokii list

Not sure if this message got through yesterday but there is an issue compiling the current CVS version of Gnokii on Gentoo Linux where it doesn't automatically include the pthread library.

/opt/gnokii/gnokii/xgnokii/xgnokii.c:821: undefined reference to `pthread_join'
xgnokii.o(.text+0x7fe0): In function `TopLevelWindow':
/opt/gnokii/gnokii/xgnokii/xgnokii.c:2256: undefined reference to `pthread_create'
xgnokii_contacts.o(.text+0x8a5a): In function `QuitSaveCallback':
/opt/gnokii/gnokii/xgnokii/xgnokii_contacts.c:3016: undefined reference to `pthread_join'
xgnokii_contacts.o(.text+0x8ac5): In function `QuitDontSaveCallback':
/opt/gnokii/gnokii/xgnokii/xgnokii_contacts.c:3030: undefined reference to `pthread_join'

A simple work around is to manually add the pthread library to the Makefile.global

So line 97 becomes

GTK_LIBS = -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lpthread

Kindest regards

Alex

--
Skywire | www.skywire.co.uk
T: 020 7706 2931 M: 07740 305 115 E: address@hidden
2 Swinton House | 85 Gloucester Terrace | London W2 3HB
Registered in England No. 04362840 | VAT No: 795 5843 67





reply via email to

[Prev in Thread] Current Thread [Next in Thread]