From owner-freebsd-isdn Wed Jun 17 04:57:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05147 for freebsd-isdn-outgoing; Wed, 17 Jun 1998 04:57:24 -0700 (PDT) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from relay.linkdesign.com (relay.linkdesign.com [194.42.128.250] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA05131 for ; Wed, 17 Jun 1998 04:57:21 -0700 (PDT) (envelope-from Michael.Bielicki@linkdesign.com) Received: from cyprus.vds.linkdesign.com (dhost35.bln.de [62.144.104.35]) by relay.linkdesign.com (8.8.8/8.8.6) with ESMTP id OAA15989; Wed, 17 Jun 1998 14:57:01 +0300 (EEST) Received: from misio.vds.linkdesign.com (misio.vds.linkdesign.com [192.168.0.167]) by cyprus.vds.linkdesign.com (8.8.8/8.8.8) with ESMTP id NAA13577; Wed, 17 Jun 1998 13:57:05 +0200 (CEST) (envelope-from Michael.Bielicki@Linkdesign.com) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) In-Reply-To: <199806171126.NAA03572@peedub.muc.de> Date: Wed, 17 Jun 1998 13:57:08 +0200 (CEST) Reply-To: Michael Bielicki Organization: Link Design International Ltd. From: Michael Bielicki To: Gary Jennejohn Subject: Re:=?us-ascii?Q?_Can=B4t?= compile CURRENT Kernel with i4b-0.62 Cc: freebsd-isdn@FreeBSD.ORG Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmmm, now I get: cc -c -O -m486 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h ../../i4b/driver/i4b_tel.c ../../i4b/driver/i4b_tel.c:263: conflicting types for `i4btelioctl' ../../i4b/driver/i4b_tel.c:129: previous declaration of `i4btelioctl' *** Error code 1 On 17-Jun-98 Gary Jennejohn shaped the electrons to say: > Michael Bielicki writes: >>Hi Folks, >>I get the following error when compiling a kernel with i4b on CURRENT as of >>today >> >>root@cyprus(5)# make >>cc -c -O -m486 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit >>-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith >>-Winline -Wuninitialized -ansi -nostdinc -I- -I. -I../.. -I../../../include >>-DKERNEL -include opt_global.h ../../i4b/driver/i4b_trace.c >>../../i4b/driver/i4b_trace.c:414: conflicting types for `i4btrcioctl' >>../../i4b/driver/i4b_trace.c:124: previous declaration of `i4btrcioctl' >>*** Error code 1 >> >>Stop. >>root@cyprus(6)# >> >>Got any ideas ? >> > > maybe you've already fixed this, but here are some patches I sent to > Hellmuth - > ====================================== > *** driver/i4b_ctl.c.orig Sun Jun 14 12:44:11 1998 > --- driver/i4b_ctl.c Sun Jun 14 12:42:58 1998 > *************** > *** 190,196 **** > --- 190,200 ---- > * i4bctlioctl - device driver ioctl routine > > *---------------------------------------------------------------------------*/ > PDEVSTATIC int > + #if defined (__FreeBSD_version) && __FreeBSD_version >= 300003 > + i4bctlioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) > + #else > i4bctlioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) > + #endif > { > ctl_debug_t *cdbg; > int error = 0; > *** driver/i4b_trace.c.orig Sun Jun 14 12:40:06 1998 > --- driver/i4b_trace.c Sun Jun 14 12:41:13 1998 > *************** > *** 410,416 **** > --- 410,420 ---- > * device driver ioctl routine > > *---------------------------------------------------------------------------*/ > PDEVSTATIC int > + #if defined (__FreeBSD_version) && __FreeBSD_version >= 300003 > + i4btrcioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) > + #else > i4btrcioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) > + #endif > { > int error = 0; > int unit = minor(dev); > *** layer4/i4b_i4bdrv.c.orig Sun Jun 14 12:44:32 1998 > --- layer4/i4b_i4bdrv.c Sun Jun 14 12:46:15 1998 > *************** > *** 63,68 **** > --- 63,69 ---- > #if defined(__FreeBSD__) && __FreeBSD__ >= 3 > #include > #include > + #include > #else > #include > #endif > *************** > *** 248,254 **** > --- 249,259 ---- > * i4bioctl - device driver ioctl routine > > *---------------------------------------------------------------------------*/ > PDEVSTATIC int > + #if defined (__FreeBSD_version) && __FreeBSD_version >= 300003 > + i4bioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) > + #else > i4bioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) > + #endif > { > call_desc_t *cd; > int error = 0; > > --- > Gary Jennejohn > Home - garyj@muc.de > Work - garyj@fkr.dec.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isdn" in the body of the message -------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message