[vbox-dev] FreeBSD 7.0-RELEASE build problems
nolan de souza
nolandsouza at gmail.com
Thu Oct 16 07:31:23 PDT 2008
On Tue, Oct 14, 2008 at 7:33 PM, Matt <datahead4 at gmail.com> wrote:
> On Tue, Oct 14, 2008 at 8:52 AM, nolan de souza <nolandsouza at gmail.com>
> wrote:
> >
> >
> > On Tue, Oct 14, 2008 at 6:06 PM, nolan de souza <nolandsouza at gmail.com>
> > wrote:
> >>
> >>
> >> On Mon, Oct 13, 2008 at 6:09 PM, Knut St. Osmundsen <bird at sun.com>
> wrote:
> >>>
> >>> nolan de souza wrote:
> >>> > I'm hitting build problems in src/VBox/Runtime:
> >>> >
> >>> > kBuild: Compiling RuntimeR0 -
> >>> > /usr/home/nolan/vbox/trunk/src/VBox/Runtime/common/checksum/crc32.cpp
> >>> > /usr/home/nolan/vbox/trunk/src/VBox/Runtime/r3/posix/timer-posix.cpp:
> >>> > In
> >>> > function 'int rttimerThread(RTTHREADINT*, void*)':
> >>> >
> >>> >
> /usr/home/nolan/vbox/trunk/src/VBox/Runtime/r3/posix/timer-posix.cpp:379:
> >>> > error: 'struct siginfo_t' has no member named '_sifields'
> >>>
> >>> Overlooked that when reviewing the code. It's fixed now and will be out
> >>> in the external svn repository before long.
> >>
> >> Knut,
> >> Thanks for the sync, I've picked up the latest code today. However, I'm
> >> hitting another issue now. Pasting the build output quickly before I
> work on
> >> it.
> >>
> >> kmk[4]: Leaving directory
> >> `/usr/home/nolan/vbox/trunk/src/VBox/Devices/PC/Etherboot-src'
> >> kBuild: Compiling PcBiosBin -
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c
> >> => /usr/home/nolan/vbox/trunk/out/freebsd.x86/relea
> >> se/obj/PcBiosBin/rombios0.s
> >> /usr/local/bin/bcc -B /usr/local/bin/ -o
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s
> >> -C-c -D__i86__ -0 -S /usr/home/nolan/vbox
> >> /trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c
> >>
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:473.66:
> >> error: need ';'
> >>
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:473.66:
> >> error: need variable name
> >> kBuild: Installing DevicesR3 =>
> >> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/lib/DevicesR3.a
> >> kmk_builtin_install -m 0644 --
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/DevicesR3/DevicesR3.a
> >> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release
> >> /lib/DevicesR3.a
> >> kmk[3]: ***
> >>
> [/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s]
> >> Error 1
> >> kmk[3]: *** Deleting file
> >>
> `/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s'
> >> kmk[3]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox/Devices'
> >> kmk[2]: *** [pass_libraries_before] Error 2
> >> kmk[2]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox'
> >> kmk[1]: *** [pass_libraries_before] Error 2
> >> kmk[1]: Leaving directory `/usr/home/nolan/vbox/trunk/src'
> >> kmk: *** [pass_libraries_before] Error 2
> >>
> >>
> >>
> >> Line 473 of the file
> >>
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c
> >> shows the following:
> >>
> >> static char bios_cvs_version_string[] = "VirtualBox " "2.0.51_OSE";
> >>
> >> I think the bcc compiler does not know how to concatenate these 2
> strings
> >> into one. I have also verified this with a small test prog and tried
> >> compiling it with bcc, resulting in a failure with the same error msg
> and
> >> err code 66.
> >>
> >>
> >> - Nolan.
> >
> >
> > Knut,
> >
> > I managed to work around this by fixing the string to VirtualBox
> 2.0.51_OSE"
> > for now, but am hitting issues in the Devices/PC/BIOS region:
> >
> > kBuild: Generating PcBiosBin -
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.lst
> > /usr/home/nolan/vbox/trunk/kBuild/bin/freebsd.x86/kmk_sed \
> > -e '/^[0-9][0-9][0-9][0-9][0-9]
> > 000[0-9A-F]* [[:space:]]*[a-zA-Z0-9_]*:/!d' \
> > -e 's/^[0-9][0-9][0-9][0-9][0-9]
> > \(000[0-9A-F]*\) [[:space:]]*\([a-zA-Z0-9_]*\):.*$/
> > DEFSYM(0x\1, "\2"),/' \
> > --output
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios-syms.h
> > \
> >
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.lst
> > kBuild: biossums PcBiosBin -
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.tmp
> > /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/biossums/biossums
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.tmp
> >
> /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin
> > Size of system BIOS is not 64KB!
> > kmk[3]: ***
> >
> [/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin]
> > Error 255
> > kmk[3]: *** Deleting file
> >
> `/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin'
> > kmk[3]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox/Devices'
> > kmk[2]: *** [pass_libraries_before] Error 2
> > kmk[2]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox'
> > kmk[1]: *** [pass_libraries_before] Error 2
> > kmk[1]: Leaving directory `/usr/home/nolan/vbox/trunk/src'
> > kmk: *** [pass_libraries_before] Error 2
> >
> >
> > It says... "Size of system BIOS is not 64KB!"
> >
> Try using the devel/dev86 port instead of the devel/bcc port to get a
> bcc binary to work with. This has worked for me in the past.
>
> Matt
>
Hi Matt,
Thanks! Your email hadn't reached the entire vbox-dev group so including
them.
On FreeBSD 7.0, it seems that the devel/dev86 port conflicts with devel/bcc
& devel/bin86. So I had to remove those 2 ports to install the devel/dev86
port.
Things are looking good now and the above build errors have been eliminated.
I have a patch for the main "trunk/configure". Can this be applied to trunk.
It will ease a few build problems.
- Nolan.
> > Any thoughts about that?
> >
> > - Nolan.
> >
> > --
> > nolan de souza, mobile: +91 9886 44 6962.
> >
> > _______________________________________________
> > vbox-dev mailing list
> > vbox-dev at virtualbox.org
> > http://vbox.innotek.de/mailman/listinfo/vbox-dev
> >
> >
>
--
nolan de souza, mobile: +91 9886 44 6962.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081016/b21a399f/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.patch
Type: application/octet-stream
Size: 1028 bytes
Desc: not available
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081016/b21a399f/attachment-0001.obj
More information about the vbox-dev
mailing list