On Wed, Jan 15, 2014 at 7:58 PM, Mike Jakubik <mike.jaku...@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/testcase/tstVMStructRC.cpp > kBuild: Linking tstVMStructRC > Using built-in specs. > COLLECT_GCC=g++46 > COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/lto-wrapper > Target: x86_64-portbld-freebsd10.0 > Configured with: ./../gcc-4.6.4/configure --disable-bootstrap --disable-nls > --libdir=/usr/local/lib/gcc46 --libexecdir=/usr/local/libexec/gcc46 > --program-suffix=46 --with-as=/usr/local/bin/as --with-gmp=/usr/local > --with-gxx-include-dir=/usr/local/lib/gcc46/include/c++/ > --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' > --with-system-zlib --disable-libgcj --enable-languages=c,c++,objc,fortran > --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc46 > --build=x86_64-portbld-freebsd10.0 > Thread model: posix > gcc version 4.6.4 (FreeBSD Ports Collection) > COMPILER_PATH=/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/local/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=/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/../../../../../x86_64-portbld-freebsd10.0/lib/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.4/../../../:/lib/:/usr/lib/ > COLLECT_GCC_OPTIONS='-m32' '-g' '-g' '-nostdlib' '-v' '-o' > '/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/obj/tstVMStructRC/tstVMStructRC' > '-L/usr/lib32' '-shared-libgcc' '-mtune=generic' '-march=x86-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.amd64/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.amd64/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 => > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/bin/tstVMStructRC > kBuild: Generating tstVMStructSize - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/bin/tstVMStructRC: > 1: Syntax error: "(" unexpected > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/bin/tstVMStructRC: > 1: Syntax error: Error in command substitution > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h] > Error 2 > kmk: *** Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/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/Runtime/common/dvm/dvmvfs.cpp > In file included from > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/common/dvm/dvmvfs.cpp:40:0: > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/include/iprt/vfslowlevel.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/Runtime/common/err/errinfo.cpp > kBuild: Generating > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/obj/Runtime/errmsgdata.h > /usr/local/bin/kmk_sed: file > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/src/VBox/Runtime/common/err/errmsg.sed > line 31: Unmatched [ or [^ > kmk: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/release/obj/Runtime/errmsgdata.h] > Error 1 > kmk: *** Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.20/out/freebsd.amd64/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? -- Bernhard Froehlich http://www.bluelife.at/ _______________________________________________ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"