Re: invalid argument in 2.4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> lbea@xxxxxxx wrote:
> > o.k. i'm not too familiar with linux yet. anyway i'm having problems to
> get
> > cryptoapi on a 2.4.18 kernel running. ..
>
> 
> http://mail.nl.linux.org/linux-crypto/2003-03/msg00047.html
>   or
> http://marc.theaimsgroup.com/?l=linux-crypto&m=104862835216198&w=2
>     
> Regards,
> Jari Ruusu <jari.ruusu@xxxxxxxxxx>
> 

Hi Jari,

well, i did download the loop-aes and i did unpack the utils-file again,
since i figuered, i'd need an unpatched one. Well after all the make command
didn't work quite right. 
Here is what i did. I tried to follow a german instruction site:
<http://www.pl-forum.de/t_system/loop-aes.html>

Doing this:

Going into the utils directory, patching the utils file: 

cat /path/to/Loop-AES/util-linux-2.xx.diff | patch -p1

cd util-linux-2.11z
./configure

configuring util-linux-2.11z

output:
You have <scsi/scsi.h>
You have <linux/blkpg.h>
You have <linux/kd.h>
You have <locale.h>
You have <langinfo.h>
You have <sys/user.h>
You have <rpcsvc/nfs_prot.h>
You have <asm/types.h>
You have <linux/raw.h>
You have inet_aton()
You have fsync()
You have getdomainname()
You have nanosleep()
You have personality()
You have updwtmp()
You have fseeko()
You have lchown()
You don't need <linux/tqueue.h>
You don't have <term.h>
You don't have ncurses - I will not make ul and setterm.
You don't have termcap - I will not make more.
You need -lcrypt
You have <libintl.h> and gettext()
You have __progname
You have <pty.h> and openpty()
You have wide character support
You have __NR_pivot_root
You have a tm_gmtoff field in struct tm
Your rpcgen seems to work
You have zlib


make ADD_RAW=no
cd mount
install -m 4755 -o root mount umount /bin
install -m 755 losetup /sbin

there was no error message there. Then i went back to the
loop-aes-directory, did 

make clean
make

getting the following output:

client4:/home/bs/Documents/loop-AES-v1.7c # make clean
rm -f *.o *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
client4:/home/bs/Documents/loop-AES-v1.7c # make
cd /lib/modules/2.4.18-4GB/build && make
SUBDIRS=/home/bs/Documents/loop-AES-v1.7c modules Q='@cd /home/bs/Documents/loop-AES-v1.7c && if [ "$@" =
"/home/bs/Documents/loop-AES-v1.7c" ]; then make modules; fi && true '
make[1]: Wechsel in das Verzeichnis Verzeichnis »/usr/src/linux-2.4.18.SuSE«
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-I/usr/src/linux-2.4.18.SuSE/include -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make -C  /home/bs/Documents/loop-AES-v1.7c CFLAGS="-D__KERNEL__
-I/usr/src/linux-2.4.18.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE" MAKING_MODULES=1 modules
make[2]: Wechsel in das Verzeichnis Verzeichnis
»/home/bs/Documents/loop-AES-v1.7c«
rm -f *.o *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f patched-loop.[ch]
cp loop.c-2.4.patched patched-loop.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18.SuSE/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE        
-DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c patched-loop.c -o
patched-loop.o
In file included from patched-loop.c:71:
/usr/src/linux-2.4.18.SuSE/include/linux/module.h:21: linux/modversions.h:
file or directory not found
make[2]: *** [patched-loop.o] error 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
»/home/bs/Documents/loop-AES-v1.7c«
make[1]: *** [_mod_/home/bs/Documents/loop-AES-v1.7c] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
»/usr/src/linux-2.4.18.SuSE«
make: *** [all] error 2

So it all stops there.

What' wrong?

Thanx for answering

Bea

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux