Hi again, I have updated the build instructions on http://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions a little bit to include some tips when building VirtualBox on Snow Leopard 32bit. You need at least SVN revision 30123 for tip 2. Tip 1 should also working with older versions of the VirtualBox sources.
Please note that you need the *Cocoa* version of Qt in any case. Christian On 03/07/10 05:20, Nadav Samet wrote: > Hi, > > I am trying to compile the 3.1.4_OSE tarball on Snow Leopard. > > The instructions > at http://www.virtualbox.org/wiki/Mac%20OS%20X%20build%20instructions links > to page with a binary version of Qt4 compiled for i386. However, the > default target architecture in Snow Leopard is 64-bit. > > So I went ahead and did a 'sudo port install qt4-mac', went back into > the Virtual Box 3.1.4 directory and: > > $ ./configure --disable-hardening --with-openssl-dir=/opt/local/ > --with-qt4-dir=/opt/local/Library/ > ... > $ kmk > [...] > kBuild: Linking VBoxRT > Undefined symbols: > "_fopen$UNIX2003", referenced from: > _BIO_new_file in libcrypto.a(bss_file.o) > _file_ctrl in libcrypto.a(bss_file.o) > _open_console in libcrypto.a(ui_openssl.o) > _open_console in libcrypto.a(ui_openssl.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > kmk[2]: *** > [/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/obj/VBoxRT/VBoxRT.dylib] > Error 1 > The failing command: > @g++-4.0 -dynamiclib > -mmacosx-version-min=10.5 > -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk > -Wl,-headerpad_max_install_names -Wl,-no_compact_linkedit > -current_version 3.1.4 -framework IOKit -install_name > @executable_path/VBoxRT.dylib -m32 -read_only_relocs suppress -o > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/obj/VBoxRT/VBoxRT.dylib > -filelist > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/obj/VBoxRT/VBoxRT.rsp > -liconv > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/lib/SUPR3.a > > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/lib/VBox-liblzf.a > -lz > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/lib/VBox-kStuff.a > > /Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/lib/VBox-libxml2.a > /opt/local//lib/libcrypto.a -lcurl > kmk[2]: *** > [/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/obj/VBoxRT/VBoxRT.dylib] > Deleting file > `/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE/out/darwin.x86/release/obj/VBoxRT/VBoxRT.rsp' > kmk[2]: *** Waiting for unfinished jobs.... > kmk[2]: Leaving directory > `/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE' > kmk[2]: Entering directory > `/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE' > kmk[2]: *** Exiting with status 2 > kmk[1]: *** [pass_dlls_this] Error 2 > kmk[1]: Leaving directory > `/Users/thesamet/Development/no_backup/VirtualBox-3.1.4_OSE' > kmk: *** [pass_dlls_order] Error 2 > > It looks like the command line flags refer to 10.5's SDK and the build > process ends up confused about which version of libSystem to link > against. Any help? > > Nadav > > > > _______________________________________________ > vbox-dev mailing list > [email protected] > http://vbox.innotek.de/mailman/listinfo/vbox-dev -- Dr. Christian Pötzsch -- http://www.sun.com/ ================================================= Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht München: HRB 161028 Geschäftsführer: Jürgen Kunz ================================================= _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
