Juanito
Joined: 11 Sep 2006 Posts: 88 Location: Dubai, U.A.E.
|
Posted: Mon Oct 30, 2006 4:51 pm Post subject: Use Knoppix CD to compile in DSL-N |
|
|
This started out in another topic but rather than hijack that, I though it would be better to start a new topic.
After the revelation (to me at least) that you can boot the Knoppix 4.0.2 CD and then use it to compile modules for DSL-N, it ocurred to me that you might be able to stay in DSL-N and link the files necessary to compile modules from the CD.
My problem is that I am not sure if I am making a mistake or if there are still some items missing in RC4 that prevent the modules from compiling - I'd welcome any help.
To access the Knoppix CD either:
root@dslbox:~# mkdir /ramdisk/knoppix_cd
root@dslbox:~# mount /mnt/scd0/KNOPPIX/KNOPPIX /ramdisk/knoppix_cd -t iso9660 -o ro,loop=/dev/cloop50
or
root@dslbox:~# mkdir /ramdisk/stage_knoppix_cd
root@dslbox:~# mount /mnt/hda5/Download/Linux/KNOPPIX_V4.0.2CD-2005-09-23-EN.iso /ramdisk/stage_knoppix_cd -t iso9660 -o loop,ro
root@dslbox:~# mkdir /ramdisk/knoppix_cd
root@dslbox:~# mount /ramdisk/stage_knoppix_cd/KNOPPIX/KNOPPIX /ramdisk/knoppix_cd -t iso9660 -o ro,loop=/dev/cloop50
then to link the files on the knoppix cd:
root@dslbox:~# rm -f /lib/modules/2.6.12/build
root@dslbox:~# ln -s /ramdisk/knoppix_cd/usr/src/linux-2.6.12 /lib/modules/2.6.12/build
root@dslbox:~# rm -f /lib/modules/2.6.12/source
root@dslbox:~# ln -s /ramdisk/knoppix_cd/usr/src/linux-2.6.12 /lib/modules/2.6.12/source
root@dslbox:~# [delete /usr/include using emelFM]
root@dslbox:~# ln -s /ramdisk/knoppix_cd/usr/include /usr/include
But when I try to compile/install a module that compiles when booting under Knoppix I get the following error:
ps: error while loading shared libraries: libproc.so.3.1.9: cannot open shared object file: No such file or directory
I seem to remember a similar error when trying to use apt-get - does anybody know what the problem might be? |
|