--- Errors --- gcc -Wall -pipe -Dstricmp=strcasecmp -DJoystick -O2 -ffast-math -funroll-loops -malign-loops=2 -malign-jumps=2 -malign-functions=2 -g -DLINUX_VERSION='"3.21+rCVS"' -o releasei386/client/snd_arts.o -c src/linux/snd_arts.c cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions src/linux/snd_arts.c:24:19: artsc.h: No such file or directory src/linux/snd_arts.c:30: parse error before "stream" src/linux/snd_arts.c:30: warning: type defaults to `int' in declaration of `stream' src/linux/snd_arts.c:30: warning: data definition has no type or storage class src/linux/snd_arts.c: In function `SNDDMA_Init': src/linux/snd_arts.c:42: warning: implicit declaration of function `arts_init' src/linux/snd_arts.c:45: warning: implicit declaration of function `arts_error_text' src/linux/snd_arts.c:73: warning: implicit declaration of function `arts_play_stream' src/linux/snd_arts.c:74: warning: implicit declaration of function `arts_stream_set'function) src/linux/snd_arts.c:74: (Each undeclared identifier is reported only once src/linux/snd_arts.c:74: for each function it appears in.) src/linux/snd_arts.c:75: `ARTS_P_BLOCKING' undeclared (first use in this function) src/linux/snd_arts.c: In function `SNDDMA_Shutdown': src/linux/snd_arts.c:101: warning: implicit declaration of function `arts_close_stream' src/linux/snd_arts.c:102: warning: implicit declaration of function `arts_free' src/linux/snd_arts.c: In function `SNDDMA_Submit': src/linux/snd_arts.c:118: warning: implicit declaration of function `arts_write' make[1]: *** [releasei386/client/snd_arts.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/quake2-0.15/work/quake2-r0.15' make: *** [build_release] Error 2 !!! ERROR: app-games/quake2-0.15 failed. !!! Function src_compile, Line 78, Exitcode 2 !!! make failed src/linux/snd_arts.c:74: `ARTS_P_PACKET_SETTINGS' undeclared (first use in this
Could you run emerge info gcc --version and paste the output here?
bash-2.05a# emerge info Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-ac4 i686 Pentium III (Coppermine) USE="x86 oss arts cups gif kde gnome libg++ motif nls spell gdbm slang tetex guile gpm libwww python esd -3dfx -3dnow aalib -acl -afs alsa apm avi berkdb crypt dga directfb doc dvd encode fbcon gd gtk gtk2 gtkhtml icc icc-pgo imap imlib innodb java jpeg mikmod mmx mozilla mpeg mysql ncurses oggvorbis opengl pam pcmcia pdflib perl pic png pnp qt qtmt quicktime readline sdl sse ssl svga tcltk tcpd tiff truetype trusted X xml xml2 xmms xv zlib" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.4.1_beta" JAVA_HOME="/opt/blackdown-jdk-1.4.1_beta" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo"
i noticed this after the unpacking... -- X opengl svga arts aalib make: artsc-config: Command not found make targets BUILDDIR=releasei386 CFLAGS="-Wall -pipe -Dstricmp=strcasecmp -DJoystick -O2 -ffast-math -funroll-loops -malign-loops=2 -malign-jumps=2 -malign-functions=2 -g -DLINUX_VERSION='\"3.21+rCVS\"'" ... seems like something is missing from dependencies...
It looks like $KDEDIR/bin is not in your path when you're compiling. Could you see if you have a /usr/kde/$KDEVERSION/bin/artsc-config, where $KDEVERSION is the version of kde you have emerged (3 or 3.1).
$KDEDIR/bin wasn't in my path, so i added it... it still didn't work... after that i made a symlink (ln -sf /usr/kde/3/bin/artsc-config /bin/artsc-config). Finally it worked... But i haven't yet installed kde so it may be the problem... bash-2.05a# quake2 ./quake2: error while loading shared libraries: libartsc.so.0: cannot open shared object file: No such file or directory I'll try to create symlink...
*** Bug 11117 has been marked as a duplicate of this bug. ***
kde guys: what do you think ?
i installed kdepim and it also wasn't able to find them... so i did "source /etc/profile" and it finally worked... also for the quake2 :)
ok, sounds like the environment wasnt updated after installing kde/arts stuff