On Thu, May 16, 2002 at 01:14:01PM -0400, Mike Barcroft wrote:
> Riccardo Torrini <[EMAIL PROTECTED]> writes:
> > # cd /usr/ports/emulators/bochs && make
> > [...]
> > gmake: Entering directory `/usr/ports/emulators/bochs/work/bochs-1.4/iodev'
> > [...]
> > c++ -c -O2 -pipe -march=pentiumpro -fno-rtti -fno-exceptions
> > -fomit-frame-pointer -I/usr/X11R6/include -I.. -I./..
> > -I../instrument/stubs -I./../instrument/stubs cdrom.cc -o cdrom.o
> > In file included from cdrom.cc:40:
> > /usr/include/arpa/inet.h:102: conflicting types for `typedef __uint32_t
> > socklen_t'
> > ../osdep.h:105: previous declaration as `typedef int socklen_t'
> > gmake: *** [cdrom.o] Error 1
> > gmake: Leaving directory `/usr/ports/emulators/bochs/work/bochs-1.4/iodev'
> > gmake: *** [iodev/libiodev.a] Error 2
> > *** Error code 2
> The problem appears to be that osdep.h is defining types it should not
> be defining. Software should include system headers to get new types,
> not try and out-smart the OS by defining its own (possibly incorrect)
There is a patch in gnats to fix this error, but it still has errors,
pat@ is currently looking at this and I'm building patches for him
since I have a -current machine
> Best regards,
> Mike Barcroft
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
David W. Chapman Jr.
[EMAIL PROTECTED] Raintree Network Services, Inc. <www.inethouston.net>
[EMAIL PROTECTED] FreeBSD Committer <www.FreeBSD.org>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message