compiling snd-code stops:

mike mike at Reifenberger.com
Sun Jan 11 05:03:01 PST 2004


Hi,

make depend fails because of:

--- emu10k1.c   Sun Jan 11 14:01:16 2004
+++ emu10k1.c.new       Sun Jan 11 13:50:46 2004
@@ -30,5 +30,5 @@
 #include <dev/sound/pcm/ac97.h>
 #include <gnu/dev/sound/pci/emu10k1.h>
-#include <gnu/dev/sound/pci/emu10k1-alsa%diked.h>
+#include <gnu/dev/sound/pci/emu10k1-alsa.h>

 #include <dev/pci/pcireg.h>

make all fails of:

===> sound/driver/emu10k1
cc -O2 -pipe -march=pentium3  -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include
/usr/src/sys/i386/compile/nihil/opt_global.h -I. -I@ -I@/../include
-finline-limit=15000 -fno-common -g -I/usr/src/sys/i386/compile/nihil
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
/usr/src/sys/dev/sound/pci/emu10k1.c
In file included from /usr/src/sys/dev/sound/pci/emu10k1.c:32:
@/gnu/dev/sound/pci/emu10k1-alsa.h:1298: error: syntax error before
"snd_ctl_elem_id_t"
@/gnu/dev/sound/pci/emu10k1-alsa.h:1318: error: syntax error before
"snd_ctl_elem_id_t"
/usr/src/sys/dev/sound/pci/emu10k1.c: In function `emu_init':
/usr/src/sys/dev/sound/pci/emu10k1.c:1795: error: `HCFG_GPOUT1' undeclared
(first use in this function)
/usr/src/sys/dev/sound/pci/emu10k1.c:1795: error: (Each undeclared identifier is
reported only once
/usr/src/sys/dev/sound/pci/emu10k1.c:1795: error: for each function it appears
in.)
/usr/src/sys/dev/sound/pci/emu10k1.c: In function `emu_pci_attach':
/usr/src/sys/dev/sound/pci/emu10k1.c:1904: error: `A_PTR_ADDRESS_MASK'
undeclared (first use in this function)
*** Error code 1


Bye/2
---
Michael Reifenberger, Business Unit Manager SAP-Basis, Plaut Consulting
Comp: Michael.Reifenberger at plaut.de | Priv: Michael at Reifenberger.com
      http://www.plaut.de           |       http://www.Reifenberger.com



More information about the freebsd-current mailing list