Re: garnome 2.10 compile /usr/bin/ld: cannot find -lXext



Simon wrote on 4/7/2005 12:42:

> OK... Ive had a loog at the config.log
> (garnome-2.10.0.1/desktop/gnome-utils/work/main.d/gnome-utils-2.10.0/config.log)...
> can you help me with what im supposed to be looking for.. Here is just
> one of the errors?
> 
> configure:2716: $? = 0
> configure:2719: test -s conftest.o
> configure:2722: $? = 0
> configure:2740: result: none needed
> configure:2758: cc -c -I/root/garnome/include -L/root/garnome/lib -O2
> -pipe -I/root/garnome/include conftest.c >&5
> conftest.c:2: error: parse error before "me"
> configure:2764: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> 

Hmm, looks as if the programs looks for the C++ compiler, and only finds the C
compiler. Do you have g++ installed?
OTOH, conftest.c has the file extension usually associated with a C file, so gcc
defaults to using the C compiler. You can force it to use the C++ compiler with
-x c++

-Joe



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