Error compiling linux-solo

Nicola Squartini tensor5 at gmail.com
Mon Jun 13 02:59:29 PDT 2005


make linux-solo

....

gcc -c -I../../../../../src/glx/mini
-I../../../../../../drm/shared-core -I../../../../../../drm/libdrm -I.
-I../../../../../src/mesa/drivers/dri/common -Iserver
-I../../../../../../drm/shared-core -I../../../../../include
-I../../../../../include/GL/internal -I../../../../../src/mesa
-I../../../../../src/mesa/main -I../../../../../src/mesa/glapi
-I../../../../../src/mesa/math -I../../../../../src/mesa/transform
-I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast
-I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main
-Wall -Wundef -O3 -fomit-frame-pointer -march=athlon64 -fPIC 
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC  -std=c99 -ffast-math
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DDRI_NEW_INTERFACE_ONLY -DPTHREADS
-DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC fb_egl.c -o fb_egl.o
fb_egl.c: In function `fbSwapBuffers':
fb_egl.c:840: warning: control reaches end of non-void function
rm -f fb_dri.so
gcc  -o fb_dri.so -shared ../../common/driverfuncs.o ../common/mm.o
../common/utils.o ../common/texmem.o ../common/vblank.o
../common/dri_util.o ../common/xmlconfig.o ../common/drirenderbuffer.o
../common/glcontextmodes.o fb_dri.o fb_egl.o   
../../../../../src/mesa/mesa.a  -lm -lpthread -lexpat -ldl
-L../../../../../lib -lEGL -lGL
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[6]: *** [fb_dri.so] Error 1
make[6]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa/src/mesa/drivers/dri/fb'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa/src/mesa/drivers/dri'
make[4]: *** [drivers-dri] Error 2
make[4]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/mnt/nfs/rpm/BUILD/Mesa'
make: *** [linux-solo] Error 2



Does libEGL depend on libGL? As far as I know libGL depends on libX11,
so libEGL will also be dependent on libX11.


More information about the dri-egl mailing list