From owner-freebsd-current Thu May 16 10:44: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from leviathan.inethouston.net (leviathan.inethouston.net [66.64.12.249]) by hub.freebsd.org (Postfix) with ESMTP id 841ED37B408; Thu, 16 May 2002 10:43:56 -0700 (PDT) Received: by leviathan.inethouston.net (Postfix, from userid 1001) id 0C19A3198CE; Thu, 16 May 2002 12:43:59 -0500 (CDT) Date: Thu, 16 May 2002 12:43:59 -0500 From: "David W. Chapman Jr." To: Mike Barcroft Cc: Riccardo Torrini , ports@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: /usr/ports/emulators/bochs on -CURRENT Message-ID: <20020516174358.GB18192@leviathan.inethouston.net> Reply-To: "David W. Chapman Jr." Mail-Followup-To: Mike Barcroft , Riccardo Torrini , ports@FreeBSD.org, freebsd-current@FreeBSD.org References: <20020516131401.E66219@espresso.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020516131401.E66219@espresso.q9media.com> User-Agent: Mutt/1.3.99i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 16, 2002 at 01:14:01PM -0400, Mike Barcroft wrote: > Riccardo Torrini 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. dwcjr@freebsd.org FreeBSD Committer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message