[okl4-developer] building okl4 > error > memory descriptors to KIP in image.elf
Antonin SUBTIL
antonin.subtil at gmail.com
Fri Mar 21 20:15:53 EST 2008
I tried your tip, without success (s link made, simulate...)
I cannot change to gcc 3 :(
Same error.
Thanks for helping :)
2008/3/21, Nelson Tam <nelson at ok-labs.com>:
>
> Hi Antonin,
>
>
> On 21/03/2008, at 12:19 AM, Antonin SUBTIL wrote:
> > I'm trying to build OKL4-1.52, with " tools/build.py toolprefix=
> > machine=ia32_pc99 project=iguana wombat=yes ". I had some warnings
> > turning into errors, but the problem was solved by editing
> > toolchain.py and removing "error" from gcc (I use GCC4). I also used
> > the trick for elfadorn seen on this ML.
> >
> > (i.e. self.dict["CC_WARNINGS"] = ["all", "strict-
> > prototypes", "missing-prototypes",
> > "nested-externs", "missing-
> > declarations",
> > "redundant-decls", "undef",
> > "pointer-arith",
> > "no-nonnull"] # , "error"
> > self.dict["CXX_WARNINGS"] = ["all", "redundant-decls",
> > "undef", "pointer-arith",
> > "no-uninitialized"] #, "error"
> > )
> >
> > But now I've got this new problem in image.elf, and I don't have any
> > idea to solve it... yet. Any help would be appreciated.
> >
> > "[ELF ] build/images/image.elf
> > Error: Error: 11 memory descriptors are being added to the KIP but
> > the maximum is 0.
> > scons: *** [build/images/image.elf] Error 1
> > scons: building terminated because of errors."
>
>
>
> I haven't come across the problem you've described before. Although I
> understand what the symptoms mean, but the root cause could be obscure
> and time-consuming to track down.
>
> In order to build wombat for ia32_pc99, what I've done is create two
> symlinks:
>
> $: ~/release/okl4_release_1.5.2$ ls -l linux/
> total 4
> drwxr-xr-x 4 nelson nelson 35 2007-09-30 09:16 apps
> drwxr-xr-x 18 nelson nelson 4096 2008-03-21 18:18 kernel-2.6.10-v1
> lrwxrwxrwx 1 nelson nelson 17 2008-03-21 18:19 kernel-2.6.11-v2 ->
> kernel-2.6.10-v1/
> drwxr-xr-x 5 nelson nelson 131 2007-09-30 09:52 rootfs-2.6.10-v1
> lrwxrwxrwx 1 nelson nelson 17 2008-03-21 18:19 rootfs-2.6.11-v2 ->
> rootfs-2.6.10-v1/
> drwxr-xr-x 3 nelson nelson 22 2007-09-30 09:17 tools
>
> (You could just as easily change the kernel_version variable in
> projects/iguana/SConscript to 2.6.10-v1).
>
> Then doing a
>
> ./tools/build.py project=iguana machine=ia32_pc99 wombat=yes
> simulate
>
> works for me.
>
> One thing I've noticed is that you're using gcc-4, while we're using
> gcc-3.4.4. I'm extremely wary of unpredictably different behaviour
> across tool versions, so I'd suggest using 3.4.4 and see if that makes
> a difference.
>
> --
> (nt)
>
> Nelson Tam
> nelson at ok-labs.com
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080321/bef68cfd/attachment.htm
More information about the Developer
mailing list