Re: Problem compiling GTK application...



At Sat, Dec 13, 2003 at 08:00:04PM +0100, Alain D'eurveilher wrote:
> -------------------
> Hi,
> I just installed GTK 2.2.4 and when I want to compile, i've got those
> warning messages.
> Can anybody help me on this please....?
>  
>  
> 15:41 bozz BOZZ ~/gtk/reboot%  LC_ALL=C make
> cc reboot.c -c -o  reboot.o `pkg-config --cflags --libs gtk+-2.0`
> cc: -lpango-1.0: linker input file unused because linking not done
[more of the same snipped]
> cc reboot.o -o reboot `pkg-config --cflags --libs gtk+-2.0
> bozz BOZZ ~/gtk/reboot%
> 
> Thanks :-)
> 
> AlaiN.

It looks like it worked just fine: the messages look like warnings
because the first invocation uses -c (compile only) with the libraries.
Editing the Makefile so that the rules to generate .o files didn't
include "--libs" should fix that.

-- 
Chad Daelhousen
My opinions are my own, until UB purchases my soul.
Do not BCC me; it is considered spam and deleted.



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