Date: Sun, 1 Jun 2014 21:37:14 +0200 (CEST) From: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> To: Alfred Perlstein <alfred@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: virtualbox-ose cannot compile Message-ID: <alpine.BSF.2.00.1406012132310.39112@wojtek.tensor.gdynia.pl> In-Reply-To: <538B7452.2000400@freebsd.org> References: <alpine.BSF.2.00.1406011754040.38361@wojtek.tensor.gdynia.pl> <538B533A.60402@freebsd.org> <alpine.BSF.2.00.1406012000240.38809@wojtek.tensor.gdynia.pl> <538B7452.2000400@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
installed gcc48 from ports used USE_GCC=4.8 still failed linked /usr/local/bin/gcc48 to /usr/local/bin/gcc it compiled now. but fails to run VirtualBox: Error -610 in supR3HardenedMainInitRuntime! VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/virtualbox/VBoxRT.so not found On Sun, 1 Jun 2014, Alfred Perlstein wrote: > > On 6/1/14, 11:00 AM, Wojciech Puchar wrote: >> [root@s1 /usr/ports/emulators/virtualbox-ose]# make USE_GCC=yes >> ===> virtualbox-ose-4.3.12_1 Unknown version of GCC specified >> (USE_GCC=yes). >> >> more options needed? > > Maybe try "USE_GCC=any" or something like "USE_GCC=4.8+" is what I am seeing > in other ports. > >> >> >> >> On Sun, 1 Jun 2014, Alfred Perlstein wrote: >> >>> On 6/1/14 8:57 AM, Wojciech Puchar wrote: >>>> >>>> kBuild: Compiling VBoxOGLhosterrorspu - >>>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/GuestHost/OpenGL/e >>>> rror/errorspu_init.c >>>> kBuild: Compiling VBoxVNCMain - >>>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNCMain.c >>>> pp >>>> kBuild: Compiling VBoxVNC - >>>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNC.cpp >>>> kBuild: Compiling VBoxRemPrimary - >>>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/VBoxRecompiler.c >>>> kmk: gcc: Command not found >>>> kmk: *** >>>> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o] >>>> Error 127 >>>> The failing command: >>>> @gcc -c -O2 -g -pipe -Wall -Wextra -Wno-missing-field-initializers >>>> -Wno-unused -Wno-trigraphs -fdiagnostics-show-option >>>> -Wno-unused-parameter -Wno-long-long -Wno-long-long >>>> -Werror-implicit-function-declaration -Wno-variadic-macros -O2 >>>> -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing >>>> -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN >>>> -DRT_USE_VISIBILITY_DEFAULT -fPIC -Wno-sign-compare >>>> -Werror-implicit-function-declaration -m64 >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/Sun/crt >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/Sun >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/target-i386 >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/tcg >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/fpu >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/include >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler/tcg/i386 >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/recompiler >>>> -I/usr/include -I/usr/X11R6/include -I/usr/local/include >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/dtrace >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/include >>>> -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release >>>> -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER >>>> -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ >>>> -DVBOX_WITH_HARDENING >>>> -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" >>>> -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" >>>> -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" >>>> -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING3 >>>> -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DPIC -DIN_REM_R3 -DREM_INCLUDE_CPU_H >>>> -DNEED_CPU_H -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_RING1 -DLOG_USE_C99 >>>> -D_BSD -D__x86_64__ >>>> -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o.dep >>>> -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o >>>> -Wp,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox >>>> >>>> >>>> if gcc is needed, and is not specified in dependencies please tell me >>>> what gcc in /usr/ports/lang should i install >>>> >>>> or maybe - how to install gcc from base system as it is no longer >>>> compiled by default with make buildworld >>>> >>>> FreeBSD s1.3miasto.net.pl 10.0-RELEASE FreeBSD 10.0-RELEASE #0: Tue Apr >>>> 8 14:01:53 CEST 2014 root@s1.3miasto.net.pl:/usr/src/sys/amd64/compile/s1 >>>> amd64 >>>> >>> >>> Please try adding: >>> "USE_GCC= yes" >>> to the Makefile for the port. >>> >>> -Alfred >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>> >>> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1406012132310.39112>