Working on Bootforth / ficl
Garrett Cooper
yanegomi at gmail.com
Mon Nov 12 19:09:38 UTC 2012
On Mon, Nov 12, 2012 at 11:05 AM, Devin Teske <devin.teske at fisglobal.com>wrote:
>
> On Nov 12, 2012, at 11:01 AM, Peter Grehan wrote:
>
> > Hi Devin,
> >
> >> However, "test" currently doesn't compile (error below):
> >>
> >> ===> test (all)
> >> Warning: Object directory not changed from original
> /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test
> >> cc -O2 -pipe
> -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/..
> -I/usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test/../../..
> -std=gnu99 -c test.c
> >> In file included from test.c:41:
> >> /usr/include/stdlib.h:54: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'wchar_t'
> >> /usr/include/stdlib.h:95: error: expected ')' before '*' token
> >> /usr/include/stdlib.h:96: error: expected ')' before '*' token
> >> /usr/include/stdlib.h:110: error: expected declaration specifiers or
> '...' before 'wchar_t'
> >> /usr/include/stdlib.h:111: error: expected ';', ',' or ')' before '*'
> token
> >> *** Error code 1
> >>
> >> Stop in
> /usr/home/dteske/src/freebsd_svn/base/head/sys/boot/userboot/test.
> >> *** Error code 1
> >
> > Hmmm, it's part of the stock build and I haven't seen any failures in
> that area. Was this part of a buildworld ? It may not build correctly from
> the directory itself.
> >
>
> Negative -- no buildworld.
>
> I figured since sys/boot/ficl/ could build "testmain" standalone that
> perhaps userboot could too (what a shame).
>
> Next time I do a buildworld (or am mucking in one of my completed builds),
> I'll check it out.
>
I forgot about that. Pretty cool.
-Garrett
$ cd /usr/src/sys/boot/userboot/test; `make -V.OBJDIR`/test
Consoles: userboot
FreeBSD/amd64 User boot, Revision 1.1
(gcooper at forza.west.isilon.com, Thu Sep 20 19:21:42 PDT 2012)
/
can't load 'kernel'
Type '?' for a list of commands, 'help' for more detailed help.
OK
not found
OK
OK
OK load /kernel
can't find '/kernel'
More information about the freebsd-arch
mailing list