[vbox-dev] FreeBSD 7.0-RELEASE build problems

nolan de souza nolandsouza at gmail.com
Tue Oct 14 13:52:22 GMT 2008


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!"

Any thoughts about that?

- Nolan.

-- 
nolan de souza, mobile: +91 9886 44 6962.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081014/fd6994c4/attachment.html>


More information about the vbox-dev mailing list