Hi everyone,
I tried already native compilation, but I didn't succed, so I gave cross compiling a try. I've booted my laptop with ubuntu intrepid and I followed Jean-Fabrice's tutorial, but it doesn't seem to be complete. I noticed, that on oleg.wl500g.info Oleg posted a new toolchain (uClibc 0.9.19), so I installed it as well. What I have so far is the following:
1. The following extracted directories under /opt
hndtools-mipsel-linux
hndtools-mipsel-linux3
hndtools-mipsel-linux3
hndtools-mipsel-uClibc
hndtools-mipsel-uClibc
hndtools-mipsel-uClibc
hndtools-mipsel-uClibc (this one is created by the new toolchain)
2. The following extracted directories under /var/tmp
uClibc-0.9.19
wl50g-1.9.2.7.6b
I have a feeling that after the command "make uClibc" there are still things to do before we execute "mipsel-uclibc-gcc -o helloworld helloworld.c".
When I ran the command "make uClibc", I got these errors:
PHP Code:
dp79@Perro:/var/tmp/wl500g-1.9.2.7-6b$ sudo make uClibc
tar xjf uClibc-0.9.19.tar.bz2 -C /var/tmp
Looking for last applied patch
./patch.sh: line 19: patch: command not found
./patch.sh: line 19: patch: command not found
./patch.sh: line 19: patch: command not found
./patch.sh: line 19: patch: command not found
./patch.sh: line 19: patch: command not found
Patching /var/tmp/uClibc-0.9.19 with uClibc-0.9.19-trunc64.patch uClibc-0.9.19-timezones.patch uClibc-0.9.19-dn_expand.patch uClibc-0.9.19-resolv.patch uClibc-0.9.19.diff
./patch.sh: line 33: patch: command not found
./patch.sh: line 37: patch: command not found
Can not apply uClibc-0.9.19.diff cleanly
make: *** [/var/tmp/uClibc] Error 1
This "make" command created the "uClibc-0.9.19" directory, but nothing has been installed, because the system doesn't recognize the "mipsel-uclibc-gcc" command.
Could somebody finish this tutorial and show us how to compile helloworld from the beginning to the end?
Thanks!
dp79