En: [gtk-list] Re: Problem when I try to compile



Sorry, I wrote:
gcc base.c -o name `gtk-config --cflags --libs`

Fabio


-----Mensagem Original-----
De: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Para: <gtk-list@redhat.com>
Enviada em: Quarta-feira, 29 de Dezembro de 1999 11:42
Assunto: [gtk-list] Re: Problem when I try to compile


> On Wed, 29 Dec 1999 08:41:48 -0200, evm wrote:
> > I try to compile a simple program base.c.
> >
> > gcc base.c -o name `gtk-config --cflgas --libs`
>                                  ^^^^^^^^
> Typo! You meant to type --cflags
>
> >
> > Error message:
> >
> > ld: cannot open -lXext: No such file or diretory
>
> Seems that libXext is not installed on your system, or at a place where
> the compiler can't find it. Try 'gcc -v base.c etc. etc.' to find out
> where gcc is looking for its files. If you don't have libXext, install it;
> if you do have it, you didn't install gtk in the proper way, or edit the
> gtk-config script.
>
>
> Erik
>
> --
> J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
> of Electrical Engineering, Faculty of Information Technology and Systems,
> Delft University of Technology, PO BOX 5031,  2600 GA Delft, The
Netherlands
> Phone: +31-15-2785859  Fax: +31-15-2781843  Email
J.A.K.Mouw@its.tudelft.nl
> WWW: http://www-ict.its.tudelft.nl/~erik/
>
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
>
>
>



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