LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-21-2005, 09:08 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
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.
 
Old 06-22-2005, 08:38 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Do you have the X dev packages installed?
 
Old 06-22-2005, 09:47 AM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Ok, I've just installed x11-devel. Will try to compile again...
 
Old 06-22-2005, 09:56 AM   #4
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Thanks, trickykid, now works.
 
Old 07-08-2005, 09:39 PM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
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.

Last edited by Linux.tar.gz; 07-08-2005 at 09:40 PM.
 
Old 07-08-2005, 10:03 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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..
 
Old 07-09-2005, 11:15 AM   #7
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
updating new installation of 9.3 ERROR...ERROR...ERROR Morbid SUSE / openSUSE 3 08-15-2005 11:22 PM
Redefinition error when building 2.6.9 kernel with acpi asmund1 Linux - Laptop and Netbook 2 12-05-2004 02:18 PM
QMAIL error:554 Transaction failed: message format error mpk25 Linux - Software 1 10-15-2004 12:53 PM
Yet another zsnes make problem...in slack 9.1...redefinition probs cbreeze34 Linux - Software 0 11-29-2003 09:07 PM
cdrecord inupt/output error. write_g1: scsi sendcmd: no error lucstuk Linux - Software 9 08-09-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration