when compiling alsa driver: CC [M] /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:117: error: syntax error before string constant /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:117: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:117: warning: function declaration isn't a prototype /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:117: warning: data definition has no type or storage class /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:119: error: syntax error before string constant /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:119: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:119: warning: function declaration isn't a prototype ... /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1552: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1552: warning: function declaration isn't a prototype /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1552: warning: data definition has no type or storage class /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1553: error: syntax error before string constant /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1553: warning: type defaults to `int' in declaration of `MODULE_PARM' /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1553: warning: function declaration isn't a prototype /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.c:1553: warning: data definition has no type or storage class make[5]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd/msnd_pinnacle.o] Error 1 make[4]: *** [/var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/isa/msnd] Error 2 make[4]: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1: emerge --sync 2: emerge -uDN world 3: emerge alsa-driver Expected Results: alsa drivers should be installed. Actual Results: mheissi home # emerge --info Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686) ================================================================= System uname: 2.6.17-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig bla buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" 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/ebuilds" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib akode alsa apache2 apm asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cli crypt css ctype cups dba dbus dlloader dri dts dvd dvdr elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 idn imlib ipv6 isdnlog java jikes jpeg kde kernel_linux kqemu lcms libg++ libwww mad matroska memlimit mikmod mng motif mp3 mpeg mplayer musicbrainz ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix ppds pppd python qt qt3 qt4 quicktime readline real reflection samba scanner sdl session simplexml slang snmp soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vorbis vxwindows win32codecs wxwindows x264 x86 xine xml xml2 xorg xsl xv xvid zlib input_devices_mouse input_devices_keyboard input_devices_synaptics video_cards_i915 video_cards_i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 90837 [details] complete ouput
*** Bug 141669 has been marked as a duplicate of this bug. ***
Created attachment 92731 [details, diff] proposed patch to fix this problem I've attached a patch that should fix this bug. It just checks whether kernel version is > 2.6.0, and if so, uses module_param() instead of MODULE_PARM() in the broken files. Hopefully someone will consider merging this into portage if it's acceptable.
Please check if 1.0.12_rc1 is fixed, if it is not report upstream. It's a mess to follow ALSA upstream when they decide not to fix their crap.
This is fixed in alsa-driver-1.0.12_rc1-r1.
Fixed then.
*** Bug 150524 has been marked as a duplicate of this bug. ***
We need something newer stable.
1.0.13 is stable with 2.6.17 and 2.6.18. Try that and see if it fixes your problem. I use 1.0.13 and 2.6.18 and no issues even with -o3.
1.0.11 is not even in the tree anymore.