Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96056

Summary: industri emerge fails in src_compile with conflicting types for PFNGLVERTEXARRAYRANGEAPPLEPROC error
Product: Gentoo Linux Reporter: Shaun Crampton <fasaxc>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2004.3   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Shaun Crampton 2005-06-14 04:52:46 UTC
When I try to emerge industri I get lots of the following errors 
"../glquake.h:1042: warning: redefinition of `PFNGLVERTEXATTRIBS4UBVNVPROC'
/usr/include/GL/glext.h:5719: warning: `PFNGLVERTEXATTRIBS4UBVNVPROC' previously
declared here"

I'm running the DRI ATI Radeon drivers.

(It happens with or without experimental CFLAGS)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 16 2005, 15:57:35)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3  -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3  -pipe
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages prelink sandbox
sfperms strict"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirror.sdv.fr http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib aim alsa apache2 apm arts artswrappersuid
audiofile avi bash-completion bitmap-fonts cdparanoia cdr composite crypt cups
curl dga divx4linux dri dvd dvdr dvdread eds emboss encode esd fam fbcon flac
flash foomaticdb fortran gcj gd gdbm gif gimpprint gmp gnome gpm gstreamer gtk
gtk+ gtk2 guile hardenedphp imagemagick imlib ipv6 jabber java javascript jikes
jpeg jpeg2k junit kde kdeenablefinal ldap libg++ libwww live lzw-tiff mad
matroska media-video/mplayer:libcaca mikmod mmx mmx2 mng monkey motif mp3 mpeg
msn mysql ncurses network nls nodrm ogg oggvorbis ooo-kde opengl oss pam pdflib
perl png postgres povray ppds python qt quicktime readline real samba scanner
sdl slang softmmu speex spell sse ssl svg svga tcltk tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb vorbis wmf xine xml xml2 xmms
xprint xv xvid yahoo zlib video_cards_radeon linguas_en_GB userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Anton Romanov 2005-06-14 04:55:54 UTC
this is not errors but warnings
what are the errors?
i have a lot of warnings but industri compiles anyway
Comment 2 Shaun Crampton 2005-06-14 05:29:07 UTC
../glquake.h:1134: error: conflicting types for
`PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:6170: error: previous declaration of
`PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC'
../glquake.h:1135: error: conflicting types for `PFNGLVERTEXARRAYRANGEAPPLEPROC'
/usr/include/GL/glext.h:6169: error: previous declaration of
`PFNGLVERTEXARRAYRANGEAPPLEPROC'

Sorry, I assumed they were all the same
Comment 3 SpanKY gentoo-dev 2005-06-14 06:13:23 UTC
it sounds like your tree is out of sync

what does this show on your machine:
echo '#include <GL/gl.h>' | gcc -E - | grep PFNGLVERTEXARRAYRANGEAPPLEPROC
Comment 4 Shaun Crampton 2005-06-14 08:15:21 UTC
I get:
typedef void ( * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
Comment 5 SpanKY gentoo-dev 2005-06-14 08:30:43 UTC
sync up and try again

*** This bug has been marked as a duplicate of 71841 ***