Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6417 - Celestia 1.2.4 Broken
Summary: Celestia 1.2.4 Broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-13 14:06 UTC by Michael Weichert
Modified: 2003-04-04 01:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
celestia-gcc3.patch (celestia-gcc3.patch,4.47 KB, text/plain)
2002-10-14 00:46 UTC, Bret Towe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weichert 2002-08-13 14:06:44 UTC
I get the following errors when merging Celestia-1.2.4:


starbrowser.h: At global scope:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter `Pred'
starbrowser.cpp:94: parse error before `,' token
starbrowser.cpp:95: ISO C++ forbids declaration of `findStars' with no type
starbrowser.cpp: In function `int* findStars(...)':
starbrowser.cpp:96: `vector' undeclared (first use this function)
starbrowser.cpp:96: (Each undeclared identifier is reported only once for each
function it appears in.)
starbrowser.cpp:96: parse error before `*' token
starbrowser.cpp:97: `nStars' undeclared (first use this function)
starbrowser.cpp:98: `finalStars' undeclared (first use this function)
starbrowser.cpp:102: `Pred' undeclared (first use this function)
starbrowser.cpp:102: ISO C++ forbids declaration of `multiset' with no type
starbrowser.cpp:102: template-id `multiset<const Star*, <expression error> >'
used as a declarator
starbrowser.cpp:102: parse error before `;' token
starbrowser.cpp:103: `StarSet' undeclared (first use this function)
starbrowser.cpp:105: `stardb' undeclared (first use this function)
starbrowser.cpp:113: `firstStars' undeclared (first use this function)
starbrowser.cpp:122: `pred' undeclared (first use this function)
starbrowser.cpp:132: parse error before `::' token
starbrowser.cpp:133: `iter' undeclared (first use this function)
starbrowser.cpp: In member function `const Star* StarBrowser::nearestStar()':
starbrowser.cpp:147: parse error before `*' token
starbrowser.cpp:148: `stars' undeclared (first use this function)
starbrowser.cpp:144: warning: unused variable `Universe*univ'
starbrowser.cpp: At global scope:
starbrowser.cpp:154: syntax error before `*' token
starbrowser.cpp:163: syntax error before `.' token
starbrowser.cpp:164: syntax error before `.' token
starbrowser.cpp:182: syntax error before `.' token
starbrowser.cpp:183: syntax error before `.' token
starbrowser.cpp:193: syntax error before `.' token
make[3]: *** [starbrowser.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -20, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-misc/celestia/celestia-1.2.4.ebuild .


Originally, I was receiving errors, but that's because I was using the nvidia
opengl interface, and had to do 'opengl-update xfree' to fix it.

Regards,
Michael Weichert
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2002-08-17 01:37:15 UTC
Hi Michael

Thanks for the bug report.

However I cannot reproduce the problem. Could you please provide some more
information?
Such as:
1. your rpofile (default-1.0, default-x86-2.0 etc.)
2. gcc version, your CHOST, C[XX]FLAGS settings
3. what video card/drivers are you using (were you using nvidia drivers at that
point)?
Anything else that seems relevant.

George
Comment 2 Bret Towe 2002-08-23 22:57:19 UTC
i have this bug also 
it seems to be a gcc 3 bug
Comment 3 Peter Ruskin 2002-09-05 09:42:35 UTC
I get it too, on 1.4beta with gcc-3.2:
# CFLAGS="-march=i686 -O3 -pipe" emerg celestia
Calculating dependencies ...done!
>>> emerge app-misc/celestia-1.2.4 to /
>>> md5 ;-) celestia-1.2.4.tar.gz
>>> Unpacking source...
>>> Unpacking celestia-1.2.4.tar.gz
>>> Source unpacked.
gtk
gnome
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... yes
checking whether the C compiler (gcc -march=i686 -O3 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -march=athlon-xp -O3 -mfpmath=sse -pipe )
works... yes
checking whether the C++ compiler (c++ -march=athlon-xp -O3 -mfpmath=sse -pipe )
is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to disable GTK.... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... yes
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking for png_create_info_struct in -lpng... yes
checking for ANSI C header files... yes
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
checking whether we can create a new star database... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/celutil/Makefile
creating src/celmath/Makefile
creating src/cel3ds/Makefile
creating src/celtxf/Makefile
creating src/celengine/Makefile
creating src/celestia/Makefile
creating data/Makefile
creating extras/Makefile
creating textures/Makefile
creating textures/lores/Makefile
creating textures/medres/Makefile
creating textures/hires/Makefile
creating models/Makefile
creating shaders/Makefile
creating fonts/Makefile
creating src/celestia/res/Makefile
creating macros/Makefile
creating manual/Makefile
creating config.h


********************************************************************
*** Celestia configuration complete. Now do a 'make' followed    ***
*** by 'make install'                                            ***
********************************************************************


cd . && autoheader
configure.in:239: warning: AC_TRY_RUN called without default to allow cross
compiling
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4'
Making all in src
make[2]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src'
Making all in celutil
make[3]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celutil'
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c color.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c bigfix.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c debug.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c filetype.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c util.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c unixdirectory.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c unixtimer.cpp
rm -f libcelutil.a
ar cru libcelutil.a bigfix.o color.o debug.o filetype.o util.o unixdirectory.o
unixtimer.o
ranlib libcelutil.a
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celutil'
Making all in celmath
make[3]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celmath'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c frustum.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c perlin.cpp
rm -f libcelmath.a
ar cru libcelmath.a frustum.o perlin.o
ranlib libcelmath.a
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celmath'
Making all in cel3ds
make[3]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/cel3ds'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsmodel.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsread.cpp
rm -f libcel3ds.a
ar cru libcel3ds.a 3dsmodel.o 3dsread.o
ranlib libcel3ds.a
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/cel3ds'
Making all in celtxf
make[3]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celtxf'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c texturefont.cpp
In file included from ../celengine/gl.h:34,
                 from texturefont.cpp:20:
/usr/X11R6/include/GL/gl.h:60:1: warning: "GL_ARB_multitexture" redefined
In file included from texturefont.cpp:20:
../celengine/gl.h:33:1: warning: this is the location of the previous definition
rm -f libceltxf.a
ar cru libceltxf.a texturefont.o
ranlib libceltxf.a
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celtxf'
Making all in celengine
make[3]: Entering directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celengine'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c asterism.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsmesh.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c astro.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c body.cpp
In file included from gl.h:34,
                 from 3dsmesh.cpp:12:
/usr/X11R6/include/GL/gl.h:60:1: warning: "GL_ARB_multitexture" redefined
In file included from 3dsmesh.cpp:12:
gl.h:33:1: warning: this is the location of the previous definition
In file included from 3dsmesh.cpp:13:
glext.h:63: `void (*glCompressedTexImage3DARB)(unsigned int, int, unsigned int,
   int, int, int, int, int, const GLvoid*)' redeclared as different kind of
   symbol
/usr/X11R6/include/GL/gl.h:2173: previous declaration of `void
   glCompressedTexImage3DARB(unsigned int, int, unsigned int, int, int, int,
   int, int, const GLvoid*)'
glext.h:64: `void (*glCompressedTexImage2DARB)(unsigned int, int, unsigned int,
   int, int, int, int, const GLvoid*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2171: previous declaration of `void
   glCompressedTexImage2DARB(unsigned int, int, unsigned int, int, int, int,
   int, const GLvoid*)'
glext.h:65: `void (*glCompressedTexImage1DARB)(unsigned int, int, unsigned int,
   int, int, int, const GLvoid*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2169: previous declaration of `void
   glCompressedTexImage1DARB(unsigned int, int, unsigned int, int, int, int,
   const GLvoid*)'
glext.h:66: `void (*glCompressedTexSubImage3DARB)(unsigned int, int, int, int,
   int, int, int, int, unsigned int, int, const GLvoid*)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2179: previous declaration of `void
   glCompressedTexSubImage3DARB(unsigned int, int, int, int, int, int, int,
   int, unsigned int, int, const GLvoid*)'
glext.h:67: `void (*glCompressedTexSubImage2DARB)(unsigned int, int, int, int,
   int, int, unsigned int, int, const GLvoid*)' redeclared as different kind of
   symbol
/usr/X11R6/include/GL/gl.h:2177: previous declaration of `void
   glCompressedTexSubImage2DARB(unsigned int, int, int, int, int, int, unsigned
   int, int, const GLvoid*)'
glext.h:68: `void (*glCompressedTexSubImage1DARB)(unsigned int, int, int, int,
   unsigned int, int, const GLvoid*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2175: previous declaration of `void
   glCompressedTexSubImage1DARB(unsigned int, int, int, int, unsigned int, int,
   const GLvoid*)'
glext.h:126: `void (*glMultiTexCoord2iARB)(unsigned int, int, int)' redeclared
   as different kind of symbol
/usr/X11R6/include/GL/gl.h:2449: previous declaration of `void
   glMultiTexCoord2iARB(unsigned int, int, int)'
glext.h:127: `void (*glMultiTexCoord2fARB)(unsigned int, float, float)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2443: previous declaration of `void
   glMultiTexCoord2fARB(unsigned int, float, float)'
glext.h:128: `void (*glMultiTexCoord3fARB)(unsigned int, float, float, float)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2467: previous declaration of `void
   glMultiTexCoord3fARB(unsigned int, float, float, float)'
glext.h:129: `void (*glMultiTexCoord3fvARB)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2470: previous declaration of `void
   glMultiTexCoord3fvARB(unsigned int, const GLfloat*)'
glext.h:130: `void (*glActiveTextureARB)(unsigned int)' redeclared as different
   kind of symbol
/usr/X11R6/include/GL/gl.h:2089: previous declaration of `void
   glActiveTextureARB(unsigned int)'
glext.h:131: `void (*glClientActiveTextureARB)(unsigned int)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2117: previous declaration of `void
   glClientActiveTextureARB(unsigned int)'
glext.h:288: `void (*glCombinerParameterfvNV)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2164: previous declaration of `void
   glCombinerParameterfvNV(unsigned int, const GLfloat*)'
glext.h:289: `void (*glCombinerParameterivNV)(unsigned int, const GLint*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2166: previous declaration of `void
   glCombinerParameterivNV(unsigned int, const GLint*)'
glext.h:290: `void (*glCombinerParameterfNV)(unsigned int, float)' redeclared
   as different kind of symbol
/usr/X11R6/include/GL/gl.h:2163: previous declaration of `void
   glCombinerParameterfNV(unsigned int, float)'
glext.h:291: `void (*glCombinerParameteriNV)(unsigned int, int)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2165: previous declaration of `void
   glCombinerParameteriNV(unsigned int, int)'
glext.h:292: `void (*glCombinerInputNV)(unsigned int, unsigned int, unsigned
   int, unsigned int, unsigned int, unsigned int)' redeclared as different kind
   of symbol
/usr/X11R6/include/GL/gl.h:2161: previous declaration of `void
   glCombinerInputNV(unsigned int, unsigned int, unsigned int, unsigned int,
   unsigned int, unsigned int)'
glext.h:293: `void (*glCombinerOutputNV)(unsigned int, unsigned int, unsigned
   int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned char,
   unsigned char, unsigned char)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2162: previous declaration of `void
   glCombinerOutputNV(unsigned int, unsigned int, unsigned int, unsigned int,
   unsigned int, unsigned int, unsigned int, unsigned char, unsigned char,
   unsigned char)'
glext.h:294: `void (*glFinalCombinerInputNV)(unsigned int, unsigned int,
   unsigned int, unsigned int)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2241: previous declaration of `void
   glFinalCombinerInputNV(unsigned int, unsigned int, unsigned int, unsigned
   int)'
