Hello,

It's to do with your default configuration. If you change to PB926 and
ARMv5 architecture it should compile fine.

Thanks,
Bahadir

On Sun, 2010-11-21 at 20:26 +0100, d...@ucore.info wrote:
> Hi,
> 
> I'm aware that 0.4 should be out soon, but in the meantime I've tried
> to build a current git version and when building with default options
> I get:
> 
> Building userspace libraries...
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: building associated VariantDir targets:
> /home/dpc.unencrypted/lab/codezero/build/conts/userlibs
> arm-none-linux-gnueabi-gcc -o
> /home/dpc.unencrypted/lab/codezero/build/conts/userlibs/libl4/src/init.o
> -c -g -nostdlib -ffreestanding -std=gnu99 -Wall -Werror -march=armv7-a
> -include l4/config.h -include l4/macros.h -include l4/types.h -include
> l4lib/macros.h -I/home/dpc.unencrypted/lab/codezero/include
> -I/home/dpc.unencrypted/lab/codezero/build/conts/userlibs/libl4/include
> -Ilibl4/include
> -I/home/dpc.unencrypted/lab/codezero/build/conts/userlibs/libl4/include/l4lib/arch
> -Ilibl4/include/l4lib/arch -Ilibmem/include libl4/src/init.c
> In file included from
> /home/dpc.unencrypted/lab/codezero/include/l4/glue/arm/memlayout.h:9:0,
>                  from
> /home/dpc.unencrypted/lab/codezero/include/l4/glue/arm/message.h:82,
>                  from libl4/include/l4lib/arch/arm/utcb.h:15,
>                  from libl4/include/l4lib/arch/arm/syscalls.h:11,
>                  from libl4/include/l4lib/kip.h:13,
>                  from libl4/src/init.c:6:
> /home/dpc.unencrypted/lab/codezero/include/l4/glue/arm/memory.h:11:27:
> fatal error: l4/arch/arm/v7/mm.h: No such file or directory
> compilation terminated.
> scons: *** 
> [/home/dpc.unencrypted/lab/codezero/build/conts/userlibs/libl4/src/init.o]
> Error 1
> scons: building terminated because of errors.
> Building userspace libraries failed...
> 
> and when trying to configure with any options different than defaults I get:
> 
> 
> d...@spinlock:codezero$ ./build.py --configure
> Traceback (most recent call last):
>   File "./build.py", line 135, in <module>
>     main()
>   File "./build.py", line 130, in main
>     build_system(opts, args)
>   File "./build.py", line 30, in build_system
>     configure_system(opts, args)
>   File "/home/dpc.unencrypted/lab/codezero/scripts/config/config_invoke.py",
> line 203, in configure_system
>     cml2_update_config_h(CONFIG_H, config)
>   File "/home/dpc.unencrypted/lab/codezero/scripts/config/config_invoke.py",
> line 60, in cml2_update_config_h
>     config_h.write("#define __CPU__ " + config.cpu + '\n')
> TypeError: cannot concatenate 'str' and 'NoneType' objects
> 
> or some other python errors.
> 
> Judging by the date of the last commit the version in the git is
> outdated. I enjoy codezero from the technical point of view, but with
> stuff like that it would be hard to gather any community around this
> project.
> 
> Kudos,
> Dawid


-- 
Bahadir Balban


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

Reply via email to