Re: problem compiling GTK application...
Alain, please do not use HTML in mail. See e.g.
http://www.delorie.com/listserv/mime/ for why.
On Sun, Dec 14, 2003 at 13:09:36 +0100, Alain D'EURVEILHER wrote:
>Chipzz a ecrit:
>>s/ --libs//
>I'm sorry but does that mean ??
It means leave out the "--libs".
Instead of
cc reboot.c -c -o reboot.o `pkg-config --cflags --libs gtk+-2.0`
call
cc reboot.c -c -o reboot.o `pkg-config --cflags gtk+-2.0`
so the call to pkg-config doesn't result in linker flags being passed to cc
which makes the warning disappear.
HTH,
Ray
--
The road to hell is paved with telecom billing requirements.
Reply to: