Date: Thu, 24 Jul 1997 10:50:21 -0400 (EDT) From: Chuck Robey <chuckr@glue.umd.edu> To: Poul-Henning Kamp <phk@dk.tfs.com> Cc: current@FreeBSD.ORG, luigi@labinfo.iet.unipi.it, msmith@FreeBSD.ORG Subject: Re: kernel make error ? Message-ID: <Pine.BSF.3.96.970724104405.9769A-100000@Journey2.mat.net> In-Reply-To: <7656.869750443@critter.dk.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jul 1997, Poul-Henning Kamp wrote: > > is this just my problem ? > > critter# make > cc -c -O2 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdinc -I- -I. -I../.. -I../../../include -DDIAGNOSTIC -DCOMPAT_43 -DFFS -DINET -DKERNEL -include opt_global.h ../../i386/isa/isa.c > ../../i386/isa/isa.c:906: conflicting types for `isa_dmastatus' > ../../i386/isa/isa_device.h:120: previous declaration of `isa_dmastatus' > *** Error code 1 I was just about to send "nope, it compiles fine for me" when another ctm update came in and saved me that embarrassment. The problem seems to have come in from Mike Smith's recent commit of a fix from Luigi Rizzo (probably from all the sound stuff he's working on). The new function isa_dmastart has been defined as a int in isa.c, but as a void in isa_dmastart.h. I don't know which is right, so I'm reposting here. I'd think the int would be right from the code, tho, because it seems to be returning something with some intelligence in it. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970724104405.9769A-100000>