This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> / Suhaib Siddiqi <ssiddiqi@inspirepharm.com> wrote: > | The _Xsetlocale symbol is in libX11.a(dll) therefore it > should compile > | and resolve. I think it is a linking issue. > > Yep linking/configuration issue it seems: > > First of all, why is -lX11 included in compilation?? > 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 > > Secondly to final linkage.. > > 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 reference to `_Xsetlocale' > collect2: ld returned 1 exit status > make[1]: *** [connect] Error 1 > make[1]: Leaving directory > > Why are -lX11 FIRST in the command line?? It gets ignored > because gcc aren't missing any of the symbols in it.. Poorly written configure and Makefile.in etc Suhaib > > Is it the windowmaker configuration that are wrong, or some > messup when configuring for cygwin-xfree?? > > Ben, try to do that command-line but add -lX11 to the end of > the compilation line. >
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |