kern/109147: snd_envy24ht does not compile into kernel,
but module .ko does
O. Hartmann
ohartman at zedat.fu-berlin.de
Tue Feb 13 23:40:07 UTC 2007
>Number: 109147
>Category: kern
>Synopsis: snd_envy24ht does not compile into kernel, but module .ko does
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 13 23:40:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: O. Hartmann
>Release: FreeBSD 7.0-CURRENT/AMD64
>Organization:
Freie UNiversität Berlin
>Environment:
FreeBSD foo.org 7.0-CURRENT FreeBSD 7.0-CURRENT #91: Tue Feb 13 18:47:14 UTC 2007 root at foo.org:/usr/obj/usr/src/sys/FOO amd64
>Description:
Trying to compile driver snd_envy24ht into kernel fails (see below), but kernel module compiles well and is loadable. FreeBSD 7.0-CURRENT/AMD64 as cvsupdated and buildworld today:
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=opteron -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /usr/src/sys/dev/sound/pci/envy24ht.c
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_init':
/usr/src/sys/dev/sound/pci/envy24ht.c:1426: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1426: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1450: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1450: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1452: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1452: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1457: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1457: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_free':
/usr/src/sys/dev/sound/pci/envy24ht.c:1471: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1471: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1476: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1476: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_setformat':
/usr/src/sys/dev/sound/pci/envy24ht.c:1493: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1493: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1500: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1500: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1507: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1507: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1531: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1531: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_trigger':
/usr/src/sys/dev/sound/pci/envy24ht.c:1627: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1627: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1711: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1711: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_getptr':
/usr/src/sys/dev/sound/pci/envy24ht.c:1727: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1727: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1730: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1730: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htchan_getcaps':
/usr/src/sys/dev/sound/pci/envy24ht.c:1749: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1749: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c:1762: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1762: error: request for member `mtx_lock' in something not a structure or union
/usr/src/sys/dev/sound/pci/envy24ht.c: In function `envy24htmixer_init':
/usr/src/sys/dev/sound/pci/envy24ht.c:1796: warning: dereferencing `void *' pointer
/usr/src/sys/dev/sound/pci/envy24ht.c:1796: error: request for member `mtx_lock' in something not a structure or union
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list