Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Aug 2013 16:54:39 +0100
From:      John <freebsd@growveg.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   virtualbox-ose fails to build on FreeBSD 9.2-BETA2 #0 r253698
Message-ID:  <51FBD63F.7050403@growveg.net>

next in thread | raw e-mail | index | archive | help
Hello list,

I'm trying to install virtualbox on a new machine running
FreeBSD 9.2-BETA2 #0 r253698. The ports version is 324162. Is it a
problem with the port or my machine?

Here is my make.conf:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# cat /etc/make.conf
CC=clang
CXX=clang++
CPP=clang-cpp

# added by use.perl 2013-07-30 20:08:48
PERL_VERSION=5.14.4

# no x11
WITHOUT_X11=yes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have no x11 because this is a server.

Here is the error:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/VBox/log.h:36,
                 from
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:24:
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:251:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:253:
error: expected initializer before '*' token
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1196:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1216:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1468:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1507:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1507:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1522:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1533:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1559:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1601:
error: 'PFNRTLOGPREFIX' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1638:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1699:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1719:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1748:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1781:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1801:
error: 'va_list' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1830:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1838:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1847:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1856:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1928:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1937:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1946:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1955:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1966:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/iprt/log.h:1975:
error: 'size_t' does not name a type
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:67:
error: 'size_t' has not been declared
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:
In function 'void* HGSMIHeapAlloc(HGSMIHEAP*, HGSMISIZE, uint8_t,
uint16_t)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:303:
error: 'size_t' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:303:
error: expected `;' before 'cbAlloc'
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp:305:
error: 'cbAlloc' was not declared in this scope
kmk: ***
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o]
Error 1
The failing command:
@g++ -c -O2 -fno-exceptions -fno-rtti -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs
-fdiagnostics-show-option -Wpointer-arith -Winline -O2
-fno-strict-aliasing -fno-common -finline-limit=8000
-fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer
-nostdinc -include
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include/VBox/VBoxGuestMangling.h
-m64 --param inline-unit-growth=100 --param large-function-growth=1000
-fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float
-fno-asynchronous-unwind-tables -Wundef -I/usr/src/sys
-I/usr/src/sys/contrib/altq -I/usr/src/sys/../include -I/usr/include
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/dtrace
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/include
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release
-DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS
-DVBOX_WITH_HARDENING -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64
-D__AMD64__ -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_RING0
-DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D_KERNEL -DKLD_MODULE
-DIN_GUEST -DIN_GUEST_R0
-Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o.dep
-Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o
-Wp,-MP -o
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMICommon.o
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp
*** [do-build] Error code 2

Stop in /usr/ports/emulators/virtualbox-ose.
*** [build] Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.

thanks,
-- 
John



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