Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2002 12:43:59 -0500
From:      "David W. Chapman Jr." <dwcjr@inethouston.net>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        Riccardo Torrini <riccardo@torrini.org>, ports@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: /usr/ports/emulators/bochs on -CURRENT
Message-ID:  <20020516174358.GB18192@leviathan.inethouston.net>
In-Reply-To: <20020516131401.E66219@espresso.q9media.com>
References:  <XFMail.20020516111635.riccardo@torrini.org> <20020516131401.E66219@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 16, 2002 at 01:14:01PM -0400, Mike Barcroft wrote:
> Riccardo Torrini <riccardo@torrini.org> writes:
> > # cd /usr/ports/emulators/bochs && make
> > [...]
> > gmake[1]: 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[1]: *** [cdrom.o] Error 1
> > gmake[1]: 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)
> types.

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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

-- 
David W. Chapman Jr.
dwcjr@inethouston.net	Raintree Network Services, Inc. <www.inethouston.net>
dwcjr@freebsd.org	FreeBSD Committer <www.FreeBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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