[openbeos] Re: building obos

  • From: "Daniel Furrer" <daniel_furrer@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Fri, 25 Feb 2005 20:15:49 +0100 (MET)

> I just ran a `jam -q config.x86.ini' here (BeOS R5) and it worked fine.
> That 
> doesn't mean much for Linux (and gcc 3.x), though.
> 
> BTW, I recommend to supply jam with the `-q' flag, so that it aborts the 
> build process as soon as an error occurs.
> 
> CU, Ingo

Ok, thanks, that helped a bit. There were two small errors in the
gensyscalls.cpp which I fixed here. See below for the diff. But then it
still fails with the following error messages:

...patience...
don't know how to make
./distro/x86.R1/beos/system/add-ons/kernel/drivers/dev/tty
don't know how to make
./distro/x86.R1/beos/system/add-ons/kernel/drivers/dev/console
don't know how to make
./distro/x86.R1/beos/system/add-ons/kernel/console/vga_text
...found 4923 target(s)...
...updating 45 target(s)...
...can't find 3 target(s)...
...can't make 1 target(s)...
GenSyscallInfos1 objects/x86.R1/tools/gensyscalls/gensyscalls_infos.c

objects/x86.R1/tools/gensyscalls/gensyscallinfos
objects/x86.R1/tools/gensyscalls/syscalls.h.pp
objects/x86.R1/tools/gensyscalls/gensyscalls_infos.c

...failed GenSyscallInfos1
objects/x86.R1/tools/gensyscalls/gensyscalls_infos.c ...
...skipped <src!tools!gensyscalls>gensyscalls_infos.o for lack of
<src!tools!gensyscalls>gensyscalls_infos.c...
...skipped gensyscalls for lack of
<src!tools!gensyscalls>gensyscalls_infos.o...
...skipped <syscalls>syscall_dispatcher.h for lack of gensyscalls...
...skipped <src!kernel!core>syscalls.o for lack of
<src!kernel!core>syscalls.c...
...skipped kernel_core.o for lack of <src!kernel!core>syscalls.o...
...skipped kernel for lack of kernel_core.o...
...skipped config.x86.ini for lack of kernel...
...failed updating 1 target(s)...
...skipped 7 target(s)...
$

It tells me something of a gensyscalls_infos.c which I have no idea where
this should come from since there is no such file anywhere in the cvs.

thx Daniel Furrer

PS: The gensyscalls.cpp should either use only int and no int32's or
otherwise include some definition for the int32 somewhere. Here's my patch: 

RCS file: /cvsroot/open-beos/current/src/tools/gensyscalls/gensyscalls.cpp,v
retrieving revision 1.10
diff -r1.10 gensyscalls.cpp
259c259
<               int32 chunkSize = (fSyscallCount + 19) / 20;
---
>               int chunkSize = (fSyscallCount + 19) / 20;
288c288
<                       for (int32 k = 0; k < syscall.parameter_count; k++)
{
---
>                       for (int k = 0; k < syscall.parameter_count; k++) { 
               

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail

Other related posts: