[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-dev
Subject:    Re: [Bochs-developers] Compile error - OSX Leopard 10.5.1
From:       "Ero Carrera" <ero.carrera () gmail ! com>
Date:       2007-12-20 17:34:47
Message-ID: 8a9bfa5b0712200934t4c9050f0j49b6175ccca01046 () mail ! gmail ! com
[Download RAW message or body]

I saw that today too:

In "bochs.h" the  #elif BX_WITH_CARBON

is missing a:

#  include <sys/time.h>

if one does not enable Carbon it compiles just fine.


On Dec 20, 2007 6:05 PM, Patrick Rose <patrick@stonecore.com> wrote:
> I thought I would try Bochs on OSX Leopard.
>
> Here are the details:
>
> bochs-20071219
>
> Configure settings:
>
> set echo
> CFLAGS="-arch ppc -arch i386 -pipe -O3 -I/sw/include -fomit-frame-pointer
> -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16
> -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15
> -fprefetch-loop-arrays $CFLAGS"
> CPATH="/sw/include"
> CPPFLAGS=""
> CXXFLAGS="$CFLAGS"
> LDFLAGS="-arch ppc -arch i386 -L/sw/lib"
>
> export CFLAGS
> export CPATH
> export CPPFLAGS
> export CXXFLAGS
> export LDFLAGS
>
> ./configure --enable-sb16=osx \
>             --with-carbon \
>             --with-x11 \
>         --enable-xpm \
>         --enable-ne2000 \
>         --enable-all-optimizations \
>             --enable-cpu-level=5 \
>             --enable-show-ips \
>             --enable-pci \
>             --enable-clgd54xx \
>             --enable-usb \
>         --enable-plugins \
>         ${CONFIGURE_ARGS}
>
> 'make' fails with this error:
>
> osdep.cc: In function ŒBit64u bx_get_realtime64_usec()¹:
> osdep.cc:344: error: Œgettimeofday¹ was not declared in this scope
> osdep.cc: In function ŒBit64u bx_get_realtime64_usec()¹:
> osdep.cc:344: error: Œgettimeofday¹ was not declared in this scope
> lipo: can't open input file:
> /var/folders/qw/qwdUJmX6EX8gf7FGm8KH6U+++TI/-Tmp-//ccatFxH6.out (No such
> file or directory)
> make: *** [osdep.o] Error 1
>
>
> Thanks.
> Patrick
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> bochs-developers mailing list
> bochs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bochs-developers
>



-- 
ero

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
bochs-developers mailing list
bochs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-developers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic