Re: [gtk-list] Problem when I try to compile
- From: Erik Mouw <J A K Mouw its tudelft nl>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem when I try to compile
- Date: Wed, 29 Dec 1999 14:42:06 +0100 (MET)
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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]