windowmaker 65 1 and _Xsetlocale

Suhaib Siddiqi ssiddiqi@inspirepharm.com
Wed Aug 22 04:11:00 GMT 2001


gcc: -lX11: linker input file unused because linking not done 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> /bin/sh ../../libtool --mode=link gcc  -g -O2 -lX11  -o connect  
> connect.o ../..
> /WINGs/libWUtil.a -L/usr/local/lib  -L/usr/X11R6/lib     -lPropList
> mkdir .libs
> gcc -g -O2 -lX11 -o connect connect.o ../../WINGs/libWUtil.a 
> -L/usr/local/lib -L
> /usr/X11R6/lib -lPropList

means linking is not done.  You need to figure out what is going on.
The symbol is libX11.a.  If it is not being resolved then you need to find
the problem...

Thanks
Suhaib


> -----Original Message-----
> From: ben [ mailto:ben@stonehenge-net.com ] 
> Sent: Wednesday, August 22, 2001 4:30 AM
> To: cygwin-xfree@sourceware.cygnus.com
> Subject: windowmaker 65 1 and _Xsetlocale
> 
> 
> hi, am trying to compile windowmaker, and am running  into the same 
> problem that magnetic ganish had on the 8th --  WINGS/wapplication.c 
> fails due to an undefined reference to _Xsetlocale.
> 
> have tried adding -lX11 in the Makefiles, and am still 
> getting the same 
> response.  is there anything else i should try, or should i 
> just get the 
> 65 sources and go from there?
> 
> thanks,
> 
> ben
> 
> ( relevant output from "make":)
> 
> Making all in Examples
> make[1]: Entering directory 
> `/cygdrive/c/temp/cygwin/WindowMaker-0.65.1/WINGs/Ex
> amples'
> gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../WINGs -I../../wrlib 
> -I../../src
>         -DRESOURCE_PATH=\"/usr/local/share/WINGs\" 
> -I/usr/local/include  
> -I/usr/
> X11R6/include -DDEBUG    -g -O2 -lX11 -c connect.c
> gcc: -lX11: linker input file unused because linking not done 
> /bin/sh ../../libtool --mode=link gcc  -g -O2 -lX11  -o connect  
> connect.o ../..
> /WINGs/libWUtil.a -L/usr/local/lib  -L/usr/X11R6/lib     -lPropList
> mkdir .libs
> gcc -g -O2 -lX11 -o connect connect.o ../../WINGs/libWUtil.a 
> -L/usr/local/lib -L
> /usr/X11R6/lib -lPropList
> ../../WINGs/libWUtil.a(wapplication.o): In function 
> `WMInitializeApplication':
> /cygdrive/c/temp/cygwin/WindowMaker-0.65.1/WINGs/wapplication.c:39: 
> undefined re
> ference to `_Xsetlocale'
> collect2: ld returned 1 exit status
> make[1]: *** [connect] Error 1
> make[1]: Leaving directory 
> `/cygdrive/c/temp/cygwin/WindowMaker-0.65.1/WINGs/Exa
> mples'
> make: *** [all-recursive] Error 1
> 



More information about the Cygwin-xfree mailing list