Sie sind nicht angemeldet.

1

17.04.2004, 20:44

emerge alsa-driver !!

Also ich möchte diesen befehl ausführen : [code:1]env ALSA_CARDS='snd-intel8x0' emerge alsa-driver[/code:1]doch wenn er am compilieren is kommt folgender Fehler :[code:1]/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3'
make: *** [include/sndversions.h] Error 2

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

tab root #[/code:1]
Bitte helft mir !!

2

18.04.2004, 09:45

Hi

Bin zwar noch kein Gentoo-Guru aber versuchs mal damit...

[code:1]env ALSA_CARDS="intel8x0" emerge alsa-driver[/code:1]

Auf der Homepage von Alsa kann man auch nachsehen wie die Module für die Soundkarten richtig heißen.


Dirk
Intel Core2 Quad CPU @ 2.40GHz mit Gentoo/Gnome3

3

18.04.2004, 14:37

Falls du es oben nich gesehen hast [code:1]
env ALSA_CARDS='snd-intel8x0' emerge alsa-driver[/code:1] und auch wenn ich es so mace [code:1]env ALSA_CARDS='intel8x0' emerge alsa-driver[/code:1]bekomme ich den fehler ! :[code:1]
/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3'
make: *** [include/sndversions.h] Error 2

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

tab root #[/code:1]

4

18.04.2004, 15:17

Na ja, war ein Versuch wert. Die Fehlermeldung ist ja auch sehr aussagekräftig, besonders wenn man die wichtigen Zeilen wegläst! Wenn du mal die Suche bemühst wirst du feststellen das das fast immer da steht. Wichtiger sind die Zeilen die noch weiter oben stehen und die könntest du Posten!


Dirk
Intel Core2 Quad CPU @ 2.40GHz mit Gentoo/Gnome3

5

18.04.2004, 15:40

ok wenn du meinst , hier is der ganze auszug : [code:1]tab root # env ALSA_CARDS='intel8x0' emerge alsa-driver
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/alsa-driver-1.0.3 to /
>>> md5 src_uri ;-) alsa-driver-1.0.3.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-driver-1.0.3.tar.bz2 to /var/tmp/portage/alsa-driver-1.0.3/work
* Applying makefile.patch... [ ok ]
* Applying alsa-driver-0.9.8-au-fix.patch... [ ok ]
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.4.20-gentoo-r6 found in /usr/src/linux
* /usr/src/linux is a symbolic link
* Determining the real directory of the Linux kernel source code
* Building for Linux 2.4.20-gentoo-r6 found in /usr/src/linux
>>> 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 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.3/work/alsa-driver-1.0.3
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for kernel version... 2.4.20-gentoo-r6
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, 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 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 SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-gentoo-r6/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.3
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
make dep
make[1]: Entering directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3'
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'
make[2]: Entering directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/ioctl32'
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore/ioctl32'
make -C oss fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/include/sound/driver.h:29,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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 /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/adriver.h:126,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/include/sound/driver.h:42,
from /var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/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.3/work/alsa-driver-1.0.3/acore/oss'
make[2]: *** [_sfdep_oss] Error 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.3/work/alsa-driver-1.0.3'
make: *** [include/sndversions.h] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.3 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! Parallel Make Failed[/code:1]

6

18.04.2004, 16:33

OK, dein Problem ist das

Zitat

/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory


Warum das so ist weis ich jetzt auch nicht, aber ich denke damit findest du eher was. Es könnte natürlich damit zu tun haben

Zitat

checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, 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.


was aber nur geraten ist.


Dirk
Intel Core2 Quad CPU @ 2.40GHz mit Gentoo/Gnome3

7

18.04.2004, 16:56

ok und was willst du mir damit sagen ?
Bzw was soll i jetzt machen ?

PS.: Danke schon ma fuer deine bemuehungen !

8

18.04.2004, 17:18

1.

Du sucht nach der Fehlermeldung im Internet, hoffe nur dir ist die englische Sprache geläufig. In deutsch wirste nix finden. Habe übprigens mal gegoogelt und es sind viele viele Beiträge da.
Was mich wundert ist, das die autoconf.h nicht da ist. Mach mal ein
[code:1]find /usr/src | grep autoconf[/code:1]

2.

Mach den Kernel und die Module neu! Ich weis ja nicht was du so mit deinem System alles gemacht hast und schon gar nicht wie du ihn konfiguriert hast. Außerdem ist der 2.4.20 eh schon etwas älter.


Also viel spass und nur nicht aufgeben, und wenn noch Probleme auftauchen --> Fragen


Dirk


Hab ich noch auf die schnelle gefunden.

/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or autoconf.h
It will be generated by make cloneconfig.
Intel Core2 Quad CPU @ 2.40GHz mit Gentoo/Gnome3

9

18.04.2004, 17:35

Nagut danke fuer deine hilfe , dann werd i mi ma dran machen und den dev-kernel-2.6.6 drauf hauen !
Noch ma danke !

10

18.04.2004, 18:36

Na ja, wenn du meist das das sinnvoll ist. Ein Update von 2.4 auf 2.6 ist nicht gerade mal eben gemacht. Ich hätte zumindest erst den 2.4.25.genommen oder mal ein

[code:1]make cloneconfig[/code:1]

in /usr/src/linux abgesetzt und dann versucht ob alsa sich emergen läst. Aber ich will dir nix aufdrängen. Wünsche dir trotzdem viel erfolg.....


Dirk
Intel Core2 Quad CPU @ 2.40GHz mit Gentoo/Gnome3

11

18.04.2004, 20:50

Zitat

Original von Dirk_G


in /usr/src/linux abgesetzt und dann versucht ob alsa sich emergen läst. Aber ich will dir nix aufdrängen. Wünsche dir trotzdem viel erfolg.....


Wozu beim 2.6er noch Also emergen .. höchstens die Alsa-tools .. der Rest ist doch eh schon komplett im kernel!
geschrieben von City][Sepp

Und schau vor allem mal, ob Du da auch ein richtiges Betriebssystem drauf hast. Oftmals haben die Leute da versehentlich Windows installiert.

12

18.04.2004, 20:50

äääh, also soll Alsa heißen :wink:
geschrieben von City][Sepp

Und schau vor allem mal, ob Du da auch ein richtiges Betriebssystem drauf hast. Oftmals haben die Leute da versehentlich Windows installiert.

13

19.04.2004, 14:36

also ich hab auf meinem system ruckzuck auf den 2.6er geupdatet gehabt. war eigentlich kein ding. und dann hast du ja, wie schon festgestellt, auch nicht mehr das problem, dass du alsa mergen musst.

grüße.