- Download tarball of yaffs2 (http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/)
- >tar xvfz yaff2.tar.gz -C /opt
- >make (fails with the following messages)
make -C /lib/modules/2.6.26-2-686/build M=/opt/yaffs2 modules
make: *** /lib/modules/2.6.26-2-686/build: No such file or directory. Stop.
make: *** [modules] Error 2
The reason is the installation of kernel header didn't create a symbol link.
- >apt-get install build-essential (first check if your kernal header is installed)
- >ln -s /usr/src/linux-headers-2.6.26-1-686 /lib/modules/2.6.26-2-686/build (Then create a symbol link by)
- >make (build yaffs2 again)
No comments:
Post a Comment