Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240260 - games-fps/quake3 doesnt compile with gcc-4.3.2
Summary: games-fps/quake3 doesnt compile with gcc-4.3.2
Status: RESOLVED DUPLICATE of bug 245658
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 12:48 UTC by michel
Modified: 2008-11-05 22:28 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 michel 2008-10-06 12:48:45 UTC
ade.o build/release-linux-x86/client/tr_shade_calc.o build/release-linux-x86/client/tr_shader.o build/release-linux-x86/client/tr_shadows.o build/release-linux-x86/client/tr_sky.o build/release-linux-x86/client/tr_surface.o build/release-linux-x86/client/tr_world.o  build/release-linux-x86/client/snd_mixa.o build/release-linux-x86/client/matha.o build/release-linux-x86/client/ftola.o build/release-linux-x86/client/snapvectora.o build/release-linux-x86/client/unix_main.o build/release-linux-x86/client/unix_net.o build/release-linux-x86/client/unix_shared.o build/release-linux-x86/client/linux_signals.o build/release-linux-x86/client/linux_qgl.o build/release-linux-x86/client/linux_snd.o build/release-linux-x86/client/sdl_snd.o build/release-linux-x86/client/linux_joystick.o build/release-linux-x86/client/linux_glimp.o build/release-linux-x86/client/sdl_glimp.o -lSDL -lpthread -lopenal -ldl -lm 
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libopenal.so: undefined reference to `_alMMXmemcpy'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libopenal.so: undefined reference to `_alDetectx86CPUCaps'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libopenal.so: undefined reference to `__alDetectx86CPUCaps'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/../../../libopenal.so: undefined reference to `__alMMXmemcpy'
collect2: ld returned 1 exit status
make[1]: *** [build/release-linux-x86/ioquake3.x86] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/games-fps/quake3-1.34_rc3/work/ioquake3_1.34-rc3'
make: *** [build_release] Error 2
 * 
 * ERROR: games-fps/quake3-1.34_rc3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2605:  Called die
 * The specific snippet of code:
 * emake BUILD_SERVER=$(buildit dedicated) BUILD_CLIENT=$(( $(buildit opengl) | $(buildit !dedicated) )) TEMPDIR="${T}" CC="$(tc-getCC)" ARCH=$(tc-arch-kernel) OPTIMIZE="${CFLAGS}" DEFAULT_BASEDIR="${GAMES_DATADIR}/quake3" DEFAULT_LIBDIR="$(games_get_libdir)/quake3" || die
 * The die message:
 * (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/games-fps:quake3-1.34_rc3:20081005-221750.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-fps/quake3-1.34_rc3/temp/environment'.
 * 

>>> Failed to emerge games-fps/quake3-1.34_rc3, Log file:

>>>  '/var/log/portage/games-fps:quake3-1.34_rc3:20081005-221750.log'

 * Messages for package games-fps/quake3-1.34_rc3:

 * 
 * ERROR: games-fps/quake3-1.34_rc3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2605:  Called die
 * The specific snippet of code:
 * emake BUILD_SERVER=$(buildit dedicated) BUILD_CLIENT=$(( $(buildit opengl) | $(buildit !dedicated) )) TEMPDIR="${T}" CC="$(tc-getCC)" ARCH=$(tc-arch-kernel) OPTIMIZE="${CFLAGS}" DEFAULT_BASEDIR="${GAMES_DATADIR}/quake3" DEFAULT_LIBDIR="$(games_get_libdir)/quake3" || die
 * The die message:
 * (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/games-fps:quake3-1.34_rc3:20081005-221750.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-fps/quake3-1.34_rc3/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:
1.emerge -av quake3
2.
3.




michel@tux ~ $ emerge --info
Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Oct 2008 12:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa audacious berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli cracklib crypt css cups curl dbus dga divx djvu dts dvd dvdr dvdread eds emboss encode evo exif fam fbcon fbcondecor ffmpeg firefox flac fortran ftp gdbm gif glut gpm gps gstreamer gtk gtk2 hal hddtemp iconv icq ieee1394 imlib ipw4965 java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility laptop lesstif libnotify lzo mad md5sum midi mikmod mmx mmxext mng motif mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pcre pdf perl png pppd python qt-static qt3 qt3support quicktime rar readline real realmedia recode reflection reiserfs samba sdl session slang smp sox spell spl sse sse-filters sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb userlocales v4l v4l2 vcd vorbis wifi win32codecs wma wmf wxwindows x264 x86 x86emu xanim xcomposite xml xorg xpm xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 michel 2008-10-12 11:24:15 UTC
solved this by emerging new openal-1.5.304 from http://kcat.strangesoft.net/openal.html

openal in portage seems to be too old ...
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2008-11-05 22:28:59 UTC

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