I cannot compile VirtualBox 2.1.4 OSE against the latest release of MacPorts. I get linking errors: kBuild: Linking xpt_link ld_classic: Undefined symbols: _chmod$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _close$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _creat$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _fcntl$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _fputs$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _getrlimit$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _kill$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _open$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _read$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _select$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _strerror$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _strtod$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _waitpid$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _write$UNIX2003 referenced from libglib-2 expected to be defined in libSystem _pthread_mutexattr_destroy$UNIX2003 referenced from libintl expected to be defined in libSystem _pthread_rwlock_init$UNIX2003 referenced from libintl expected to be defined in libSystem _pthread_rwlock_rdlock$UNIX2003 referenced from libintl expected to be defined in libSystem _pthread_rwlock_unlock$UNIX2003 referenced from libintl expected to be defined in libSystem _pthread_rwlock_wrlock$UNIX2003 referenced from libintl expected to be defined in libSystem collect2: ld returned 1 exit status kmk[2]: *** [/Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/out/darwin.x86/release/obj/xpidl/xpidl] Error 1 The failing command: @g++ -L/opt/local/lib -lIDL-2 -lglib-2.0 -lintl -liconv -mmacosx-version-min=10.4 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -Wl,-classic_linker -m32 -o /Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/out/darwin.x86/release/obj/xpidl/xpidl -filelist /Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/out/darwin.x86/release/obj/xpidl/xpidl.rsp
kmk[2]: *** [/Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/out/darwin.x86/release/obj/xpidl/xpidl] Deleting file `/Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/out/darwin.x86/release/obj/xpidl/xpidl.rsp' kmk[2]: Leaving directory `/Users/greenrd/Downloads/VirtualBox-2.1.4_OSE' kmk[1]: *** [pass_bldprogs_this] Error 2 kmk[1]: Leaving directory `/Users/greenrd/Downloads/VirtualBox-2.1.4_OSE' kmk: *** [pass_bldprogs_order] Error 2 I tried my workaround for this (which had worked for most SVN revisions), which is setting VBOX_DEF_MACOSX_VERSION_MIN ?= 10.5 in Config.kmk. However, then the build fails with this error message: /Users/greenrd/Downloads/VirtualBox-2.1.4_OSE/src/libs/xpcom18a4/Makefile.kmk:1324: *** we are assuming 10.4 here; VBOX_DEF_MACOSX_VERSION_MIN=10.5. Stop. -- Robin
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
