Skip to content

Not able to compile #5

@sagarsakre

Description

@sagarsakre

I followed the steps given on README.md
After all the prerequisites I cloned the rustboot
exported all the PATH
$~ echo $PATH
/home/sagar.sakre/binutils/i386-elf/bin/:/home/sagar.sakre/binutils/bin/:/home/sagar.sakre/rust-bin/bin/:/opt/qemu/bin/4.4.3/bin/:/opt/qemu/bin/:/home/nithin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

I got error while make..
sagar.sakre@sagar-vm ~ $ cd rustboot/
sagar.sakre@sagar-vm ~/rustboot $ ls
LICENSE.txt linker.ld loader.asm main.rs Makefile README.md runtime.asm zero.rs
sagar.sakre@sagar-vm ~/rustboot $ make
nasm -o loader.bin -f bin loader.asm
nasm -f elf32 -o runtime.o runtime.asm
rustc -O --target i386-intel-linux --lib -o main.o -c main.rs
error: no item found for sized
error: aborting due to previous error
make: *** [main.o] Error 101

can you please tel me where I am goin wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions