Subject: pkg/7009: mit-pthreads pkg no longer compiles under -current
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nigel@nelgin.nu>
List: netbsd-bugs
Date: 02/16/1999 05:09:31
>Number:         7009
>Category:       pkg
>Synopsis:       mit-pthreads no longer compiles under -current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 15 21:05:00 1999
>Last-Modified:
>Originator:     Nigel Reed
>Organization:
>Release:        19990215 and pkgsup 19990215
>Environment:
	
System: NetBSD c33947-c 1.3I NetBSD 1.3I (NELGIN) #6: Sun Feb 14 11:45:52 CST 1999 nigel@c33947-c:/usr/src/sys/arch/i386/compile/NELGIN i386


>Description:
cc -O2 -O2 -Werror  -I/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6 -I
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/include -I/usr/pkgsrc/de
vel/mit-pthreads/work/pthreads-1_60_beta6/include -DPTHREAD_KERNEL  -Werror   -I
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6 -I/usr/pkgsrc/devel/mit-
pthreads/work/pthreads-1_60_beta6/include -I/usr/pkgsrc/devel/mit-pthreads/work/
pthreads-1_60_beta6/include -DPTHREAD_KERNEL -c /usr/pkgsrc/devel/mit-pthreads/w
ork/pthreads-1_60_beta6/pthreads/fd_kern.c
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1082:
 conflicting types for `bind'
/usr/include/sys/socket.h:400: previous declaration of `bind'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1104:
 conflicting types for `connect'
/usr/include/sys/socket.h:401: previous declaration of `connect'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1152:
 conflicting types for `accept'
/usr/include/sys/socket.h:399: previous declaration of `accept'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1341:
 conflicting types for `sendto'
/usr/include/sys/socket.h:412: previous declaration of `sendto'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1567:
 conflicting types for `recvfrom'
/usr/include/sys/socket.h:408: previous declaration of `recvfrom'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1717:
 conflicting types for `setsockopt'
/usr/include/sys/socket.h:414: previous declaration of `setsockopt'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1739:
 conflicting types for `getsockopt'
/usr/include/sys/socket.h:404: previous declaration of `getsockopt'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1761:
 conflicting types for `getsockname'
/usr/include/sys/socket.h:403: previous declaration of `getsockname'
/usr/pkgsrc/devel/mit-pthreads/work/pthreads-1_60_beta6/pthreads/fd_kern.c:1783:
 conflicting types for `getpeername'
/usr/include/sys/socket.h:402: previous declaration of `getpeername'
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1
>How-To-Repeat:
cd /usr/pkgsrc/devel/mit-ptheads
make
(this also happens with the my-sql version of mit-pthreads)
>Fix:
>Audit-Trail:
>Unformatted: