Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114335 - irrlicht-0.14.0 failes to emerge
Summary: irrlicht-0.14.0 failes to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 03:21 UTC by playmiac
Modified: 2005-12-03 12:11 UTC (History)
1 user (show)

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


Attachments
Proposed patch, changes glXGetProcAddress to glXGetProcAddressARB (irrlicht-0.14.0-glXGetProcAddress.patch,417 bytes, patch)
2005-12-03 03:52 UTC, Nico Erfurth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description playmiac 2005-12-03 03:21:45 UTC
emerge irrlicht-0.14.0 failes with error "COpenGLDriver.cpp:413: error:
`glXGetProcAddress' undeclared (first use this function)"

Reproducible: Always
Steps to Reproduce:
1. emerge irrlicht
Actual Results:  
>>> Source unpacked.
make: Entering directory
`/var/tmp/portage/irrlicht-0.14.0/work/irrlicht-0.14.0/source/Irrlicht'
g++  -c CGUIButton.cpp -o CGUIButton.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUICheckBox.cpp -o CGUICheckBox.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIComboBox.cpp -o CGUIComboBox.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIContextMenu.cpp -o CGUIContextMenu.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIEditBox.cpp -o CGUIEditBox.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIEnvironment.cpp -o CGUIEnvironment.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIFileOpenDialog.cpp -o CGUIFileOpenDialog.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIFont.cpp -o CGUIFont.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIImage.cpp -o CGUIImage.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIInOutFader.cpp -o CGUIInOutFader.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIListBox.cpp -o CGUIListBox.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIMenu.cpp -o CGUIMenu.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIMeshViewer.cpp -o CGUIMeshViewer.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIMessageBox.cpp -o CGUIMessageBox.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIModalScreen.cpp -o CGUIModalScreen.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIScrollBar.cpp -o CGUIScrollBar.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUISkin.cpp -o CGUISkin.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIStaticText.cpp -o CGUIStaticText.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUITabControl.cpp -o CGUITabControl.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIToolBar.cpp -o CGUIToolBar.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CGUIWindow.cpp -o CGUIWindow.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CSoftwareDriver.cpp -o CSoftwareDriver.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CSoftwareTexture.cpp -o CSoftwareTexture.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRFlat.cpp -o CTRFlat.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRFlatWire.cpp -o CTRFlatWire.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRGouraud.cpp -o CTRGouraud.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRGouraudWire.cpp -o CTRGouraudWire.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureFlat.cpp -o CTRTextureFlat.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureFlatWire.cpp -o CTRTextureFlatWire.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureGouraud.cpp -o CTRTextureGouraud.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureGouraudAdd.cpp -o CTRTextureGouraudAdd.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureGouraudNoZ.cpp -o CTRTextureGouraudNoZ.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CTRTextureGouraudWire.cpp -o CTRTextureGouraudWire.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c CZBuffer.cpp -o CZBuffer.o -march=k8 -pipe -O2 -fomit-frame-pointer
-I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c COpenGLDriver.cpp -o COpenGLDriver.o -march=k8 -pipe -O2
-fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
g++  -c COpenGLNormalMapRenderer.cpp -o COpenGLNormalMapRenderer.o -march=k8
-pipe -O2 -fomit-frame-pointer -I"include/" -I"zlib/" -DIRRLICHT_EXPORTS=1
COpenGLDriver.cpp: In member function `void
irr::video::COpenGLDriver::loadExtensions()':
COpenGLDriver.cpp:413: error: `glXGetProcAddress' undeclared (first use this
function)
COpenGLDriver.cpp:413: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make: *** [COpenGLDriver.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory
`/var/tmp/portage/irrlicht-0.14.0/work/irrlicht-0.14.0/source/Irrlicht'

!!! ERROR: dev-games/irrlicht-0.14.0 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
irrlicht emerges properly

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r0,
2.6.14-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre11
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.16
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/run/dspam /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch
http://mirror.ovh.net/gentoo-distfiles/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.roedu.net/pub/mirrors/gentoo.org/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.inf.elte.hu/ http://mirror.uni-c.dk/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.pudas.net/gentoo
ftp://ftp.solnet.ch/mirror/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 apache2 arts audiofile avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl directfb dv dvd dvdr
dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb
fortran gd gdbm geoip gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap
libwww lua lzw lzw-tiff mad mhash mikmod mng motif mozilla mp3 mpeg mysql
ncurses nls nptl nvidia odbc ogg openal opengl pam pcre pdflib perl php
plotutils png postgres python qt quicktime readline recode ruby scanner sdl
slang speex spell sqlite ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts udev unicode usb userlocales vorbis xine xml xml2 xmms xpm xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Nico Erfurth 2005-12-03 03:52:38 UTC
Created attachment 73977 [details, diff]
Proposed patch, changes glXGetProcAddress to glXGetProcAddressARB

Proposed patch, changes glXGetProcAddress to glXGetProcAddressARB.
This fix is suggested in source/source.txt
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-12-03 12:11:16 UTC
nah, just needs the opengl workaround reenabled in the ebuild.  I was hoping it
wasn't needed anymore but I guess it is.