graphics/mesa-demos problem after nvidia driver installation

Petr Holub hopet at ics.muni.cz
Mon Jun 4 14:52:43 UTC 2007


Hi all,

I've encountered the following problem: when installing
graphics/mesa-demos
after x11/nvidia-driver is installed, I get the following
error during the compilation:

cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM -DHZ=100 -O2
-fno-strict-aliasing -pipe  -DPTHREADS  glxheads.c -L/usr/local/lib -lglut -lGLU
 -lGL -lXext -lXmu -lXi -lX11 -lm -pthread -o glxheads
/usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may conflict
 with libm.so.4
cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM -DHZ=100 -O2
-fno-strict-aliasing -pipe  -DPTHREADS  glxinfo.c -L/usr/local/lib -lglut -lGLU
-lGL -lXext -lXmu -lXi -lX11 -lm -pthread -o glxinfo
/usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may conflict
 with libm.so.4
cc -I../../include -fPIC -pedantic -I/usr/local/include -DUSE_XSHM -DHZ=100 -O2
-fno-strict-aliasing -pipe  -DPTHREADS  glxpixmap.c -L/usr/local/lib -lglut -lGL
U -lGL -lXext -lXmu -lXi -lX11 -lm -pthread -o glxpixmap
/usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may conflict
 with libm.so.4
/var/tmp//ccICDhDa.o(.text+0x22d): In function `main':
: undefined reference to `glXCreateGLXPixmapMESA'
gmake[1]: *** [glxpixmap] Error 1


If the graphics/mesa-demos is installed before the nvidia-driver or after
deinstalling the nvidia-driver, it compiles fine (though I haven't actually
tested it works yet).

Petr



More information about the freebsd-x11 mailing list