i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gnome-alsamixer"\" -DPIXMAP_ICONDIR=\""/usr/share/pixmaps/gnome-alsamixer"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math -c gam-main.c In file included from gam-app.h:53, from gam-main.c:27: gam-mixer.h:24:23: asoundlib.h: No such file or directory In file included from gam-mixer.h:57, from gam-app.h:53, from gam-main.c:27: gam-slider.h:71: error: parse error before '*' token gam-slider.h:71: warning: data definition has no type or storage class make[2]: *** [gam-main.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6' make: *** [all-recursive-am] Error 2 amazing ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11.4-cko2 i686) ================================================================= System uname: 2.6.11.4-cko2 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 10 2005, 22:32:13)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r3, 1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.94.0.2.2 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS=" -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS=" -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math -fvisibility-inlines-hidden " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.CP1251" LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed " MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth bonobo caps cdda cddb cdio cdparanoia cdr crypt cscope cups curl dga directfb dpms dts dv dvb dvd dvdr dvdread eds emboss encode exif fam fbcon ffmpeg fftw flac foomaticdb freetype ftp gd ggi gif gimp glitz gnokii gnutls gphoto2 gpm gstreamer gtk2 guile hal howl iconv icq icu ieee1394 imagemagick imap imlib innodb irmc jack jack-tmpfs joystick jpeg jpeg2k kerberos ladcca ladspa lcd lcms ldap libcaca libg++ libgda libvisual libwww lirc live lm_sensors lmtp logitech-mouse lua lufsusermount lzo mad maildir mailwrapper matroska mbox mikmod mjpeg mmx mng mono mozdevelop mozilla mozsvg mp3 mpeg mppe-mppc msn mythtv nas ncurses network nntp no-old-linux nptl nptlonly ntlm oav odbc ogg oggvorbis openal opie pam pcmcia pcre pda pdflib pic plotutils png portaudio povray pvm pwdb qt quicktime quotas rdesktop readline real rtc samba sasl sblive scanner silc skey slang slp smartcard sndfile socks5 soundtouch speex spell sqlite ssl stream svg svga svgz symlink sysfs tcltk tcpd tetex theora threads tidy tiff transcode truetype truetype-fonts unicode usb utf8 v4l v4l2 vcd vcdimager vidix vlm wifi winbind wmf wxwindows xanim xine xml xml2 xrandr xv xvid yv12 zeroconf zlib linguas_ru linguas_uk" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
Created attachment 55990 [details, diff] patch to fix it just include alsa headers location
Created attachment 55991 [details] corrected ebuild ebuild with patch included.
thanks works for me
I have this same error and I don't want to patch it myself. When will the corrected ebuild be added to portage?
I have this same error
I have this same error and I think that the patch has worked for me. I am ssh into my box so I cant really test the sound :) but I do not get an error on the emerge I think that adding this to portage would be safe thank you for fixing it
fixed in portage, thanks.