From owner-freebsd-current Thu Jul 24 07:50:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA02529 for current-outgoing; Thu, 24 Jul 1997 07:50:39 -0700 (PDT) Received: from cais.cais.com (root@cais.com [199.0.216.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA02521; Thu, 24 Jul 1997 07:50:24 -0700 (PDT) Received: from earth.mat.net (root@[206.246.122.2]) by cais.cais.com (8.8.5/CJKv1.99-CAIS) with SMTP id KAA11830; Thu, 24 Jul 1997 10:50:16 -0400 (EDT) Received: from Journey2.mat.net (journey2.mat.net [206.246.122.116]) by earth.mat.net (8.6.12/8.6.12) with SMTP id KAA20999; Thu, 24 Jul 1997 10:50:14 -0400 Date: Thu, 24 Jul 1997 10:50:21 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@Journey2.mat.net To: Poul-Henning Kamp cc: current@FreeBSD.ORG, luigi@labinfo.iet.unipi.it, msmith@FreeBSD.ORG Subject: Re: kernel make error ? In-Reply-To: <7656.869750443@critter.dk.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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! ----------------------------+-----------------------------------------------