Talk:Compiling C/C++ program for the OLPC

From OLPC
Jump to navigation Jump to search

Thanks for the help, however I think you meant

mknod dev/null c 1 3

instead of

mkdir dev/null c 2 2

in your first set of instructions

===========

Hi Dov, I´m trying to build a compile environment in my Ubuntu desktop to be able to compile some software for the OLPC. I´ve been following your instructions in this article, but I get this error:

fer@gunther:~/SBOX2_VM$ sudo chroot /home/fer/SBOX2_VM/ [sudo] password for fer: chroot: failed to run command `/bin/bash': Exec format error

Have you seen this before? any potential solution? thanks a lot and best regards