I just migrated from Linux to Mac, and being the impatient person I am
I decided to have a go at compiling virtualBox on my iMac, which is running
10.5.1. I followed the Mac OSX build instructions, and things came to a halt
with the output below.
Anyway, I'm a proficient computer user with some experience of compiling
things on Linux systems, but by no means a real Unix boffin. Is it worth
me pursuing this and trying to get it to compile (and risk driving you all
nuts with inane questions)? Or am I best off waiting until a new release
comes out? If the former, can anyone help with my problem?
Thanks!
Tom
kBuild: Compiling RuntimeR3 - generic/RTLogWriteUser-generic.cpp
kBuild: Compiling RuntimeR3 - generic/semfastmutex-generic.cpp
kBuild: Compiling RuntimeR3 - generic/spinlock-generic.cpp
kBuild: Compiling RuntimeR3 - generic/env-generic.cpp
/usr/local/virtualbox/VirtualBox-1.5.4_OSE/src/VBox/Runtime/generic/
env-generic.cpp: In function 'int RTEnvClone(RTENVINTERNAL**, const
char* const*)':
/usr/local/virtualbox/VirtualBox-1.5.4_OSE/src/VBox/Runtime/generic/
env-generic.cpp:146:error: 'environ' was not declared in this scope
/usr/local/virtualbox/VirtualBox-1.5.4_OSE/src/VBox/Runtime/generic/
env-generic.cpp:164:error: 'environ' was not declared in this scope
kmk[3]: ***
[/usr/local/virtualbox/VirtualBox-1.5.4_OSE/out/darwin.x86/release/obj/
src/VBox/Runtime/RuntimeR3/generic/env-generic.o] Error 1
The failing command:
@g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs
-Wno-variadic-macros -pipe -O2 -mtune=generic -fno-omit-frame-pointer
-fno-strict-aliasing -fvisibility-inlines-hidden
-fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN
-I/usr/local/virtualbox/VirtualBox-1.5.4_OSE/src/libs/liblzf-1.51
-I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers
-I/usr/local/virtualbox/VirtualBox-1.5.4_OSE/include -I/usr/local/
virtualbox/VirtualBox-1.5.4_OSE/out/darwin.x86/release -Iinclude
-DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DRT_OS
_DARWIN -D__DARWIN__ -DRT_ARCH_X86 -D__X86__
-DVBOX_WITH_HYBIRD_32BIT_KERNEL -DIN_RING3 -DHC_ARCH_BITS=32 -D
GC_ARCH_BITS=32 -DIN_RT_R3 -DIN_SUP_R3 -DLDR_WITH_NATIVE
-DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -Wp,-
MD,/usr/local/virtualbox/VirtualBox-1.5.4_OSE/out/darwin.x86/release/
obj/src/VBox/Runtime/RuntimeR3/generic/
env-generic.o.dep
-Wp,-MT,/usr/local/virtualbox/VirtualBox-1.5.4_OSE/out/darwin.x86/
release/obj/src/VBox/Run
time/RuntimeR3/generic/env-generic.o -Wp,-MP -o
/usr/local/virtualbox/VirtualBox-1.5.4_OSE/out/darwin.x86/re
lease/obj/src/VBox/Runtime/RuntimeR3/generic/env-generic.o
/usr/local/virtualbox/VirtualBox-1.5.4_OSE/src/VB
ox/Runtime/generic/env-generic.cpp
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users