View previous topic :: View next topic |
Author |
Message |
Hypur3volve n00b
Joined: 29 Apr 2004 Posts: 8
|
Posted: Wed May 05, 2004 3:11 am Post subject: emerging alsa fails... |
|
|
here's a log of what happens when i try to emerge alsa...
Quote: | setup
unpack
>>> Unpacking source...
>>> Unpacking alsa-driver-1.0.4.tar.bz2 to /var/tmp/portage/alsa-driver-1.0.4-r1/work
[32;01m*[0m Applying alsa-driver-1.0.4-devfix.patch...
[A[73G [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m /usr/src/linux is a symbolic link
[32;01m*[0m Determining the real directory of the Linux kernel source code
[32;01m*[0m Building for Linux 2.4.20-gaming-r8 found in /usr/src/linux
[32;01m*[0m /usr/src/linux is a symbolic link
[32;01m*[0m Determining the real directory of the Linux kernel source code
[32;01m*[0m Building for Linux 2.4.20-gaming-r8 found in /usr/src/linux
>>> Source unpacked.
compile
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 file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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... /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.20-gaming-r8
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
*** 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 built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking to modify of kernel linux/kmod.h... "no"
Removing a dummy linux/kmod.h.
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 linux/dma-mapping.h... "no"
checking for kernel asm/hw_irq.h... "yes"
Removing a dummy asm/hw_irq.h.
checking for kernel linux/device.h... "no"
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 exported symbol dump_stack... "yes"
checking for kernel module symbol versions... "no"
checking for PCI support in kernel... "no"
checking for Experimental drivers in kernel... "no"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-gaming-r8/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 Video device support in kernel... "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"
no
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for scnprintf... "no"
checking for vmalloc_to_page... "no"
checking for old kmod... "yes"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for tty->count is the atomic type... "no"
Removing local linux/isapnp.h.
checking for driver version... 1.0.4
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... intel8x0
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 utils/alsasound
config.status: creating utils/alsasound.posix
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
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
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
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore/ioctl32'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore/ioctl32'
make -C oss fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore/oss'
copying file alsa-kernel/core/oss/mixer_oss.c
patching file mixer_oss.c
Hunk #1 succeeded at 381 (offset 5 lines).
copying file alsa-kernel/core/oss/pcm_oss.c
patching file pcm_oss.c
Hunk #1 succeeded at 2211 (offset 130 lines).
Hunk #2 succeeded at 2389 (offset 138 lines).
Hunk #3 succeeded at 2537 (offset 138 lines).
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 -nostdinc -iwithprefix include -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss -fno-omit-frame-pointer 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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from mixer_oss.c:22:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from pcm_oss.c:29:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/pcm_plugin.c:27,
from pcm_plugin.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/io.c:22,
from io.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/copy.c:22,
from copy.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/linear.c:23,
from linear.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/mulaw.c:24,
from mulaw.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/route.c:22,
from route.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/alsa-kernel/core/oss/rate.c:22,
from rate.c:2:
/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.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:4,
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 /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/adriver.h:67,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/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 `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore/oss'
make[2]: *** [_sfdep_oss] Error 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4'
make: *** [include/sndversions.h] Error 2
!!! ERROR: media-sound/alsa-driver-1.0.4-r1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! Parallel Make Failed |
i thought maybe turning off parallel makes would fix it, but that changed nothing. is this a bug in the make file? -- maybe this is just a conflict with the kernel i'm using... i really have no idea.
it may be worth noting that i think i built the kernel with the sound support built in instead of a module, possibly i should rebuild the kernel making the sound system a module.
thanks for any help. |
|
Back to top |
|
|
Woody Guru
Joined: 30 Nov 2002 Posts: 592 Location: Milwaukee
|
Posted: Wed May 05, 2004 4:03 am Post subject: |
|
|
Do you have a sym link to the kernel source tree in /usr/src? |
|
Back to top |
|
|
Hypur3volve n00b
Joined: 29 Apr 2004 Posts: 8
|
Posted: Wed May 05, 2004 11:48 pm Post subject: |
|
|
to answer your question, yes -- i did.
i decided to go ahead and go with the 2.6 kernel anyway, it has alsa built in. the sound doesn't actually work, but that's a different subject, lol. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|