2010-02-02

build yaffs2

Max tried to build yaffs2 on his debian vm.

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)
References

No comments:

Post a Comment