Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 18:18:21 +0000
From:      Anthony Brown <anthony@found-it.net>
To:        vbox@FreeBSD.org
Subject:   problems building virtualbox-ose with gcc4.7
Message-ID:  <CAON0-Rei5Aph%2BNp3CX7vq2hx4tLrCyKthEHCwK%2B3t1918ayTgQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi
   I am running 10-Release on amd64 and had problems build virtualbox-ose -
it failed with this error

kBuild: Generating
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.8/out/freebsd.amd64/release/obj/Runtime/errmsgdata.h
/usr/local/bin/kmk_sed: file
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.8/src/VBox/Runtime/common/err/errmsg.sed
line 31: Unmatched [ or [^


I finally tracked this down to the fact that the kBuild port I was
using was built with gcc4.7


   I changed the Makefile for kBuild to have

USE_GCC=        4.6

rather than

USE_GCC=        any

   rebuilt and reinstalled kBuild and then virtualbox-ose built fine

   Is this a known problem, and if so can the Makefile for kBuild be
changed to use gcc4.6

Thanks

Anthony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAON0-Rei5Aph%2BNp3CX7vq2hx4tLrCyKthEHCwK%2B3t1918ayTgQ>