Subject: Compile failure ...
To: None <current-users@NetBSD.ORG>
From: Tim Liddelow <tim@cst.com.au>
List: current-users
Date: 03/07/1996 08:48:11
I've supped as of 6th of March, and a compile of the kernel fails :

cc  -O2 -Werror -I. -I../../../../arch -I../../../.. -DI386_CPU -DI486_CPU -DI56_CPU -DXSERVER -DUCONSOLE -DINSECURE -DMACHINE_NONCONTIG -DTIMEZONE="0" -DDST=0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDDB -DDIAGNOSTIC -DKTRACE -DSYSVMSG -DYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_10 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPA_LINUX -DCOMPAT_FREEBSD -DUSER_LDT -DLKM -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSRVER -DCD9660 -DMSDOSFS -DFDESC -DFIFO -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DINT -DGENERIC -D_KERNEL -Di386  -c ../../../../netinet/in_pcb.c
../../../../netinet/in_pcb.c: In function `in_pcballoc':
../../../../netinet/in_pcb.c:80: argument `v' doesn't match prototype
../../../../netinet/in_pcb.h:85: prototype declaration
../../../../netinet/in_pcb.c: In function `in_pcbbind':
../../../../netinet/in_pcb.c:104: argument `v' doesn't match prototype
../../../../netinet/in_pcb.h:86: prototype declaration
../../../../netinet/in_pcb.c: In function `in_pcbconnect':
../../../../netinet/in_pcb.c:187: argument `v' doesn't match prototype
../../../../netinet/in_pcb.h:87: prototype declaration
../../../../netinet/in_pcb.c: At top level:
../../../../netinet/in_pcb.c:297: conflicting types for `in_pcbdisconnect'
../../../../netinet/in_pcb.h:89: previous declaration of `in_pcbdisconnect'
../../../../netinet/in_pcb.c:310: conflicting types for `in_pcbdetach'
../../../../netinet/in_pcb.h:88: previous declaration of `in_pcbdetach'
../../../../netinet/in_pcb.c:332: conflicting types for `in_setsockaddr'
../../../../netinet/in_pcb.h:104: previous declaration of `in_setsockaddr'
../../../../netinet/in_pcb.c:348: conflicting types for `in_setpeeraddr'
../../../../netinet/in_pcb.h:103: previous declaration of `in_setpeeraddr'
../../../../netinet/in_pcb.c:447: conflicting types for `in_losing'
../../../../netinet/in_pcb.h:84: previous declaration of `in_losing'
*** Error code 1

Stop.



Any ideas ?
-- 
================================================================================
! Tim Liddelow (http://www.cst.com.au/~tim)                        _--_|\      !
! Software Engineer / Systems Administrator                       /      \     !
! Creative Software Technologies                                  \_.--.*/     !
! Phone:    +61 3 9587 1444          UNIX, C++/OOP, C, X11,             v      !
! email:    tim@cst.com.au           Networking, WWW, consulting               !
!===============================================================================