Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 1998 09:01:49 +0200
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: =?us-ascii?Q?_Can=B4t?= compile CURRENT Kernel with i4b-0.62 
Message-ID:  <199806180701.JAA04922@peedub.muc.de>
In-Reply-To: Your message of "Thu, 18 Jun 1998 08:54:58 %2B0200." <199806180654.IAA04885@peedub.muc.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
I forgot to send this to the list.

Gary Jennejohn writes:
>Michael Bielicki writes:
>>Now I get:
>>
>>root@cyprus(53)# cd VDS-I/
>>root@cyprus(54)# 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_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
>>                   
>
>I don't use the telephone stuff, that's why I missed it. Here's a (trivial)
>diff
>
>*** driver/i4b_tel.c.orig	Thu Jun 18 08:44:56 1998
>--- driver/i4b_tel.c	Thu Jun 18 08:46:34 1998
>***************
>*** 259,265 ****
>--- 259,269 ----
>   *	i4btelioctl - device driver ioctl routine
>   *--------------------------------------------------------------------------
>-*/
>  PDEVSTATIC int
>+ #if defined(__FreeBSD_version) && __FreeBSD_version >= 300003
>+ i4btelioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
>+ #else
>  i4btelioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
>+ #endif
>  {
>  	int error = 0;
>  	tel_sc_t *sc = &tel_sc[minor(dev)];
>
>---
>Gary Jennejohn
>Home - garyj@muc.de
>Work - garyj@fkr.dec.com
>
>

---
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806180701.JAA04922>