Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27104 - Alsa-driver 9.6 fails with via86xx
Summary: Alsa-driver 9.6 fails with via86xx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 27105 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-22 03:31 UTC by Ray Morehead
Modified: 2003-08-23 04:55 UTC (History)
2 users (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 Ray Morehead 2003-08-22 03:31:20 UTC
Was working on older version.  

env ALSA_CARDS='via82xx' emerge alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-0.9.6 to /
>>> md5 src_uri ;-) alsa-driver-0.9.6.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-driver-0.9.6.tar.bz2 to /var/tmp/portage/alsa-driver-0.9.6/work
 * Applying makefile.patch...                                                  
     [ ok ]
 * Applying wolk.patch...                                                      
     [ ok ]
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory...
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.20-gentoo-r5
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.2.3
20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.h.
checking for kernel module symbol versions... "no"
checking for PCI support in kernel... "no"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules...
/lib/modules/2.4.20-gentoo-r5/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "no"
checking for processor type... "unknown"
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "no"
checking for Kernel ISA-PnP module support... "no"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "no"
checking for old kmod... "yes"
Removing local linux/isapnp.h.
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "no"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "no"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... via82xx
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
make dep
make[1]: Entering directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
`include/version.h' -> `include/sound/version.h'
make[2]: Entering directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/support'
make[2]: Leaving directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/support'
make[2]: Entering directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore'
make  -C ioctl32 fastdep
make[3]: Entering directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore/ioctl32'
make[3]: Leaving directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore/ioctl32'
make  -C oss fastdep
make[3]: Entering directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk #1 succeeded at 2092 (offset 11 lines).
Hunk #2 succeeded at 2268 (offset 17 lines).
Hunk #3 succeeded at 2416 (offset 17 lines).
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1
-I/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include 
-I/usr/src/linux/include -O2  -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-DALSA_BUILD
-I/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss
mixer_oss.c pcm_oss.c pcm_plugin.c io.c copy.c linear.c mulaw.c route.c rate.c >
.depend
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from mixer_oss.c:22:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from mixer_oss.c:22:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from pcm_oss.c:29:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from pcm_oss.c:29:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/pcm_plugin.c:27,
                 from pcm_plugin.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/pcm_plugin.c:27,
                 from pcm_plugin.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/io.c:22,
                 from io.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/io.c:22,
                 from io.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/copy.c:22,
                 from copy.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/copy.c:22,
                 from copy.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/linear.c:23,
                 from linear.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/linear.c:23,
                 from linear.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/mulaw.c:24,
                 from mulaw.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/mulaw.c:24,
                 from mulaw.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/route.c:22,
                 from route.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/route.c:22,
                 from route.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
In file included from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/rate.c:22,
                 from rate.c:2:
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:42:31:
linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/sched.h:14,
                 from /usr/src/linux/include/linux/mm.h:22,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/asm/pci.h:37,
                 from /usr/src/linux/include/linux/pci.h:622,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/adriver.h:66,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/include/sound/driver.h:42,
                 from
/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/alsa-kernel/core/oss/rate.c:22,
                 from rate.c:2:
/usr/src/linux/include/linux/timex.h:78:3: #error You lose.
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore/oss'
make[2]: *** [_sfdep_oss] Error 2
make[2]: Leaving directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory
`/mnt/rwtemp/var/tmp/portage/alsa-driver-0.9.6/work/alsa-driver-0.9.6'
make: *** [include/sndversions.h] Error 2

!!! ERROR: media-sound/alsa-driver-0.9.6 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! Parallel Make Failed


Reproducible: Always
Steps to Reproduce:
1. env ALSA_CARDS='via82xx' emerge alsa-driver
2.
3.




System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif jpeg libg++ libwww mad
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga java guile ruby
postgres X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde
motif opengl mozilla cdr cups tcltk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon -O3 -pipe"
CXXFLAGS="-mcpu=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-08-22 05:30:25 UTC
You have not compiled your kernel in /usr/src/linux. You need to at least run "make menuconfig" and "make dep". Resolving as this is obvious: no modversions.h = no deps are made in the kernel tree. Please reopen this bug if you experience to have problems...

[It looks like you are using a bootCD or something and you are not in a chroot environment too...Make sure you 'chroot /path/to/root']
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-08-22 05:35:18 UTC
*** Bug 27105 has been marked as a duplicate of this bug. ***
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-08-23 04:55:37 UTC
Reported as resolved by reporter.