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

Re: problem compiling GTK application...



Alain D'EURVEILHER wrote:
cc reboot.c -c -o reboot.o `pkg-config --cflags --libs gtk+-2.0`
cc: -lpango-1.0: fichier d'entrée d'édition de liens n'est pas utilisé

That's not an error, it's a warning. The compiler invocation contains flags
that only apply to the linking stage ("-lpango-1.0"), but no linking is
being done ("-c" -> compile only, no linking).

So.. ?? what should I do ?? keep it like this ? make the links ? (and if so, why ??)
Will I get thoses warnings each time i will compile ??
THanks.
AlaiN.

I think you want `pkg-config --cflags gtk+-2.0` in CFLAGS in the Makefile and `pkg-config --libs gtk+-2.0` in LDFLAGS.

--
Jon




Reply to: