Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162596 - dev-games/ogre-1.2.4 fails to compile with GCC 4.1.1
Summary: dev-games/ogre-1.2.4 fails to compile with GCC 4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 22:27 UTC by Tim Burrell
Modified: 2007-01-18 14:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Burrell 2007-01-17 22:27:28 UTC
When compiling Ogre 1.2.4 (with gcc 4.1.1-r3) there is a compilation error.

Reproducible: Always

Steps to Reproduce:
1. emerge ogre
Actual Results:  
OgreCEGUIRenderer.cpp: In member function 'virtual CEGUI::Texture* CEGUI::OgreCEGUIRenderer::createTexture()':
OgreCEGUIRenderer.cpp:360: error: cannot allocate an object of abstract type 'CEGUI::OgreCEGUITexture'
../../../../Samples/Common/CEGUIRenderer/include/OgreCEGUITexture.h:42: note:   because the following virtual functions are pure within 'CEGUI::OgreCEGUITexture':
/usr/include/CEGUI/CEGUITexture.h:169: note:    virtual void CEGUI::Texture::loadFromMemory(const void*, CEGUI::uint, CEGUI::uint, CEGUI::Texture::PixelFormat)
make[4]: *** [OgreCEGUIRenderer.lo] Error 1


Expected Results:  
No error.

emerge --info:

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r2.SpaceDolphin i686)
=================================================================
System uname: 2.6.19-gentoo-r2.SpaceDolphin i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 17 Jan 2007 12:30:03 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d aac acl alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts asf bash-completion berkdb bitmap-fonts boundschecking cairo cdparanoia cli cracklib crypt cups curl dbus dhcp divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode esd exif fbcon ffmpeg firefox foomaticdb fortran gcj gd gdbm gif gimpprint glx gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java jikes joystick jpeg junit kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms libg++ libwww linguas_en lirc lirc_devices_hauppauge lm_sensors mad maildir mikmod mjpeg mmx mmxext motif mozilla mp3 mpeg mpeg4 mysql mythtv ncurses net new-login nls nptl nptlonly nsplugin objc ogg opengl oss pam pcre pda pdf perl php plotutils png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection ruby samba sasl scanner sdl session sftplogging slp smux snmp spell spl sse sse2 sse3 ssl subversion svg tcpd tetex tiff transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_nvidia video_cards_vesa video_cards_vga videos vorbis wifi win32codecs wmf wxwindows xcomposite xinerama xml xorg xosd xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tim Burrell 2007-01-18 14:16:11 UTC
I figured out my own problem.  I had CEGUI ~x86 keyworded, and the CEGUI api has changed.  Ogre-1.2.4 is meant to be used with CEGUI 0.4.1.  Basically, downgrading CEGUI did the trick.