Date: Sun, 02 Apr 2000 18:18:39 +0200 From: Norbert Irmer <norbert.irmer@heim9.tu-clausthal.de> To: Cameron Grant <cg@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/sound/pci emu10k1.c emu10k1.h Message-ID: <38E772DE.91D07D2D@heim9.tu-clausthal.de> References: <200004020741.XAA33619@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Cameron Grant wrote: > > cg 2000/04/01 23:41:21 PST > > Added files: > sys/dev/sound/pci emu10k1.c emu10k1.h > Log: > unfinished sblive driver, playback/mixer only for now - not enabled in > conf/files > I tried to compile the driver but I had undefined symbols (DISABLE, ENV_ON, and ENV_OFF): bash-2.03# make cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../dev/sound/pci/emu10k1.c ../../dev/sound/pci/emu10k1.c: In function `emu_vwrite': ../../dev/sound/pci/emu10k1.c:437: `ENV_OFF' undeclared (first use in this function) ../../dev/sound/pci/emu10k1.c:437: (Each undeclared identifier is reported only once ../../dev/sound/pci/emu10k1.c:437: for each function it appears in.) ../../dev/sound/pci/emu10k1.c:499: warning: implicit declaration of function `emu_vdump' ../../dev/sound/pci/emu10k1.c: In function `emu_vtrigger': ../../dev/sound/pci/emu10k1.c:532: `ENV_ON' undeclared (first use in this function) ../../dev/sound/pci/emu10k1.c: At top level: ../../dev/sound/pci/emu10k1.c:553: warning: `emu_vdump' was used with no prototype before its definition ../../dev/sound/pci/emu10k1.c:553: warning: `emu_vdump' was declared implicitly `extern' and later `static' ../../dev/sound/pci/emu10k1.c:499: warning: previous declaration of `emu_vdump' ../../dev/sound/pci/emu10k1.c:553: warning: type mismatch with previous implicit declaration ../../dev/sound/pci/emu10k1.c:499: warning: previous implicit declaration of `emu_vdump' ../../dev/sound/pci/emu10k1.c:553: warning: `emu_vdump' was previously implicitly declared to return `int' ../../dev/sound/pci/emu10k1.c: In function `emu_init': ../../dev/sound/pci/emu10k1.c:915: `DISABLE' undeclared (first use in this function) ../../dev/sound/pci/emu10k1.c:923: `ENV_OFF' undeclared (first use in this function) *** Error code 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E772DE.91D07D2D>
