[FreeNX-kNX] Building NX on SLES9

Justin Grote justin at grote.name
Tue Mar 7 23:50:23 UTC 2006


Greetings,

I'm building NX on SLES9. I'm stuck on a simple library error while 
building nx-X11:

gcc -m32 -o nxagent -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 
-fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef     
-L../../exports/lib   hw/nxagent/miinitext.o               
hw/nxagent/NXwindow.o               hw/nxagent/NXevents.o               
hw/nxagent/NXproperty.o               
hw/nxagent/NXmiwindow.o               
hw/nxagent/NXdixfonts.o               
hw/nxagent/NXglyphcurs.o               
hw/nxagent/NXdispatch.o               
hw/nxagent/NXrender.o               hw/nxagent/NXglyph.o               
hw/nxagent/NXpicture.o               hw/nxagent/NXextension.o          
dix/libdix.a os/libos.a ../../exports/lib/libXau.a 
../../exports/lib/libXdmcp.a  hw/nxagent/libnxagent.a fb/libfb.a 
dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a 
Xi/libxinput.a                     dbe/libdbe.a 
record/librecord.a                    XTrap/libxtrap.a  
GL/glx/libglx.a                GL/mesa/GLcore/libGLcore.a                
GL/dri/libdri.a randr/librandr.a                   render/librender.a 
hw/nxagent/libnxagent.a mi/libmi.a       ../../lib/font/libXfont.a 
../../lib/freetype2/libfreetype.a dix/libxpstubs.a  
-L../../exports/lib   -lXext -lX11 -lz -lm                       -lXpm 
-Wl,-rpath-link,../../../nxcomp 
-Wl,-rpath-link,../../../nxcompext,-lXrender 
-Wl,-rpath-link,../../exports/lib
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: 
cannot find -lXext
collect2: ld returned 1 exit status

I checked the exports/lib directory and found a broken symbolic link to 
the Xext library within the same directory:

libXext.so.6 -> ../../lib/Xext/libXext.so.6

I noted elsewhere that you need X to be installed, but I tried this 
command and got stuck at the same point:

export LD_LIBRARY_PATH="/usr/X11/lib";make World

How do I add my /usr/X11/lib folder to the library include list so it 
can find the library to continue building? This feels like such a noob 
question, but I couldn't find an answer after looking around.

-- 
Justin Grote
Network Architect
JWG Networks




More information about the FreeNX-kNX mailing list