glext.h:295: `void (*glGetCombinerInputParameterfvNV)(unsigned int, unsigned
   int, unsigned int, unsigned int, GLfloat*)' redeclared as different kind of
   symbol
/usr/X11R6/include/GL/gl.h:2273: previous declaration of `void
   glGetCombinerInputParameterfvNV(unsigned int, unsigned int, unsigned int,
   unsigned int, GLfloat*)'
glext.h:296: `void (*glGetCombinerInputParameterivNV)(unsigned int, unsigned
   int, unsigned int, unsigned int, GLint*)' redeclared as different kind of
   symbol
/usr/X11R6/include/GL/gl.h:2274: previous declaration of `void
   glGetCombinerInputParameterivNV(unsigned int, unsigned int, unsigned int,
   unsigned int, GLint*)'
glext.h:297: `void (*glGetCombinerOutputParameterfvNV)(unsigned int, unsigned
   int, unsigned int, GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2275: previous declaration of `void
   glGetCombinerOutputParameterfvNV(unsigned int, unsigned int, unsigned int,
   GLfloat*)'
glext.h:298: `void (*glGetCombinerOutputParameterivNV)(unsigned int, unsigned
   int, unsigned int, GLint*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2276: previous declaration of `void
   glGetCombinerOutputParameterivNV(unsigned int, unsigned int, unsigned int,
   GLint*)'
glext.h:299: `void (*glGetFinalCombinerInputParameterfvNV)(unsigned int,
   unsigned int, GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2286: previous declaration of `void
   glGetFinalCombinerInputParameterfvNV(unsigned int, unsigned int, GLfloat*)'
glext.h:300: `void (*glGetFinalCombinerInputParameterivNV)(unsigned int,
   unsigned int, GLint*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2287: previous declaration of `void
   glGetFinalCombinerInputParameterivNV(unsigned int, unsigned int, GLint*)'
glext.h:544: `GLboolean (*glAreProgramsResidentNV)(int, const GLuint*,
   GLboolean*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2092: previous declaration of `GLboolean
   glAreProgramsResidentNV(int, const GLuint*, GLboolean*)'
glext.h:545: `void (*glBindProgramNV)(unsigned int, unsigned int)' redeclared
   as different kind of symbol
/usr/X11R6/include/GL/gl.h:2099: previous declaration of `void
   glBindProgramNV(unsigned int, unsigned int)'
glext.h:546: `void (*glDeleteProgramsNV)(int, const GLuint*)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2201: previous declaration of `void
   glDeleteProgramsNV(int, const GLuint*)'
glext.h:547: `void (*glExecuteProgramNV)(unsigned int, unsigned int, const
   GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2239: previous declaration of `void
   glExecuteProgramNV(unsigned int, unsigned int, const GLfloat*)'
glext.h:548: `void (*glGenProgramsNV)(int, GLuint*)' redeclared as different
   kind of symbol
/usr/X11R6/include/GL/gl.h:2262: previous declaration of `void
   glGenProgramsNV(int, GLuint*)'
glext.h:549: `void (*glGetProgramParameterdvNV)(unsigned int, unsigned int,
   unsigned int, GLdouble*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2320: previous declaration of `void
   glGetProgramParameterdvNV(unsigned int, unsigned int, unsigned int,
   GLdouble*)'
glext.h:550: `void (*glGetProgramParameterfvNV)(unsigned int, unsigned int,
   unsigned int, GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2321: previous declaration of `void
   glGetProgramParameterfvNV(unsigned int, unsigned int, unsigned int,
   GLfloat*)'
glext.h:551: `void (*glGetProgramivNV)(unsigned int, unsigned int, GLint*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2323: previous declaration of `void
   glGetProgramivNV(unsigned int, unsigned int, GLint*)'
glext.h:552: `void (*glGetProgramStringNV)(unsigned int, unsigned int,
   GLubyte*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2322: previous declaration of `void
   glGetProgramStringNV(unsigned int, unsigned int, GLubyte*)'
