Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use Knoppix CD to compile in DSL-N

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Other Help Topics
View previous topic :: View next topic  
Author Message
Juanito



Joined: 11 Sep 2006
Posts: 88
Location: Dubai, U.A.E.

PostPosted: Mon Oct 30, 2006 4:51 pm    Post subject: Use Knoppix CD to compile in DSL-N Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Other Help Topics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group