VirtualBox OSE Compilation on OSX 10.6 Snow Leopard

Discussions related to using the OSE version of VirtualBox.
Post Reply
oldman
Posts: 1
Joined: 9. Nov 2009, 16:24
Primary OS: Mac OS X other
VBox Version: OSE self-compiled
Guest OSses: Ubuntu

VirtualBox OSE Compilation on OSX 10.6 Snow Leopard

Post by oldman »

Trying to build latest svn (r24422?) on Snow Leopard.

Seeing some linker errors at the end of compilation for the VBox/Frontends/VirtualBox app

Seems like the .m / .mm qtmoc --> cpp --> o files aren't getting linked in?

Code: Select all

Undefined symbols:
  "VBoxCocoaButton::VBoxCocoaButton(VBoxCocoaButton::CocoaButtonType, QWidget*)", referenced from:
      VBoxHelpButton::VBoxHelpButton(QWidget*)in VBoxSpecialControls.o
      VBoxMiniCancelButton::VBoxMiniCancelButton(QWidget*)in VBoxSpecialControls.o
  "_darwinSetHidesAllTitleButtonsImpl", referenced from:
      darwinSetHidesAllTitleButtons(QWidget*)     in VBoxUtils-darwin.o
  "VBoxCocoaSegmentedButton::setToolTip(int, QString const&)", referenced from:
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
  "VBoxCocoaSearchField::unmarkError()", referenced from:
      VBoxLogSearchPanel::toggleWarning(bool)   in VBoxVMLogViewer.o
  "CocoaDockIconPreview::updateDockOverlay()", referenced from:
      vtable for VBoxDockIconPreviewin VBoxConsoleView.o
  "CocoaDockIconPreview::updateDockPreview(VBoxFrameBuffer*)", referenced from:
      vtable for VBoxDockIconPreviewin VBoxConsoleView.o
  "VBoxCocoaSegmentedButton::sizeHint() const", referenced from:
      vtable for VBoxCocoaSegmentedButtonin VBoxCocoaSpecialControls.o
      vtable for VBoxSegmentedButtonin VBoxSpecialControls.o
  "typeinfo for CocoaDockIconPreview", referenced from:
      typeinfo for VBoxDockIconPreviewin VBoxConsoleView.o
  "VBoxCocoaSearchField::VBoxCocoaSearchField(QWidget*)", referenced from:
      VBoxSearchField::VBoxSearchField(QWidget*)in VBoxSpecialControls.o
  "_darwinSetShowsResizeIndicatorImpl", referenced from:
      darwinSetShowsResizeIndicator(QWidget*, bool)in VBoxUtils-darwin.o
  "VBoxCocoaSearchField::text() const", referenced from:
      VBoxLogSearchPanel::search(bool, bool)in VBoxVMLogViewer.o
      VBoxLogSearchPanel::search(bool, bool)in VBoxVMLogViewer.o
      VBoxLogSearchPanel::search(bool, bool)in VBoxVMLogViewer.o
  "VBoxCocoaButton::setToolTip(QString const&)", referenced from:
      VBoxProgressDialog::retranslateUi()       in VBoxProgressDialog.o
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
  "VBoxCocoaSearchField::insert(QString const&)", referenced from:
      VBoxLogSearchPanel::eventFilter(QObject*, QEvent*)      in VBoxVMLogViewer.o
  "CocoaDockIconPreview::updateDockPreview(CGImage*)", referenced from:
      vtable for VBoxDockIconPreviewin VBoxConsoleView.o
  "CocoaDockIconPreview::~CocoaDockIconPreview()", referenced from:
      VBoxDockIconPreview::~VBoxDockIconPreview()in VBoxConsoleView.o
      VBoxDockIconPreview::~VBoxDockIconPreview()in VBoxConsoleView.o
  "CocoaDockIconPreview::setOriginalSize(int, int)", referenced from:
      vtable for VBoxDockIconPreviewin VBoxConsoleView.o
  "VBoxCocoaSegmentedButton::setEnabled(int, bool)", referenced from:
      VBoxLogSearchPanel::findCurrent(QString const&)  in VBoxVMLogViewer.o
      VBoxLogSearchPanel::findCurrent(QString const&)  in VBoxVMLogViewer.o
      VBoxLogSearchPanel::VBoxLogSearchPanel(QWidget*, VBoxVMLogViewer*)in VBoxVMLogViewer.o
      VBoxLogSearchPanel::VBoxLogSearchPanel(QWidget*, VBoxVMLogViewer*)in VBoxVMLogViewer.o
  "_darwinSetShowsWindowTransparentImpl", referenced from:
      darwinSetShowsWindowTransparent(QWidget*, bool)in VBoxUtils-darwin.o
  "VBoxCocoaSearchField::setToolTip(QString const&)", referenced from:
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
  "VBoxCocoaButton::sizeHint() const", referenced from:
      vtable for VBoxCocoaButtonin VBoxCocoaSpecialControls.o
  "_darwinToNativeViewImpl", referenced from:
      darwinToNativeView(void*) in VBoxUtils-darwin.o
  "VBoxCocoaSearchField::sizeHint() const", referenced from:
      vtable for VBoxCocoaSearchFieldin VBoxCocoaSpecialControls.o
      vtable for VBoxSearchFieldin VBoxSpecialControls.o
  "_darwinWindowInvalidateShadowImpl", referenced from:
      darwinWindowInvalidateShadow(QWidget*)     in VBoxUtils-darwin.o
  "VBoxCocoaSearchField::selectAll()", referenced from:
      VBoxLogSearchPanel::showEvent(QShowEvent*)       in VBoxVMLogViewer.o
  "VBoxCocoaButton::setText(QString const&)", referenced from:
      VBoxProgressDialog::retranslateUi()       in VBoxProgressDialog.o
  "VBoxCocoaSearchField::markError()", referenced from:
      VBoxLogSearchPanel::toggleWarning(bool)   in VBoxVMLogViewer.o
  "VBoxCocoaSegmentedButton::animateClick(int)", referenced from:
      VBoxLogSearchPanel::eventFilter(QObject*, QEvent*)      in VBoxVMLogViewer.o
  "_darwinSetShowsToolbarButtonImpl", referenced from:
      darwinSetShowsToolbarButton(QToolBar*, bool)in VBoxUtils-darwin.o
  "VBoxCocoaSegmentedButton::setTitle(int, QString const&)", referenced from:
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
      VBoxLogSearchPanel::retranslateUi()       in VBoxVMLogViewer.o
  "_darwinWindowAnimateResizeImpl", referenced from:
      darwinWindowAnimateResize(QWidget*, QRect const&)in VBoxUtils-darwin.o
  "_darwinSetMouseCoalescingEnabled", referenced from:
      VBoxConsoleView::setMouseCoalescingEnabled(bool)   in VBoxConsoleView.o
  "_darwinToNativeWindowImpl", referenced from:
      darwinToNativeWindow(QWidget*)     in VBoxUtils-darwin.o
      darwinToNativeWindow(void*) in VBoxUtils-darwin.o
  "CocoaDockIconPreview::CocoaDockIconPreview(VBoxConsoleWnd*, QPixmap const&)", referenced from:
      VBoxConsoleView::VBoxConsoleView(VBoxConsoleWnd*, CConsole const&, VBoxDefs::RenderMode, QWidget*)in VBoxConsoleView.o
  "VBoxCocoaSegmentedButton::VBoxCocoaSegmentedButton(int, QWidget*)", referenced from:
      VBoxSegmentedButton::VBoxSegmentedButton(int, QWidget*)in VBoxSpecialControls.o
  "_darwinSmallFontSize", referenced from:
      VBoxLogSearchPanel::VBoxLogSearchPanel(QWidget*, VBoxVMLogViewer*)in VBoxVMLogViewer.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
For reference, my LocalConfig.kmk contains the following entries:

Code: Select all

SDK_VBOX_LIBCURL_INCS=/usr/include/curl
SDK_VBOX_LIBCURL_LIBS=/usr/lib/libcurl.dylib
SDK_VBOX_OPENSSL_INCS=/opt/local/include
SDK_VBOX_OPENSSL_LIBS=/opt/local/lib/libcrypto.a
Post Reply