glext.h:553: `void (*glGetTrackMatrixivNV)(unsigned int, unsigned int, unsigned
   int, GLint*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2336: previous declaration of `void
   glGetTrackMatrixivNV(unsigned int, unsigned int, unsigned int, GLint*)'
glext.h:554: `void (*glGetVertexAttribdvNV)(unsigned int, unsigned int,
   GLdouble*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2338: previous declaration of `void
   glGetVertexAttribdvNV(unsigned int, unsigned int, GLdouble*)'
glext.h:555: `void (*glGetVertexAttribfvNV)(unsigned int, unsigned int,
   GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2339: previous declaration of `void
   glGetVertexAttribfvNV(unsigned int, unsigned int, GLfloat*)'
glext.h:556: `void (*glGetVertexAttribivNV)(unsigned int, unsigned int, GLint*)
   ' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2340: previous declaration of `void
   glGetVertexAttribivNV(unsigned int, unsigned int, GLint*)'
glext.h:557: `void (*glGetVertexAttribPointervNV)(unsigned int, unsigned int,
   GLvoid**)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2337: previous declaration of `void
   glGetVertexAttribPointervNV(unsigned int, unsigned int, GLvoid**)'
glext.h:558: `GLboolean (*glIsProgramNV)(unsigned int)' redeclared as different
   kind of symbol
/usr/X11R6/include/GL/gl.h:2362: previous declaration of `GLboolean
   glIsProgramNV(unsigned int)'
glext.h:559: `void (*glLoadProgramNV)(unsigned int, unsigned int, int, const
   GLubyte*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2380: previous declaration of `void
   glLoadProgramNV(unsigned int, unsigned int, int, const GLubyte*)'
glext.h:560: `void (*glProgramParameter4dNV)(unsigned int, unsigned int,
   double, double, double, double)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2551: previous declaration of `void
   glProgramParameter4dNV(unsigned int, unsigned int, double, double, double,
   double)'
glext.h:561: `void (*glProgramParameter4dvNV)(unsigned int, unsigned int, const
   GLdouble*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2552: previous declaration of `void
   glProgramParameter4dvNV(unsigned int, unsigned int, const GLdouble*)'
glext.h:562: `void (*glProgramParameter4fNV)(unsigned int, unsigned int, float,
   float, float, float)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2553: previous declaration of `void
   glProgramParameter4fNV(unsigned int, unsigned int, float, float, float,
   float)'
glext.h:563: `void (*glProgramParameter4fvNV)(unsigned int, unsigned int, const
   GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2554: previous declaration of `void
   glProgramParameter4fvNV(unsigned int, unsigned int, const GLfloat*)'
glext.h:564: `void (*glProgramParameters4dvNV)(unsigned int, unsigned int,
   unsigned int, const GLdouble*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2559: previous declaration of `void
   glProgramParameters4dvNV(unsigned int, unsigned int, int, const GLdouble*)'
glext.h:565: `void (*glProgramParameters4fvNV)(unsigned int, unsigned int,
   unsigned int, const GLfloat*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2560: previous declaration of `void
   glProgramParameters4fvNV(unsigned int, unsigned int, int, const GLfloat*)'
glext.h:566: `void (*glRequestResidentProgramsNV)(int, const GLuint*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2603: previous declaration of `void
   glRequestResidentProgramsNV(int, const GLuint*)'
glext.h:567: `void (*glTrackMatrixNV)(unsigned int, unsigned int, unsigned int,
   unsigned int)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2698: previous declaration of `void
   glTrackMatrixNV(unsigned int, unsigned int, unsigned int, unsigned int)'
glext.h:568: `void (*glVertexAttribPointerNV)(unsigned int, int, unsigned int,
   int, const GLvoid*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2754: previous declaration of `void
   glVertexAttribPointerNV(unsigned int, int, unsigned int, int, const GLvoid*)
   '
glext.h:569: `void (*glVertexAttrib1dNV)(unsigned int, double)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2728: previous declaration of `void
   glVertexAttrib1dNV(unsigned int, double)'
