Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139139 - media-sound/alsa-driver-1.0.11 fails to compile w/ kernel-2.6.17
Summary: media-sound/alsa-driver-1.0.11 fails to compile w/ kernel-2.6.17
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo ALSA team [DISABLED]
URL:
Whiteboard:
Keywords:
: 141669 150524 (view as bug list)
Depends on: 150540
Blocks:
  Show dependency tree
 
Reported: 2006-07-04 02:49 UTC by Georg Heissenberger
Modified: 2007-01-22 08:46 UTC (History)
3 users (show)

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


Attachments
complete ouput (output,69.95 KB, text/plain)
2006-07-04 02:54 UTC, Georg Heissenberger
Details
proposed patch to fix this problem (alsa-driver-1.0.11-module_param.patch,7.84 KB, patch)
2006-07-25 10:19 UTC, Rob Hess
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Heissenberger 2006-07-04 02:49:54 UTC
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
Comment 1 Georg Heissenberger 2006-07-04 02:54:20 UTC
Created attachment 90837 [details]
complete ouput
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-25 00:51:03 UTC
*** Bug 141669 has been marked as a duplicate of this bug. ***
Comment 3 Rob Hess 2006-07-25 10:19:26 UTC
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.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-25 10:58:41 UTC
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.
Comment 5 Rob Hess 2006-07-25 11:33:53 UTC
This is fixed in alsa-driver-1.0.12_rc1-r1.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 22:40:28 UTC
Fixed then.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 23:43:04 UTC
*** Bug 150524 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 23:45:06 UTC
We need something newer stable.
Comment 9 Scott Van Der Wall 2006-10-17 16:35:38 UTC
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.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-22 08:46:59 UTC
1.0.11 is not even in the tree anymore.