compile error

Simon Čahuk simon.cahuk at gmail.com
Wed Feb 15 07:23:30 PST 2006


I get this error:
gcc -DXGLServer -DXFree86Server -DHAVE_XGL_CONFIG_H -DHAVE_DIX_CONFIG_H 
-I../../GL/glx -I../../GL/include -I/home/simon/src/modular/Mesa/include 
-I/home/simon/src/modular/Mesa/src/mesa/glapi -I/opt/include -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE 
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/include -I../../include 
-I../../include -I../../Xext -I../../composite -I../../damageext 
-I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow 
-I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -o Xgl 
xglinit.o miinitext.o dpmsstubs.o stubs.o fbcmap.o -Wl,--export-dynamic  
libxgl.a ../../dix/.libs/libdix.a 
-L/opt/lib /opt/lib/libXfont.so /usr/lib/libfreetype.so /opt/lib/libXau.so /opt/lib/libfontenc.so /opt/lib/libXdmcp.so 
-lz ../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../../composite/.libs/libcomposite.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXext.a ../../dbe/.libs/libdbe.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libcwrapper.a ../../os/.libs/libos.a 
-ldl /opt/lib/libglitz.so -lm -Wl,--rpath -Wl,/opt/lib -Wl,--rpath 
-Wl,/opt/lib
libxgl.a(xglcmap.o): In function `xglSetVisualTypes':
/home/simon/src/modular/xserver/xorg/hw/xgl/xglcmap.c:156: undefined reference 
to `fbSetVisualTypesAndMasks'
/home/simon/src/modular/xserver/xorg/hw/xgl/xglcmap.c:163: undefined reference 
to `fbSetVisualTypesAndMasks'
collect2: ld returned 1 exit status
make[3]: *** [Xgl] Error 1
make[3]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw/xgl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw/xgl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/simon/src/modular/xserver/xorg/hw'
make: *** [all-recursive] Error 1
 

Latest Mesa CVS, glitz CVS and and xgl-0-0-1 branch. 

Simon



More information about the xorg mailing list