LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   error: redefinition of `GLXFBConfigSGIX' (https://www.linuxquestions.org/questions/linux-general-1/error-redefinition-of-%60glxfbconfigsgix-335737/)

kornerr 06-21-2005 09:08 AM

error: redefinition of `GLXFBConfigSGIX'
 
Code:

cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pent
ium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_BITS=64  -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
-I/usr/X11/include    -DMPG12PLAY  -o vo_gl.o vo_gl.c
In file included from /usr/X11/include/GL/glx.h:336,
                from gl_common.h:16,
                from vo_gl.c:17:
/usr/X11/include/GL/glxext.h:267: error: redefinition of `GLXFBConfigSGIX'
/usr/X11/include/GL/glx.h:156: error: `GLXFBConfigSGIX' previously declared here
make[1]: *** [vo_gl.o] Error 1
make[1]: Leaving directory `/home/local/app/MPlayer-1.0pre7/libvo'
make: *** [libvo/libvo.a] Error 2
make -C libvo
make[1]: Entering directory `/home/local/app/MPlayer-1.0pre7/libvo'
cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT-I/usr/X11/include    -DMPG12PLAY  -o vo_gl.o vo_gl.c
In file included from /usr/X11/include/GL/glx.h:336,
                from gl_common.h:16,
                from vo_gl.c:17:
/usr/X11/include/GL/glxext.h:267: error: redefinition of `GLXFBConfigSGIX'
/usr/X11/include/GL/glx.h:156: error: `GLXFBConfigSGIX' previously declared here
make[1]: *** [vo_gl.o] Error 1
make[1]: Leaving directory `/home/local/app/MPlayer-1.0pre7/libvo'
make: *** [libvo/libvo.a] Error 2

I have this while compiling xmms-1.2.10 or MPlayer-1.0pre7.
How can I get rid of it?

Thanks.

trickykid 06-22-2005 08:38 AM

Do you have the X dev packages installed?

kornerr 06-22-2005 09:47 AM

Ok, I've just installed x11-devel. Will try to compile again...

kornerr 06-22-2005 09:56 AM

Thanks, trickykid, now works.

Linux.tar.gz 07-08-2005 09:39 PM

Hi! I got the same problem compiling freeglut: http://freeglut.sourceforge.net
in order to install vdrift: http://vdrift.sourceforge.net
The x11-devel package is installed.

trickykid 07-08-2005 10:03 PM

Quote:

Originally posted by Linux.tar.gz
Hi! I got the same problem compiling freeglut: http://freeglut.sourceforge.net
in order to install vdrift: http://vdrift.sourceforge.net
The x11-devel package is installed.

Exact error messages always help.. ;)

Linux.tar.gz 07-09-2005 11:15 AM

:D
bash-3.00$ make
make all-recursive
make[1]: Entering directory `/home/def/freeglut-2.4.0/freeglut-2.4.0'
Making all in src
make[2]: Entering directory `/home/def/freeglut-2.4.0/freeglut-2.4.0/src'
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -g -O2 -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c
rm -f .libs/libglut_la-freeglut_callbacks.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -g -O2 -Wall -pedantic -Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC -o .libs/libglut_la-freeglut_callbacks.lo
In file included from /usr/X11R6/include/GL/glx.h:336,
from freeglut_internal.h:95,
from freeglut_callbacks.c:29:
/usr/X11R6/include/GL/glxext.h:267: error: redefinition of `GLXFBConfigSGIX'
/usr/X11R6/include/GL/glx.h:156: error: `GLXFBConfigSGIX' previously declared here
make[2]: *** [libglut_la-freeglut_callbacks.lo] Erreur 1
make[2]: Leaving directory `/home/def/freeglut-2.4.0/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/def/freeglut-2.4.0/freeglut-2.4.0'
make: *** [all] Erreur 2


All times are GMT -5. The time now is 05:10 PM.