Date: Thu, 16 May 2002 13:14:01 -0400 From: Mike Barcroft <mike@FreeBSD.org> To: Riccardo Torrini <riccardo@torrini.org> Cc: ports@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: /usr/ports/emulators/bochs on -CURRENT Message-ID: <20020516131401.E66219@espresso.q9media.com> In-Reply-To: <XFMail.20020516111635.riccardo@torrini.org>; from riccardo@torrini.org on Thu, May 16, 2002 at 11:16:35AM %2B0200 References: <XFMail.20020516111635.riccardo@torrini.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Best regards, Mike Barcroft 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?20020516131401.E66219>