Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2012 14:34:17 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        vbox@FreeBSD.org
Cc:        FreeBSD Ports <ports@freebsd.org>
Subject:   cannot compile VirtualBox-ose 4.1.16 on FreeBSD 8.3-RELEASE amd64
Message-ID:  <4FC76549.8090300@quip.cz>

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

I tried to install virtualbox-ose on our new testmachine, but 
compilation ends with error:

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/HostServices/auth/pam/VBoxAuthPAM.c:408: 
error: expected '{' at end of input
kmk: *** 
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxAuth/pam/VBoxAuthPAM.o] 
Error 1
The failing command:
@cc -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra 
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs 
-fdiagnostics-show-option -Wno-long-long -Wmissing-prototypes 
-Wstrict-prototypes -Wmissing-declarations 
-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 -m64 -I/usr/include 
-I/usr/X11R6/include -I/usr/local/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/include 
-I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release 
-DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS 
-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\" 
-DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -DIN_RING3 
-DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DPIC 
-Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxAuth/pam/VBoxAuthPAM.o.dep 
-Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxAuth/pam/VBoxAuthPAM.o 
-Wp,-MP -o 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/out/freebsd.amd64/release/obj/VBoxAuth/pam/VBoxAuthPAM.o 
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/HostServices/auth/pam/VBoxAuthPAM.c
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
*** Error code 2

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

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

Full output can be seen on http://pastebin.com/raw.php?i=7eDEWze8

This is the first time I tried VirtualBox on FreeBSD. Do I need to tune 
something to build virtualbox-ose?

I tried it with today ports tree (2012-05-31) with the following options:

_OPTIONS_READ=virtualbox-ose-4.1.16
_FILE_COMPLETE_OPTIONS_LIST=DBUS DEBUG GUESTADDITIONS NLS PULSEAUDIO QT4 
UDPTUNNEL VDE VNC WEBSERVICE X11
OPTIONS_FILE_UNSET+=DBUS
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=GUESTADDITIONS
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_UNSET+=PULSEAUDIO
OPTIONS_FILE_UNSET+=QT4
OPTIONS_FILE_SET+=UDPTUNNEL
OPTIONS_FILE_SET+=VDE
OPTIONS_FILE_SET+=VNC
OPTIONS_FILE_SET+=WEBSERVICE
OPTIONS_FILE_UNSET+=X11

# uname -srmi
FreeBSD 8.3-RELEASE amd64 GENERIC

Let me know if I need to provide some more details about installed 
packages etc.

Miroslav Lachman



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