On Fri, 2011-09-23 at 13:36 +0200, Julien SIMONE wrote:
> Hi Amit,
> 
> I'm using Python 2.6.
> 

It looks like the error is due to the fact that you donot have
codezero/build/kernel.elf(KERNEL_ELF) file present.

When you install the toolkit, this file is present under
codezero/prebuilt/.
When you compile the toolkit project this file is copied at
codezero/build/. Check build.py script for this.

Now, somehow your file is missing. Please see if it is present.


> -----Message d'origine-----
> De : Amit Mahajan [mailto:[email protected]] 
> Envoyé : vendredi 23 septembre 2011 12:19
> À : Julien SIMONE
> Cc : [email protected]
> Objet : Re: [codezero-devel] Build issues
> 
> 
> > 
> > Traceback (most recent call last):
> > 
> >   File "./build.py", line 169, in <module>
> > 
> >     main()
> > 
> >   File "./build.py", line 164, in main
> > 
> >     build_system(opts, args)
> > 
> >   File "./build.py", line 91, in build_system
> > 
> >     if(check_kernel_container_overlap()):
> > 
> >   File
> > "/.../codezero-toolkit-v0.4.4/scripts/kernel/check_kernel_limit.py",
> > line 33, in check_kernel_container_overlap
> > 
> >     kernel_end = get_kernel_end_address(KERNEL_ELF)
> > 
> >   File
> > "/.../codezero-toolkit-v0.4.4/scripts/kernel/check_kernel_limit.py",
> > line 15, in get_kernel_end_address
> > 
> >     kernel_size = elf_binary_size(img)
> > 
> >   File "/.../codezero-toolkit-v0.4.4/tools/pyelf/elfsize.py", line 7, in
> > elf_binary_size
> > 
> >     elffile = elf.ElfFile.from_file(img)
> > 
> >   File "/.../codezero-toolkit-v0.4.4/tools/pyelf/elf.py", line 448, in
> > from_file
> > 
> >     gfile = GFile.existing(filename)
> > 
> >   File "/.../codezero-toolkit-v0.4.4/tools/pyelf/aistruct.py", line 25,
> > in existing
> > 
> >     assert os.path.exists(filename)
> > 
> > AssertionError
> > 
> >  
> > 
> >  
> > 
> > I understand the error but I don't know why...
> > 
> 
> Hi Julien,
> 
> Could you please share the version of python you are using?
> 
> 
> 

-- 
Regards,
Amit Mahajan


_______________________________________________
codezero-devel mailing list
[email protected]
http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org

Reply via email to