[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vbox-dev
Subject:    Re: [vbox-dev] FreeBSD 7.0-RELEASE build problems
From:       "nolan de souza" <nolandsouza () gmail ! com>
Date:       2008-10-16 14:44:45
Message-ID: fb29c3c50810160732j50d02ecey40de7465dea1c77c () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sending the patch again as I hadn't mentioned that I would like to license
it under the MIT License model.

- Nolan.


On Thu, Oct 16, 2008 at 8:01 PM, nolan de souza <nolandsouza@gmail.com>wrote:

>
>
> On Tue, Oct 14, 2008 at 7:33 PM, Matt <datahead4@gmail.com> wrote:
>
>> On Tue, Oct 14, 2008 at 8:52 AM, nolan de souza <nolandsouza@gmail.com>
>> wrote:
>> >
>> >
>> > On Tue, Oct 14, 2008 at 6:06 PM, nolan de souza <nolandsouza@gmail.com>
>> > wrote:
>> >>
>> >>
>> >> On Mon, Oct 13, 2008 at 6:09 PM, Knut St. Osmundsen <bird@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@virtualbox.org
>> > http://vbox.innotek.de/mailman/listinfo/vbox-dev
>> >
>> >
>>
>
>
>
> --
> nolan de souza, mobile: +91 9886 44 6962.
>



-- 
nolan de souza, mobile: +91 9886 44 6962.

[Attachment #5 (text/html)]

<div dir="ltr">Sending the patch again as I hadn&#39;t mentioned that I would like to \
license it under the MIT License model.<br><br>- Nolan.<br><br><br><div \
class="gmail_quote">On Thu, Oct 16, 2008 at 8:01 PM, nolan de souza <span \
dir="ltr">&lt;<a href="mailto:nolandsouza@gmail.com">nolandsouza@gmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><br><br><div \
class="gmail_quote"><div><div></div><div class="Wj3C7c">On Tue, Oct 14, 2008 at 7:33 \
PM, Matt <span dir="ltr">&lt;<a href="mailto:datahead4@gmail.com" \
target="_blank">datahead4@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div>On Tue, Oct 14, 2008 at 8:52 AM, nolan de souza &lt;<a \
href="mailto:nolandsouza@gmail.com" target="_blank">nolandsouza@gmail.com</a>&gt; \
wrote:<br> &gt;<br>
&gt;<br>
&gt; On Tue, Oct 14, 2008 at 6:06 PM, nolan de souza &lt;<a \
href="mailto:nolandsouza@gmail.com" target="_blank">nolandsouza@gmail.com</a>&gt;<br> \
&gt; wrote:<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Oct 13, 2008 at 6:09 PM, Knut St. Osmundsen &lt;<a \
href="mailto:bird@sun.com" target="_blank">bird@sun.com</a>&gt; wrote:<br> \
&gt;&gt;&gt;<br> &gt;&gt;&gt; nolan de souza wrote:<br>
&gt;&gt;&gt; &gt; I&#39;m hitting build problems in src/VBox/Runtime:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; kBuild: Compiling RuntimeR0 -<br>
&gt;&gt;&gt; &gt; /usr/home/nolan/vbox/trunk/src/VBox/Runtime/common/checksum/crc32.cpp<br>
 &gt;&gt;&gt; &gt; /usr/home/nolan/vbox/trunk/src/VBox/Runtime/r3/posix/timer-posix.cpp:<br>
 &gt;&gt;&gt; &gt; In<br>
&gt;&gt;&gt; &gt; function &#39;int rttimerThread(RTTHREADINT*, void*)&#39;:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; /usr/home/nolan/vbox/trunk/src/VBox/Runtime/r3/posix/timer-posix.cpp:379:<br>
 &gt;&gt;&gt; &gt; error: &#39;struct siginfo_t&#39; has no member named \
&#39;_sifields&#39;<br> &gt;&gt;&gt;<br>
&gt;&gt;&gt; Overlooked that when reviewing the code. It&#39;s fixed now and will be \
out<br> &gt;&gt;&gt; in the external svn repository before long.<br>
&gt;&gt;<br>
&gt;&gt; Knut,<br>
&gt;&gt; Thanks for the sync, I&#39;ve picked up the latest code today. However, \
I&#39;m<br> &gt;&gt; hitting another issue now. Pasting the build output quickly \
before I work on<br> &gt;&gt; it.<br>
&gt;&gt;<br>
&gt;&gt; kmk[4]: Leaving directory<br>
&gt;&gt; `/usr/home/nolan/vbox/trunk/src/VBox/Devices/PC/Etherboot-src&#39;<br>
&gt;&gt; kBuild: Compiling PcBiosBin -<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c<br>
 &gt;&gt; =&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/relea<br>
&gt;&gt; se/obj/PcBiosBin/rombios0.s<br>
&gt;&gt; /usr/local/bin/bcc -B /usr/local/bin/ -o<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s<br>
 &gt;&gt; -C-c -D__i86__ -0 -S /usr/home/nolan/vbox<br>
&gt;&gt; /trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c<br>
&gt;&gt;<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:473.66:<br>
 &gt;&gt; error: need &#39;;&#39;<br>
&gt;&gt;<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c:473.66:<br>
 &gt;&gt; error: need variable name<br>
&gt;&gt; kBuild: Installing DevicesR3 =&gt;<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/lib/DevicesR3.a<br>
&gt;&gt; kmk_builtin_install -m 0644 --<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/DevicesR3/DevicesR3.a<br>
 &gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release<br>
&gt;&gt; /lib/DevicesR3.a<br>
&gt;&gt; kmk[3]: ***<br>
&gt;&gt; [/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s]<br>
 &gt;&gt; Error 1<br>
&gt;&gt; kmk[3]: *** Deleting file<br>
&gt;&gt; `/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/rombios0.s&#39;<br>
 &gt;&gt; kmk[3]: Leaving directory \
`/usr/home/nolan/vbox/trunk/src/VBox/Devices&#39;<br> &gt;&gt; kmk[2]: *** \
[pass_libraries_before] Error 2<br> &gt;&gt; kmk[2]: Leaving directory \
`/usr/home/nolan/vbox/trunk/src/VBox&#39;<br> &gt;&gt; kmk[1]: *** \
[pass_libraries_before] Error 2<br> &gt;&gt; kmk[1]: Leaving directory \
`/usr/home/nolan/vbox/trunk/src&#39;<br> &gt;&gt; kmk: *** [pass_libraries_before] \
Error 2<br> &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Line 473 of the file<br>
&gt;&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/_rombios_.c<br>
 &gt;&gt; shows the following:<br>
&gt;&gt;<br>
&gt;&gt; static char bios_cvs_version_string[] = &quot;VirtualBox &quot; \
&quot;2.0.51_OSE&quot;;<br> &gt;&gt;<br>
&gt;&gt; I think the bcc compiler does not know how to concatenate these 2 \
strings<br> &gt;&gt; into one. I have also verified this with a small test prog and \
tried<br> &gt;&gt; compiling it with bcc, resulting in a failure with the same error \
msg and<br> &gt;&gt; err code 66.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; - Nolan.<br>
&gt;<br>
&gt;<br>
&gt; Knut,<br>
&gt;<br>
&gt; I managed to work around this by fixing the string to VirtualBox \
2.0.51_OSE&quot;<br> &gt; for now, but am hitting issues in the Devices/PC/BIOS \
region:<br> &gt;<br>
&gt; kBuild: Generating PcBiosBin -<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.lst<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; \
/usr/home/nolan/vbox/trunk/kBuild/bin/freebsd.x86/kmk_sed \<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -e \
&nbsp;&#39;/^[0-9][0-9][0-9][0-9][0-9]<br> &gt; 000[0-9A-F]* &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp;[[:space:]]*[a-zA-Z0-9_]*:/!d&#39; \<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -e &#39;s/^[0-9][0-9][0-9][0-9][0-9]<br> \
&gt; \(000[0-9A-F]*\) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \
&nbsp;[[:space:]]*\([a-zA-Z0-9_]*\):.*$/<br> &gt; DEFSYM(0x\1, &quot;\2&quot;),/&#39; \
\<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --output<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios-syms.h<br>
 &gt; \<br>
&gt;<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.lst<br>
&gt; kBuild: biossums PcBiosBin -<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.tmp<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/biossums/biossums<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.tmp<br>
&gt; /usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin<br>
&gt; Size of system BIOS is not 64KB!<br>
&gt; kmk[3]: ***<br>
&gt; [/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin]<br>
 &gt; Error 255<br>
&gt; kmk[3]: *** Deleting file<br>
&gt; `/usr/home/nolan/vbox/trunk/out/freebsd.x86/release/obj/PcBiosBin/pcbios.bin&#39;<br>
 &gt; kmk[3]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox/Devices&#39;<br>
&gt; kmk[2]: *** [pass_libraries_before] Error 2<br>
&gt; kmk[2]: Leaving directory `/usr/home/nolan/vbox/trunk/src/VBox&#39;<br>
&gt; kmk[1]: *** [pass_libraries_before] Error 2<br>
&gt; kmk[1]: Leaving directory `/usr/home/nolan/vbox/trunk/src&#39;<br>
&gt; kmk: *** [pass_libraries_before] Error 2<br>
&gt;<br>
&gt;<br>
&gt; It says... &quot;Size of system BIOS is not 64KB!&quot;<br>
&gt;<br>
</div></div>Try using the devel/dev86 port instead of the devel/bcc port to get a<br>
bcc binary to work with. &nbsp;This has worked for me in the past.<br>
<font color="#888888"><br>
Matt<br>
</font><div></div></blockquote></div></div><div><br>&nbsp;Hi Matt,<br><br>Thanks! \
Your email hadn&#39;t reached the entire vbox-dev group so including them.<br><br>On \
FreeBSD 7.0, it seems that the devel/dev86 port conflicts with devel/bcc &amp; \
devel/bin86. So I had to remove those 2 ports to install the devel/dev86 port.<br>


<br>Things are looking good now and the above build errors have been \
eliminated.<br><br>I have a patch for the main &quot;trunk/configure&quot;. Can this \
be applied to trunk. It will ease a few build problems.<br><font color="#888888"><br> \
                <br>
- Nolan.<br><br></font></div><div class="Ih2E3d"><blockquote class="gmail_quote" \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> <div><br>
&gt; Any thoughts about that?<br>
&gt;<br>
&gt; - Nolan.<br>
&gt;<br>
&gt; --<br>
&gt; nolan de souza, mobile: +91 9886 44 6962.<br>
&gt;<br>
</div><div><div></div><div>&gt; _______________________________________________<br>
&gt; vbox-dev mailing list<br>
&gt; <a href="mailto:vbox-dev@virtualbox.org" \
target="_blank">vbox-dev@virtualbox.org</a><br> &gt; <a \
href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" \
target="_blank">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a><br> &gt;<br>
&gt;<br>
</div></div></blockquote></div></div><br><br clear="all"><br>-- <br><div \
class="Ih2E3d">nolan de souza, mobile: +91 9886 44 6962.<br> </div></div>
</blockquote></div><br><br clear="all"><br>-- <br>nolan de souza, mobile: +91 9886 44 \
6962.<br> </div>


["configure.patch" (application/octet-stream)]

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic