sound/driver/hda and ia64

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Oct 2 05:22:46 PDT 2006


During a "make universe" ia64 fails with the following errors.

I wouldn't expect a sound driver to call any of those functions at
all, what's going on ?


===> sound/driver/hda (all)
cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostd
inc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/ia64/src/src0/src/sys/M
AC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-uni
t-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/ia64/s
rc/src0/src/sys/MAC -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding
 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototy
pes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -c /src/sr
c0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
 In function `hdac_dma_nocache':
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
999: warning: implicit declaration of function `vtopte'
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
999: warning: nested extern declaration of `vtopte'
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
999: warning: assignment makes pointer from integer without a cast
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
1001: error: `PG_N' undeclared (first use in this function)
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
1001: error: (Each undeclared identifier is reported only once
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
1001: error: for each function it appears in.)
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
1002: warning: implicit declaration of function `invltlb'
/src/src0/src/sys/modules/sound/driver/hda/../../../../dev/sound/pci/hda/hdac.c:
1002: warning: nested extern declaration of `invltlb'

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list