Re: Problem compiling GTK application...



Hi,

Alain D'eurveilher <deurveia esiee fr> writes:

> -------------------
> 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

You aren't actually linking any executable and the compiler warns you
that you are passing it linker flags. You should use the following
command instead:

 cc reboot.c -c -o  reboot.o `pkg-config --cflags gtk+-2.0`


Sven



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