[vbox-dev] FreeBSD 7.0-RELEASE build problems

nolan de souza nolandsouza at gmail.com
Tue Oct 14 12:36:37 GMT 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081014/88c8caf2/attachment.html>


More information about the vbox-dev mailing list