On Sat, Apr 10, 2010 at 1:52 PM, Amit Mahajan <amit.maha...@b-labs.co.uk>wrote:
> > > > > > > Building the loader and packing... > > scons: Reading SConscript files ... > > scons: done reading SConscript files. > > scons: Building targets ... > > 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 > > This is strange i just did a fresh clone and it works fine for me. > You did not have images.S generated in loader dir? Acually it is some scons problem, or dependencies are bad done. When I call: dra...@marx:~/codezero$ scons -f SConstruct.loader then *generate_image_S* function in scripts/loader/generate_loader_asm.py is not even called, because images.S is missing. However, if I force scons to ignore errors (because I know that this images.S will be generated), I get: dra...@marx:~/codezero$ scons -f SConstruct.loader -k scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... scons: *** [build/loader/images.o] Source `loader/images.S' not found, needed by target `build/loader/images.o'. scons: *** [build/loader/ksyms.o] Source `loader/ksyms.S' not found, needed by target `build/loader/ksyms.o'. arm-none-eabi-gcc -o build/loader/main.o -c -g -nostdlib -ffreestanding -std=gnu99 -Wall -Werror -march=armv5 -include l4/config.h -include l4/macros.h -include l4/types.h -D__KERNEL__ -Iinclude -Iconts/libdev/include -Iloader/libs/c/include -Iloader/libs/c/include/arch/arm -Iloader/libs/elf/include loader/main.c gen_loader_images_S(["loader/images.S"], ["build/kernel.elf", "build/conts/containers.elf"]) GENERATING IMAGE!!! arm-none-eabi-gcc -D__ASSEMBLY__ -include l4/config.h -include l4/macros.h -include l4/types.h -D__KERNEL__ -Iinclude -Iconts/libdev/include -Iloader/libs/c/include -Iloader/libs/c/include/arch/arm -Iloader/libs/elf/include -c -o loader/images.o loader/images.S find_loader_load_address(["build/loader/linker.lds"], ["build/kernel.elf", "loader/linker.lds.in"]) ksym_to_loader(["loader/ksyms.S"], ["build/kernel.elf"]) scons: done building targets (errors occurred during build). dra...@marx:~/codezero$ 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 Can you check your cloned repo if it has the following commit: > > 'git show 1a62b92a8d411a29e0e0da97debd231f6483357c' > > -- > Thanks > > Amit Mahajan > > >
_______________________________________________ codezero-devel mailing list codezero-devel@lists.l4dev.org http://lists.l4dev.org/mailman/listinfo/codezero-devel