Subject: AW: Problem by Compiling X
To: 'Collin Baillie' <>
From: Sascha Valckenier Kips <>
List: port-alpha
Date: 06/28/2002 01:01:49
Hello Collin,

I have installed the System from the Release 1.5.

After them, i have via cvs xsrc and src checkout out.

Now i have build new kernel, and new userland from src.
Installed the new kernel and new userland, rebooting and have then build
the kernel and userland with new tools again.
After them i have one more rebooting.

Then i would build Xfree 4, with make USE_XFREE_4=3Dyes in the xsrc

I think the library X11 must be compiled in this step.

Have you any hints for me, what i can do ?


-----Urspr=FCngliche Nachricht-----
Von: Collin Baillie []=20
Gesendet: Freitag, 28. Juni 2002 00:13
An: 'Sascha Valckenier Kips'
Cc: ''
Betreff: RE: Problem by Compiling X


When you compile stuff with gcc, you can tell it to use specific
libraries. To do this you supply a command line argument such as "-lm"
(this says, use the maths library). -lX11 is telling gcc to use the X11
library. But it seems your gcc cannot find it.

I know it's not much help, but it's an explanation as to what is going
wrong. Stick around and someone else here may be able to give you a
better answer such as where the libraries should be, or what to look for
in the source distribution for X11 that may be making this fail.



-----Original Message-----
From: Sascha Valckenier Kips []
Sent: Friday, 28 June 2002 6:30 AM
Subject: Problem by Compiling X
Importance: High

I have build new kernel and userland.
Uname: NetBSD 1.6B NetBSD 1.6B (MYALPHA-$Revision: 1.0 $)
#0: Thu Jun 27 21:17:32 CEST 2002
Now i have try to build XFree 4.x on this machine.

After any time compiling, i have this become:

Full build of Release 6.6 of the X Window System complete.

making all in /usr/xsrc/local/programs...
making all in /usr/xsrc/local/programs/x11-ssh-askpass...
gcc -O2 -ansi -Dasm=3D__asm     -I../../../xfree/xc
-I../../../xfree/xc/exports/include   -DCSRG_BASED  -DFUNCPROTO=3D15
-DNARROWPROTO      -c x11-ssh-askpass.c
rm -f ssh-askpass
gcc -o ssh-askpass -O2 -ansi -Dasm=3D__asm =
drawing.o  dynlist.o  resources.o x11-ssh-askpass.o -lXt -lX11 -lSM
-lICE -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib
ld: cannot find -lX11
*** Error code 1

make: stopped in /usr/xsrc/local/programs/x11-ssh-askpass
making all in /usr/xsrc/local/programs/xftlsfonts...
rm -f xftlsfonts
gcc -o xftlsfonts -O2 -ansi -Dasm=3D__asm =
xftlsfonts.o -lXft -lXext -lX11
-L/usr/X11R6/lib     -Wl,-rpath,/usr/X11R6/lib
ld: cannot find -lX11
*** Error code 1

make: stopped in /usr/xsrc/local/programs/xftlsfonts
*** Error code 1

make: stopped in /usr/xsrc/local/programs
*** Error code 1

make: stopped in /usr/xsrc/local
*** Error code 1

make: stopped in /usr/xsrc

The ld cannot find -lX11, i think "-l" is a option an X11 is a file,
directory or type of linking.

Can anybody help me to correct this problem ?

I will use the Xfree 4 for a standart SVGA Card. I have not a tga card.