glext.h:570: `void (*glVertexAttrib1dvNV)(unsigned int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2729: previous declaration of `void
   glVertexAttrib1dvNV(unsigned int, const GLdouble*)'
glext.h:571: `void (*glVertexAttrib1fNV)(unsigned int, float)' redeclared as
   different kind of symbol
/usr/X11R6/include/GL/gl.h:2730: previous declaration of `void
   glVertexAttrib1fNV(unsigned int, float)'
glext.h:572: `void (*glVertexAttrib1fvNV)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2731: previous declaration of `void
   glVertexAttrib1fvNV(unsigned int, const GLfloat*)'
glext.h:573: `void (*glVertexAttrib1sNV)(unsigned int, short int)' redeclared
   as different kind of symbol
/usr/X11R6/include/GL/gl.h:2732: previous declaration of `void
   glVertexAttrib1sNV(unsigned int, short int)'
glext.h:574: `void (*glVertexAttrib1svNV)(unsigned int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2733: previous declaration of `void
   glVertexAttrib1svNV(unsigned int, const GLshort*)'
glext.h:575: `void (*glVertexAttrib2dNV)(unsigned int, double, double)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2734: previous declaration of `void
   glVertexAttrib2dNV(unsigned int, double, double)'
glext.h:576: `void (*glVertexAttrib2dvNV)(unsigned int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2735: previous declaration of `void
   glVertexAttrib2dvNV(unsigned int, const GLdouble*)'
glext.h:577: `void (*glVertexAttrib2fNV)(unsigned int, float, float)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2736: previous declaration of `void
   glVertexAttrib2fNV(unsigned int, float, float)'
glext.h:578: `void (*glVertexAttrib2fvNV)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2737: previous declaration of `void
   glVertexAttrib2fvNV(unsigned int, const GLfloat*)'
glext.h:579: `void (*glVertexAttrib2sNV)(unsigned int, short int, short int)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2738: previous declaration of `void
   glVertexAttrib2sNV(unsigned int, short int, short int)'
glext.h:580: `void (*glVertexAttrib2svNV)(unsigned int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2739: previous declaration of `void
   glVertexAttrib2svNV(unsigned int, const GLshort*)'
glext.h:581: `void (*glVertexAttrib3dNV)(unsigned int, double, double, double)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2740: previous declaration of `void
   glVertexAttrib3dNV(unsigned int, double, double, double)'
glext.h:582: `void (*glVertexAttrib3dvNV)(unsigned int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2741: previous declaration of `void
   glVertexAttrib3dvNV(unsigned int, const GLdouble*)'
glext.h:583: `void (*glVertexAttrib3fNV)(unsigned int, float, float, float)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2742: previous declaration of `void
   glVertexAttrib3fNV(unsigned int, float, float, float)'
glext.h:584: `void (*glVertexAttrib3fvNV)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2743: previous declaration of `void
   glVertexAttrib3fvNV(unsigned int, const GLfloat*)'
glext.h:585: `void (*glVertexAttrib3sNV)(unsigned int, short int, short int,
   short int)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2744: previous declaration of `void
   glVertexAttrib3sNV(unsigned int, short int, short int, short int)'
glext.h:586: `void (*glVertexAttrib3svNV)(unsigned int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2745: previous declaration of `void
   glVertexAttrib3svNV(unsigned int, const GLshort*)'
glext.h:587: `void (*glVertexAttrib4dNV)(unsigned int, double, double, double,
   double)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2746: previous declaration of `void
   glVertexAttrib4dNV(unsigned int, double, double, double, double)'
glext.h:588: `void (*glVertexAttrib4dvNV)(unsigned int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2747: previous declaration of `void
   glVertexAttrib4dvNV(unsigned int, const GLdouble*)'
glext.h:589: `void (*glVertexAttrib4fNV)(unsigned int, float, float, float,
   float)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2748: previous declaration of `void
   glVertexAttrib4fNV(unsigned int, float, float, float, float)'
