Undefined symbol _xstat in libX11



Configuring gtk+ 1.2.7 on i586-pc-linux-gnu fails when it begins
checking the X libraries.  Here is the tail of config.log:

----------------------------
configure:5318: checking for IceConnectionNumber in -lICE
configure:5337: gcc -o conftest -O2 -Wall   -L/usr/X11R6/lib conftest.c
-lICE    1>&5
/usr/X11R6/lib/libICE.a(transport.o): In function
`_IceTransSocketUNIXResetListener':
transport.o(.text+0x974): undefined reference to `_xstat'
/usr/X11R6/lib/libICE.a(transport.o): In function
`_IceTransGetPeerNetworkId':
transport.o(.text+0x2695): undefined reference to `__sigjmp_save'
transport.o(.text+0x26a2): undefined reference to `__setjmp'
/usr/X11R6/lib/libICE.a(authutil.o): In function `IceLockAuthFile':
authutil.o(.text+0x14e): undefined reference to `_xstat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5326 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char IceConnectionNumber();

int main() {
IceConnectionNumber()
; return 0; }
configure:5381: checking for XOpenDisplay in -lX11
configure:5400: gcc -o conftest -O2 -Wall      -L/usr/X11R6/lib
conftest.c -lX11    1>&5
/usr/X11R6/lib/libX11.a(Xrm.o): In function `ReadInFile':
Xrm.o(.text+0x1ac6): undefined reference to `_xstat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 5389 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XOpenDisplay();

int main() {
XOpenDisplay()
; return 0; }
----------------------------------

I recently installed GNU glibc-2.1.2 and gcc 2.95.2.  Looks like I broke
something.  Any clues?

Thanx in advance,

Paul Tyson



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