From owner-cvs-all Sun Apr 2 9:18:49 2000 Delivered-To: cvs-all@freebsd.org Received: from lola.heim10.tu-clausthal.de (lola.heim10.tu-clausthal.de [139.174.241.25]) by hub.freebsd.org (Postfix) with ESMTP id C235037BE5E; Sun, 2 Apr 2000 09:18:41 -0700 (PDT) (envelope-from norbert.irmer@heim9.tu-clausthal.de) Received: from heim9.tu-clausthal.de (localhost.heim10.tu-clausthal.de [127.0.0.1]) by lola.heim10.tu-clausthal.de (8.9.3/8.9.3) with ESMTP id SAA06252; Sun, 2 Apr 2000 18:18:39 +0200 (CEST) (envelope-from norbert.irmer@heim9.tu-clausthal.de) Message-ID: <38E772DE.91D07D2D@heim9.tu-clausthal.de> Date: Sun, 02 Apr 2000 18:18:39 +0200 From: Norbert Irmer X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Cameron Grant Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/sound/pci emu10k1.c emu10k1.h References: <200004020741.XAA33619@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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