Rebuilding lint-wifi on 64bit ubuntu 8.04 hardy heron.


Lint-wifi's openmoko page: http://wiki.openmoko.org/wiki/Lint-wifi
Lint-wifi project page: http://projects.openmoko.org/scm/?group_id=167

references

http://wiki.openmoko.org/wiki/Toolchain#Introduction
http://andreasdalsgaard.blogspot.com/2008/07/openmoko-development-in-5-minutes.html

source code: http://github.com/timabell/lint-wifi

preparation:
(you can git clone from me instead of from svn)
mkdir -p moko/apps && cd moko/apps
svn log --limit 1 svn://svn.projects.openmoko.org/svnroot/lint-wifi
git svn clone svn://svn.projects.openmoko.org/svnroot/lint-wifi lint-wifi.git
wget http://we.trekbeyond.org/~kd8ikt/moko/buildz/Aug1/lint-wifi/lint-wifi.png
wget http://we.trekbeyond.org/~kd8ikt/moko/buildz/Aug1/lint-wifi/lint-wifi.desktop
# (pushed to http://github.com/timabell/lint-wifi)
cd wpa_lint/
rm wpa_lint # remove existing binary
 
make fails as follows:
arm-unknown-linux-gnueabi-gcc -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -Iwpa_supplicant -c os_unix.c
make: arm-unknown-linux-gnueabi-gcc: Command not found
make: *** [compile] Error 127
getting the toolchain for building apps
cd .. && mkdir toolchain && cd toolchain
wget http://downloads.openmoko.org/toolchains/openmoko-x86_64-arm-linux-gnueabi-toolchain.tar.bz2
bunzip2 openmoko-*-arm-linux-gnueabi-toolchain.tar.bz2
gzip openmoko-*-arm-linux-gnueabi-toolchain.tar
fakeroot alien -d openmoko-*-arm-linux-gnueabi-toolchain.tar.gz
# install toolchain in /usr/local/openmoko (no other paths are used)
sudo dpkg -i openmoko_*-arm-linux-gnueabi-toolchain*.deb
cd ../apps/
#create link for convenience as you have to run this every time
ln -s /usr/local/openmoko/arm/setup-env
. setup-env
# note the leading '.', this runs 'bash setup-env', and this form means the environment variables from the script persist beyond script termination, which is the whole point.
 
cd lint-wifi.git
make
scratch head as there is no change...