Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66253 - alsa-driver-1.0.6a doesn't compile (error: `isapnp' undeclared here)
Summary: alsa-driver-1.0.6a doesn't compile (error: `isapnp' undeclared here)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-03 14:35 UTC by Matt Zukowski
Modified: 2004-10-12 17:12 UTC (History)
1 user (show)

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 Matt Zukowski 2004-10-03 14:35:47 UTC
Tried to emerge alsa-driver-1.0.6a with 2.6.7-gentoo-r11 kernel... got compilation error.

Reproducible: Always
Steps to Reproduce:
1. MAKEOPTS="-j1" emerge =media-sound/alsa-driver-1.0.6a

(I used -j1 to make sure the error wasn't somehow related to distcc... it seems to occur regardless, however)
Actual Results:  
....
  CC [M] 
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/interwave-stb.o
In file included from
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/../../alsa-kernel/isa/gus/interwave-stb.c:2,
                 from
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/interwave-stb.c:1:
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/../../alsa-kernel/isa/gus/interwave.c:83:
error: `isapnp' undeclared here (not in a function)
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/../../alsa-kernel/isa/gus/interwave.c:83:
error: initializer element is not constant
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/../../alsa-kernel/isa/gus/interwave.c:83:
error: (near initialization for `__param_arr_isapnp.elem')
distcc[18095] ERROR: compile
/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/interwave-stb.c
on localhost failed
make[4]: ***
[/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus/interwave-stb.o]
Error 1
make[3]: ***
[/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa/gus]
Error 2
make[2]: ***
[/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild/../isa] Error 2
make[1]: ***
[_module_/var/tmp/portage/alsa-driver-1.0.6a/work/alsa-driver-1.0.6a/kbuild] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7-gentoo-r11'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.6a failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! Parallel Make Failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
alsa drivers should have compiled

Portage 2.0.51_rc7 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.osuosl.org/
http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.risq.qc.ca/"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi acpi4linux alsa apache2 apm arts avi bitmap-fonts cdr crypt
cups dba devfs26 divx4linux dvd dvdr encode esd foomaticdb gd gdbm gif gimp
gimpprint gnome gpm gtk gtk2 guile imlib java joystick jpeg libg++ libwww mad
mikmod mmx motif moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg
mpeg4 msn mysql ncurses oggvorbis opengl pam pdflib perl png postgres python
quicktime radeon readline samba sdl session simplexml slang spell sse ssl svg
svga tcltk tcpd tiff truetype type1 usb x86 xinerama xml2 xmms xprint xsl xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-03 20:57:22 UTC
can you try to disable distcc
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-03 21:14:06 UTC
what I mean by that is to remove it from features rather than force -j1 ... just to be sure...  is isapnp enabled in your kernel?
Comment 3 Matt Zukowski 2004-10-04 00:28:42 UTC
Same problem with distcc removed from FEATURES. My kernel is compiled with no PnP support, so no isapnp either.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-04 01:33:32 UTC
try enabling it in your kernel
Comment 5 Matt Zukowski 2004-10-12 17:12:38 UTC
Resolved: I had ISA enabled in the kernel, but did not enable ISA PnP. The ebuild should probably check for this, but no biggie.