From owner-freebsd-emulation@FreeBSD.ORG Tue Jun 5 07:13:35 2012 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F19B106564A for ; Tue, 5 Jun 2012 07:13:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C971B8FC14 for ; Tue, 5 Jun 2012 07:13:34 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA16533; Tue, 05 Jun 2012 10:13:27 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SbnxH-0004AW-6t; Tue, 05 Jun 2012 10:13:27 +0300 Message-ID: <4FCDB195.5010009@FreeBSD.org> Date: Tue, 05 Jun 2012 10:13:25 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: =?UTF-8?B?QmVybmhhcmQgRnLDtmhsaWNo?= References: <4FCD2657.4030106@pcbsd.org> <1338874647.15905.2.camel@Nokia-N900-42-11> In-Reply-To: <1338874647.15905.2.camel@Nokia-N900-42-11> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-emulation@FreeBSD.org, Kris Moore Subject: Re: virtualbox-ose-additions broken? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 07:13:35 -0000 on 05/06/2012 08:37 Bernhard Fröhlich said the following: > Shit. I have only seen that compile errors on head yet but was unable to find out what caused it. It seems it was MFCd now. Any hints are very appreciated. It looks like a C compiler (cc) is used to link C++ code. I think that adding -lstdc++ may fix the problem, but a better solution would be to use c++ instead of cc. > Creating a PR is probably worthless as I am usually the only one that looks at them. emulation@ covers a wider audience of people that care about vbox and are able to debug and fix bugs. Thanks for the report and getting my attention! > > > On Mo., 4. Jun. 2012 23:19:19 CEST, Kris Moore wrote: > >> Before I file a PR, is anybody else experiencing this with the latest VB >> on 9-STABLE? >> >> ------------------------- >> >> kBuild: Linking VBoxClient >> kBuild: Pass - Other Stuff >> kBuild: Pass - Staging >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o: >> In function `VBoxClient::GetClipboardService()': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/clipboard.cpp:305: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o: >> In function `~Service': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/VBoxClient.h:38: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboard.o: >> In function `~ClipboardService': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/clipboard.cpp:282: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `VBoxClient::GetSeamlessService()': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless.cpp:58: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `~VBoxGuestThreadFunction': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/thread.h:33: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `~VBoxGuestSeamlessObserver': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless-glue.h:26: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `VBoxGuestWinCleanup(VBoxGuestWinInfo*, void*)': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless-x11.h:81: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `~VBoxGuestSeamlessGuestThread': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless.h:46: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o: >> In function `~VBoxGuestSeamlessGuestObserver': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless.h:111: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o:/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless.h:79 >> : more undefined references to `operator delete(void*)' follow >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-x11.o: >> In function `VBoxGuestWindowList::addWindow(unsigned long, bool, int, >> int, int, int, int, XRectangle*)': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless-x11.h:135: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/seamless-x11.h:135: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o: >> In function `VBoxClient::GetDisplayService()': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/display.cpp:243: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o: >> In function `~DisplayService': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/display.cpp:218: >> undefined reference to `operator delete(void*)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/hostversion.o: >> In function `VBoxClient::GetHostVersionService()': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/hostversion.cpp:211: >> undefined reference to `operator new(unsigned long)' >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/hostversion.o: >> In function `~HostVersionService': >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/src/VBox/Additions/x11/VBoxClient/hostversion.cpp:35: >> undefined reference to `operator delete(void*)' >> kmk: *** >> [/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/VBoxClient] >> Error 1 >> The failing command: >> @cc -m64 -o ^^^^^^^^ >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/VBoxClient >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd6 >> 4/release/obj/VBoxClient/main.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/clipboard-helper.o >> /usr/ports/emulators/virtualbox-ose-addit >> ions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/src/VBox/GuestHost/SharedClipboard/x11-clipboard.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/clipboa >> rd.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/s >> eamless-host.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/seamless-x11.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/ob >> j/VBoxClient/thread.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxClient/display.o >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/ >> obj/VBoxClient/hostversion.o -L/usr/X11R6/lib32 -L/usr/X11R6/lib >> -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -liconv >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/ >> RuntimeGuestR3.a >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/release/lib/additions/VBoxGuestR3Lib.a >> >> /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.1.16/out/freebsd.amd64/rel >> ease/lib/additions/RuntimeGuestR3.a -lX11 -lXrandr -lXt -lsupc++ >> -lgcc_eh -lXext -lXmu -lpthread -liconv *** Error code 2 >> >> Stop in /usr/ports/emulators/virtualbox-ose-additions. -- Andriy Gapon