glext.h:590: `void (*glVertexAttrib4fvNV)(unsigned int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2749: previous declaration of `void
   glVertexAttrib4fvNV(unsigned int, const GLfloat*)'
glext.h:591: `void (*glVertexAttrib4sNV)(unsigned int, short int, short int,
   short int, short int)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2750: previous declaration of `void
   glVertexAttrib4sNV(unsigned int, short int, short int, short int, short int)
   '
glext.h:592: `void (*glVertexAttrib4svNV)(unsigned int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2751: previous declaration of `void
   glVertexAttrib4svNV(unsigned int, const GLshort*)'
glext.h:593: `void (*glVertexAttrib4ubvNV)(unsigned int, const GLubyte*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2753: previous declaration of `void
   glVertexAttrib4ubvNV(unsigned int, const GLubyte*)'
glext.h:594: `void (*glVertexAttribs1dvNV)(unsigned int, int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2755: previous declaration of `void
   glVertexAttribs1dvNV(unsigned int, int, const GLdouble*)'
glext.h:595: `void (*glVertexAttribs1fvNV)(unsigned int, int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2756: previous declaration of `void
   glVertexAttribs1fvNV(unsigned int, int, const GLfloat*)'
glext.h:596: `void (*glVertexAttribs1svNV)(unsigned int, int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2757: previous declaration of `void
   glVertexAttribs1svNV(unsigned int, int, const GLshort*)'
glext.h:597: `void (*glVertexAttribs2dvNV)(unsigned int, int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2758: previous declaration of `void
   glVertexAttribs2dvNV(unsigned int, int, const GLdouble*)'
glext.h:598: `void (*glVertexAttribs2fvNV)(unsigned int, int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2759: previous declaration of `void
   glVertexAttribs2fvNV(unsigned int, int, const GLfloat*)'
glext.h:599: `void (*glVertexAttribs2svNV)(unsigned int, int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2760: previous declaration of `void
   glVertexAttribs2svNV(unsigned int, int, const GLshort*)'
glext.h:600: `void (*glVertexAttribs3dvNV)(unsigned int, int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2761: previous declaration of `void
   glVertexAttribs3dvNV(unsigned int, int, const GLdouble*)'
glext.h:601: `void (*glVertexAttribs3fvNV)(unsigned int, int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2762: previous declaration of `void
   glVertexAttribs3fvNV(unsigned int, int, const GLfloat*)'
glext.h:602: `void (*glVertexAttribs3svNV)(unsigned int, int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2763: previous declaration of `void
   glVertexAttribs3svNV(unsigned int, int, const GLshort*)'
glext.h:603: `void (*glVertexAttribs4dvNV)(unsigned int, int, const GLdouble*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2764: previous declaration of `void
   glVertexAttribs4dvNV(unsigned int, int, const GLdouble*)'
glext.h:604: `void (*glVertexAttribs4fvNV)(unsigned int, int, const GLfloat*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2765: previous declaration of `void
   glVertexAttribs4fvNV(unsigned int, int, const GLfloat*)'
glext.h:605: `void (*glVertexAttribs4svNV)(unsigned int, int, const GLshort*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2766: previous declaration of `void
   glVertexAttribs4svNV(unsigned int, int, const GLshort*)'
glext.h:606: `void (*glVertexAttribs4ubvNV)(unsigned int, int, const GLubyte*)'
   redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2767: previous declaration of `void
   glVertexAttribs4ubvNV(unsigned int, int, const GLubyte*)'
glext.h:620: `void (*glColorTableEXT)(unsigned int, unsigned int, int, unsigned
   int, unsigned int, const GLvoid*)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2158: previous declaration of `void
   glColorTableEXT(unsigned int, unsigned int, int, unsigned int, unsigned int,
   const GLvoid*)'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-march=athlon-xp -O3 -mfpmath=sse -pipe  -O2 -Wall -ffast-math
-fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include 
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include -c catalogxref.cpp
In file included from texmanager.h:15,
                 from 3dsmesh.cpp:15:
