On Sat, Apr 10, 2010 at 4:25 PM, Bahadir Balban <baha...@l4dev.org> wrote:

> Drasko DRASKOVIC wrote:
> >
> > As you see, I put some traces to see if the *generate_image_S *is being
> > called at all.
> >
> > Does anybody have idea how to fix this? I guess that loader/SConscript
> has
> > to be modified somehow...
> >
> > BR,
> > Drasko
> >
>
> Drasko,
>
> I just did:
>
>  501  git clone git://git.l4dev.org/codezero.git codezero-v3
>  502  cd codezero-v3/
>  503  git checkout -b devel --track origin/devel
>  504  ./configure.py -f config/cml/examples/helloworld/config.cml
>  505  ./build.py
>  506  ./tools/run-qemu-insight
>
> And these steps worked. When we change a symbol definition in the
> configuration, old config files can create issues. Generally the easiest
> way out is to save your configuration file build/config.cml and remove
> the build directory, and also remove the baremetal project directory to
> get it clean.
>
> My scons version:
>
> baha...@bahadir-laptop:~$ scons -v
> SCons by Steven Knight et al.:
>        script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
>        engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
> Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons
> Foundation
>
> Python version 2.6.4 on ubuntu 9.10
>
> Try the above if it fails I will look into your build details.
>
>
Hi Bahadir,
I did similar manipulation before. Again:
dra...@marx:~$ git clone git://git.l4dev.org/codezero.git codezero-v3
Initialized empty Git repository in /home/drasko/codezero-v3/.git/
remote: Counting objects: 13777, done.
remote: Compressing objects: 100% (4204/4204), done.
remote: Total 13777 (delta 9277), reused 13354 (delta 8941)
Receiving objects: 100% (13777/13777), 2.96 MiB | 974 KiB/s, done.
Resolving deltas: 100% (9277/9277), done.
dra...@marx:~$ cd codezero-v3/
dra...@marx:~/codezero-v3$ git checkout -b devel --track origin/devel
Branch devel set up to track remote branch refs/remotes/origin/devel.
Switched to a new branch "devel"
dra...@marx:~/codezero-v3$ ./configure.py -f
config/cml/examples/helloworld/config.cml
No arch supplied (-a), using `arm' as default.
Max container count not supplied (-n), using 4 as default.
Autogenerating new rule file
Compiling rules, please wait......(0.53 sec) Done.
"config/cml/examples/helloworld/config.cml", line 57: unrecognized name
`TOOLCHAIN' while expecting known symbol.
"config/cml/examples/helloworld/config.cml", line 89: unrecognized name
`CONT0_BAREMETAL_PROJ_TEST' while expecting known symbol.
"config/cml/examples/helloworld/config.cml", line 265: unrecognized name
`baremetal2' while expecting known symbol.
"config/cml/examples/helloworld/config.cml", line 271: unrecognized name
`baremetal1' while expecting known symbol.
"config/cml/examples/helloworld/config.cml", line 272: unrecognized name
`baremetal0' while expecting known symbol.
"config/cml/examples/helloworld/config.cml", line 273: unrecognized name
`baremetal3' while expecting known symbol.

Running build.py after this gives the same error:
arm-none-eabi-ar rc build/loader/libs/c/libc-baremetal.a
build/loader/libs/c/src/format.o build/loader/libs/c/src/fprintf.o
build/loader/libs/c/src/fputc.o build/loader/libs/c/src/memcpy.o
build/loader/libs/c/src/memset.o build/loader/libs/c/src/printf.o
build/loader/libs/c/src/strcmp.o build/loader/libs/c/src/strlen.o
build/loader/libs/c/src/strncmp.o build/loader/libs/c/src/vfprintf.o
build/loader/libs/c/src/sys-baremetal/arch-arm/sys_fputc.o
build/loader/libs/c/src/sys-baremetal/arch-arm/sys_stdio.o
build/loader/libs/c/crt/sys-baremetal/arch-arm/crt0.o
arm-none-eabi-ranlib build/loader/libs/c/libc-baremetal.a
scons: *** [build/loader/images.o] Source `loader/images.S' not found,
needed by target `build/loader/images.o'.
scons: building terminated because of errors.
Build failed

dra...@marx:~/codezero-v3$

I noted where the error is.

dra...@marx:~/codezero-v3$ scons -v
SCons by Steven Knight et al.:
script: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
engine: v1.2.0.r3842, 2008/12/20 22:59:52, by scons on scons-dev
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons
Foundation
dra...@marx:~/codezero-v3$


Python version:

Python 2.6.4 (r264:75706, Mar 12 2010, 23:59:28)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/local/lib/python2.6/lib-dynload/readline.so", 2);
import readline # dynamically loaded from
/usr/local/lib/python2.6/lib-dynload/readline.so
>>>


I am using Debian distro.

I tried also with the scons 1.3 - same error.

BR,
Drasko
_______________________________________________
codezero-devel mailing list
codezero-devel@lists.l4dev.org
http://lists.l4dev.org/mailman/listinfo/codezero-devel

Reply via email to