Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2014 22:37:00 +0100
From:      =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@FreeBSD.org>
To:        Mike Jakubik <mike.jakubik@intertainservices.com>
Cc:        "ports@freebsd.org Ports" <ports@freebsd.org>, vbox@freebsd.org
Subject:   Re: FreeBSD Port: emulators/virtualbox-ose
Message-ID:  <CAE-m3X08SrWSLGjXq9EA6Y_YNQwFCCs8kcX9hjh7pU7QHyi58A@mail.gmail.com>
In-Reply-To: <52D6DA42.9080509@intertainservices.com>
References:  <52D6DA42.9080509@intertainservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 15, 2014 at 7:58 PM, Mike Jakubik
<mike.jakubik@intertainservices.com> wrote:
> Hello,
>
> Having trouble compiling on a freshly installed 10.0-PRE, below is the
> error. The only port options selected are GUESTADDITIONS, VNC, WEBSERVICE=
.
>
> Thanks.
>
>
> kBuild: Compiling tstVMStructRC -
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/VMM/t=
estcase/tstVMStructRC.cpp
> kBuild: Linking tstVMStructRC
> Using built-in specs.
> COLLECT_GCC=3Dg++46
> COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd=
10.0/4.6.4/lto-wrapper
> Target: x86_64-portbld-freebsd10.0
> Configured with: ./../gcc-4.6.4/configure --disable-bootstrap --disable-n=
ls
> --libdir=3D/usr/local/lib/gcc46 --libexecdir=3D/usr/local/libexec/gcc46
> --program-suffix=3D46 --with-as=3D/usr/local/bin/as --with-gmp=3D/usr/loc=
al
> --with-gxx-include-dir=3D/usr/local/lib/gcc46/include/c++/
> --with-ld=3D/usr/local/bin/ld --with-pkgversion=3D'FreeBSD Ports Collecti=
on'
> --with-system-zlib --disable-libgcj --enable-languages=3Dc,c++,objc,fortr=
an
> --prefix=3D/usr/local --mandir=3D/usr/local/man --infodir=3D/usr/local/in=
fo/gcc46
> --build=3Dx86_64-portbld-freebsd10.0
> Thread model: posix
> gcc version 4.6.4 (FreeBSD Ports Collection)
> COMPILER_PATH=3D/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd10.0/4=
.6.4/:/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/:/usr/l=
ocal/libexec/gcc46/gcc/x86_64-portbld-freebsd10.0/:/usr/local/lib/gcc46/gcc=
/x86_64-portbld-freebsd10.0/4.6.4/:/usr/local/lib/gcc46/gcc/x86_64-portbld-=
freebsd10.0/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/../.=
./../../../x86_64-portbld-freebsd10.0/bin/
> LIBRARY_PATH=3D/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/=
:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/../../../../../x=
86_64-portbld-freebsd10.0/lib/:/usr/local/lib/gcc46/gcc/x86_64-portbld-free=
bsd10.0/4.6.4/../../../:/lib/:/usr/lib/
> COLLECT_GCC_OPTIONS=3D'-m32' '-g' '-g' '-nostdlib' '-v' '-o'
> '/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.a=
md64/release/obj/tstVMStructRC/tstVMStructRC'
> '-L/usr/lib32' '-shared-libgcc' '-mtune=3Dgeneric' '-march=3Dx86-64'
>  /usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/collect2
> --eh-frame-hdr -m elf_i386_fbsd -V -dynamic-linker /libexec/ld-elf.so.1 -=
o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/obj/tstVMStructRC/tstVMStructRC
> -L/usr/lib32 -L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4
> -L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/../../../../.=
./x86_64-portbld-freebsd10.0/lib
> -L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/../../..
> /usr/lib32/crt1.o /usr/lib32/crti.o /usr/lib32/crtbegin.o
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/obj/tstVMStructRC/tstVMStructRC.o
> /usr/lib32/crtend.o /usr/lib32/crtn.o /usr/lib32/libc.so
> GNU ld (GNU Binutils) 2.24
>   Supported emulations:
>    elf_x86_64_fbsd
>    elf_i386_fbsd
>    elf_x86_64
>    elf_i386
>    elf_l1om
>    elf_l1om_fbsd
>    elf_k1om
>    elf_k1om_fbsd
> kBuild: Installing tstVMStructRC =3D>
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/bin/tstVMStructRC
> kBuild: Generating tstVMStructSize -
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/obj/VMM/tstVMStructRC.h
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/bin/tstVMStructRC:
> 1: Syntax error: "(" unexpected
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/bin/tstVMStructRC:
> 1: Syntax error: Error in command substitution
> kmk: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.a=
md64/release/obj/VMM/tstVMStructRC.h]
> Error 2
> kmk: *** Deleting file
> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.a=
md64/release/obj/VMM/tstVMStructRC.h'
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/ports/emulators/virtualbox-ose
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/emulators/virtualbox-ose
>
>
>
> I then tried again but with gcc47 but I got a different errror.
>
>
>
> Build: Compiling RuntimeBldProg -
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runti=
me/common/dvm/dvmvfs.cpp
> In file included from
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runti=
me/common/dvm/dvmvfs.cpp:40:0:
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/include/iprt/v=
fslowlevel.h:217:120:
> warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
> kBuild: Compiling RuntimeBldProg -
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runti=
me/common/err/errinfo.cpp
> kBuild: Generating
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.am=
d64/release/obj/Runtime/errmsgdata.h
> /usr/local/bin/kmk_sed: file
> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runti=
me/common/err/errmsg.sed
> line 31: Unmatched [ or [^
> kmk: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.a=
md64/release/obj/Runtime/errmsgdata.h]
> Error 1
> kmk: *** Deleting file
> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.a=
md64/release/obj/Runtime/errmsgdata.h'
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/ports/emulators/virtualbox-ose
> *** Error code 1
>
> Stop.

Could it be that you have a custom kernel and removed COMPAT_FREEBSD32
option from it?

--=20
Bernhard Froehlich
http://www.bluelife.at/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-m3X08SrWSLGjXq9EA6Y_YNQwFCCs8kcX9hjh7pU7QHyi58A>