../celutil/resmanager.h: In member function `ResourceHandle
   ResourceManager<T>::getHandle(const T&)':
../celutil/resmanager.h:62: warning: `typename std::map<T, ResourceHandle,
   std::less<_Key>, std::allocator<std::pair<const T, ResourceHandle> >
   >::iterator' is implicitly a typename
../celutil/resmanager.h:62: warning: implicit typename is deprecated, please
   see the documentation for details
make[3]: *** [3dsmesh.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/celestia-1.2.4/work/celestia-1.2.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
Comment 4 Bret Towe 2002-09-10 02:39:09 UTC
i went to celestia's webpage and saw taht 1.2.5 is coming out soon
so i went skimming thru cvs to look at log entrys and see that there
looks to be a fix for this problem in the next version
and hopefully that will be soon(tm)
Comment 5 Bret Towe 2002-10-14 00:46:09 UTC
well i found a couple patchs that sorta fixed the problem but didnt apply right
so i fixed and combinded them into 1 and it makes it so it will compile fine
under gcc 3.2 :)
i tested by putting it in files dir for celestia and puting a patch line like so
patch -p1 < ${FILESDIR}/celestia-gcc3.patch
in the src_compile function and it works fine
Comment 6 Bret Towe 2002-10-14 00:46:50 UTC
Created attachment 4688 [details]
celestia-gcc3.patch

here is the patch
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2002-10-24 00:11:49 UTC
Hi

Thanks Bret for the patch!
I applied the fix, please test and report.

George
Comment 8 Andy Romeril 2002-10-25 15:37:29 UTC
Hi,
I'm also experiencing this problem.  

The patch does *not* appear to fix the error.

I have a similar setup to Peter (comment #3) with Gentoo 1.4beta, and 

CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -finline-functions
-funroll-loops"                    

CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -finline-functions
-funroll-loops"

AndyR
Comment 9 Bret Towe 2002-11-09 22:58:28 UTC
i dont suppose reducing CFLAGS to just -O3 -march=pentium3 fixs that problem?
Comment 10 George Shapovalov (RETIRED) gentoo-dev 2002-11-10 04:31:17 UTC
I have it here building and running fine with
C[XX]FLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer
-falign-functions=4 -fprefetch-loop-arrays -fexpensive-optimizations -ffast-math"
 This is x86-1.4 profile.

So the difference seems to be in the "-funroll-loops", whic I would not advise
to use in general as it breaks many things while the benefits are uncertain
(citing the description: "This option makes code larger, and may or may not make
it run faster.").

I modified the ebuid to filter loop unrolling flags. Please test.
(Still no revision bump since this works for many people already).

George
Comment 11 Gustavo Felisberto (RETIRED) gentoo-dev 2002-11-21 20:05:27 UTC
I have a 1.4 system on p3. I tried using George Shapovalov flags and it crashed
with the same errors has Peter Ruskin. I did a opengl-update xfree and it worked
ok. I then did a opengl-update nvidia before runing celestia and it is runing ok
and fast.
Comment 12 Bret Towe 2003-01-11 22:57:40 UTC
celestia 1.2.5 is finally out
ill be testing it shortly after its done downloading
Comment 13 Bret Towe 2003-01-12 01:00:18 UTC
ok it compiles and runs fine coping the ebuild over

i didnt try the new kde interface since kde for me is broken and i dont intead
to upgrade to fix it till 3.1 is out
Comment 14 George Shapovalov (RETIRED) gentoo-dev 2003-01-12 21:30:34 UTC
Thanks guys.

I have tested the 1.2.5 and committed the ebuild. Seems to buid and work fine.
Also I have added few lines into pkg_setup to output a warning about building
celestia with nvidia.
The ebuild is keymasked, please test.
(Though because of the freeze it won't get unmasked until after the release.
Test reporta are still wellcome!)

George
Comment 15 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:44 UTC
db fix
Comment 16 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:36 UTC
db fix