From: maxl <max...@gm...> - 2006-06-14 21:24:52
|
Hello. I desperatly need help on this. I am in this linux 'adventure' for about two weeks, so everything that skips the "step by step" method transcends me. :-) uname:Linux ubuntu 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux PIII 1GHz After lots of google and forums reading I start as in the sd4L pdf instructions by "installing" kernel sources in /usr/src/ also intalled kernel headers. Than make oldconfig and user@ubuntu:/usr/src/linux$ sudo make dep *** Warning: make dep is unnecessary now. (???) Untar the scramdisk source to Desktop, cd Scramdisk-0.9, and run 'make' During the make process I get these errors: <snip> CC [M] /home/user/Desktop/Scramdisk-0.9/driver/volume.o CC [M] /home/user/Desktop/Scramdisk-0.9/driver/sddriver.o /home/user/Desktop/Scramdisk-0.9/driver/sddriver.c: In function ‘scramdisk_init’: /home/user/Desktop/Scramdisk-0.9/driver/sddriver.c:963: error: invalid type argument of ‘unary *’ make[3]: *** [/home/user/Desktop/Scramdisk-0.9/driver/sddriver.o] Error 1 make[2]: *** [_module_/home/user/Desktop/Scramdisk-0.9/driver] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-23-386' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/driver' make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/utils' g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdcreate.o sdcreate.cpp <\snip> and this: <snip> make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/docs' ps2pdf gui.eps gui.pdf ps2pdf create.eps create.pdf ps2pdf ppdialog.eps ppdialog.pdf ps2pdf config.eps config.pdf pdflatex scramdisk.tex && pdflatex scramdisk.tex /bin/sh: pdflatex: command not found make[1]: *** [scramdisk.pdf] Error 127 make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/docs' make: *** [all] Error 2 user@ubuntu:~/Desktop/Scramdisk-0.9$ </snip> than make install user@ubuntu:~/Desktop/Scramdisk-0.9$ sudo make install Password: list='crypto driver utils gui docs'; for subdir in $list; \ do make -C $subdir install; done make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/crypto' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/crypto' make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/driver' if ! test -d /lib/modules/scramdisk; then \ mkdir -p /lib/modules/scramdisk; \ fi && \ install -m 644 scramdisk.ko /lib/modules/scramdisk && \ cd /lib/modules/2.6.15-23-386/extra && \ ln -s ../../scramdisk/scramdisk.ko scramdisk.ko && \ depmod -F /boot/System.map-`uname -r` install: cannot stat `scramdisk.ko': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/driver' make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/utils' mkdir -p /usr/bin install -m 4755 sdcreate sdmount sdumount /usr/bin install -m 755 sdchange /usr/bin test -d /etc/scramdisk/ || mkdir -p /etc/scramdisk test -d /usr/share/scramdisk/ || mkdir -p /usr/share/scramdisk install -m 644 scramdiskrc /etc/scramdisk if test -d /etc/init.d/boot.d; then \ (install -m 755 scramdisk.init /etc/init.d/boot.scramdisk && \ test -x /sbin/insserv && /sbin/insserv /etc/init.d/boot.scramdisk); \ elif test -d /etc/rcS.d; then \ (install -m 755 scramdisk.init /etc/init.d/scramdisk && \ test -x /usr/sbin/update-rc.d && \ /usr/sbin/update-rc.d scramdisk start 80 S . stop 04 S .); \ fi Adding system startup for /etc/init.d/scramdisk ... /etc/rcS.d/K04scramdisk -> ../init.d/scramdisk /etc/rcS.d/S80scramdisk -> ../init.d/scramdisk ./scramdisk.init start Scramdisk not installed make[1]: *** [install] Error 5 make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/utils' make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/gui' cp -f "scramdisk" "/usr/bin/scramdisk" strip "/usr/bin/scramdisk" chmod 4755 /usr/bin/scramdisk cp -f "change.png" "/usr/share/scramdisk/" cp -f "create.png" "/usr/share/scramdisk/" cp -f "mount.png" "/usr/share/scramdisk/" cp -f "scramdisk.png" "/usr/share/scramdisk/" cp -f "umount.png" "/usr/share/scramdisk/" make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/gui' make[1]: Entering directory `/home/user/Desktop/Scramdisk-0.9/docs' test -d /usr/share/scramdisk || mkdir -p /usr/share/scramdisk test -d /usr/share/doc/scramdisk || mkdir -p /usr/share/doc/scramdisk install -m 644 index_en.html intro_en.html mount_en.html create_en.html change_en.html config_en.html index_de.html intro_de.html mount_de.html create_de.html change_de.html config_de.html gui.jpg create.jpg ppdialog.jpg config.jpg gui_de.jpg create_de.jpg ppdialog_de.jpg config_de.jpg /usr/share/scramdisk install -m 644 scramdisk.pdf /usr/share/doc/scramdisk/scramdisk_en.pdf install: cannot stat `scramdisk.pdf': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/user/Desktop/Scramdisk-0.9/docs' make: *** [install] Error 2 user@ubuntu:~/Desktop/Scramdisk-0.9$ Reboot, than start SD4L in terminal- scramdisk (later I did a shortcut). Program starts with a nice GUI, enter paht to container, and path to mount dir previously created;(/mnt/) or (/home/mnt/). Click mount, enter the passfhrase and get this error: "Mounting failed:" "No such file or directory" I am not sure if this is related to those errors shown durin make, make install.... FYI, I made a "test" sd4l container of 64MB (raw) but couldn't mount than went to windowsXP and formatted it with windows fat32 and it work in my windows system. Back to linux still couldn't mount it. As a side note, the "options" window is not fitting in height, the screen of my laptop, and doesn't resize in order to show the bottom buttons! TIA. |