Hi Xperts,

When I try to compile Xfree 4.2.0 with gcc 3.0.4 I get the following error, 
during make install:

making all in programs/glxinfo...
make[4]: Entering directory 
`/opt/Package-source/TARBALLS/XFree/xc/programs/glxinfo'
rm -f glxinfo
gcc -o glxinfo -O3 -mcpu=athlon -march=athlon -ansi -pedantic -Wall 
-Wpointer-arith     -L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11  
-lpthread -lm   -Wl,-rpath-link,../../exports/lib
../../exports/lib/libGLU.so: undefined reference to `swap(void**, int, int)'
collect2: ld returned 1 exit status
make[4]: *** [glxinfo] Error 1

The make World part seems to work ok.

I've found a simmilar report in your Mail archive, but saidly, there wasn't a 
reply.

What can I do, to get around this problem, I've heard quite a few reports 
that said X 4 would compile with gcc 3.

Another thing which doesn't work, (but isn't as important), is that I can't 
get Joystick support to work compile properly, the error message here is
 (at make install stage):

rm -f lnx_jstk.o
gcc -c -O3 -mcpu=athlon -march=athlon -ansi -pedantic -Wall -Wpointer-arith   
 -I../../../../../../programs/Xserver/hw/xfree86/common 
-I../../../../../../programs/Xserver/hw/xfree86/os-support -I. 
-I../../../../../../programs/Xserver/include            
-I../../../../../../exports/include/X11 
-I../../../../../../include/extensions 
-I../../../../../../programs/Xserver/hw/xfree86/os-support/shared  
-I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  
-DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA 
-DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  
-DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  
-DFUNCPROTO=15 -DNARROWPROTO   -DHAS_MTRR_SUPPORT -DUSESTDRES -DHAVE_SYSV_IPC 
  lnx_jstk.c
In file included from 
../../../../../../programs/Xserver/hw/xfree86/common/xf86.h:17,
                 from lnx_jstk.c:40:
../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:250: warning: 
comma at end of enumerator list
../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:250: parse 
error before numeric constant
../../../../../../programs/Xserver/hw/xfree86/common/xf86str.h:251: warning: 
comma at end of enumerator list
lnx_jstk.c: In function `linux_jstkModuleInit':
lnx_jstk.c:179: `MAGIC_DONE' undeclared (first use in this function)
lnx_jstk.c:179: (Each undeclared identifier is reported only once
lnx_jstk.c:179: for each function it appears in.)
make[6]: *** [lnx_jstk.o] Error 1
make[6]: Leaving directory 
`/opt/Package-source/TARBALLS/XFree/xc/programs/Xserver/hw/xfree86/os-support/linux'

I 've build a Kernel with Joystick support. Is there anything I (could) have 
missed?

Thanks in Advance

Fabio


















_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to