Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
loop-aes fails to compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MrIch
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 204

PostPosted: Sun Sep 07, 2003 5:30 pm    Post subject: loop-aes fails to compile Reply with quote

Hi,

I use gcc 3.3.1 with loop-AES-v1.7e runing on a linux-2.6.0-test4-mm6 kernel. I do not know, where is the problem, is it gcc related or is the problem the new kernel?

bash-2.05b# make LINUX_SOURCE=/usr/src/linux-beta/
cd /usr/src/linux-beta/ && make SUBDIRS=/usr/local/src/loop-AES-v1.7e modules Q='@cd /usr/local/src/loop-AES-v1.7e && if [ "$@" = "/usr/local/src/loop-AES-v1.7e" ]; then make modules; fi && true '
make[1]: Entering directory `/usr/src/linux-2.6.0-test4-mm6'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
rm -f *.o *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f patched-loop.[ch]
cp loop.c-2.6.patched patched-loop.c
cd /usr/src/linux-2.6.0-test4-mm6 && gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-pointer -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c /usr/local/src/loop-AES-v1.7e/patched-loop.c -o /usr/local/src/loop-AES-v1.7e/patched-loop.o
/usr/local/src/loop-AES-v1.7e/patched-loop.c: In function `loop_set_fd':
/usr/local/src/loop-AES-v1.7e/patched-loop.c:1030: error: structure has no member named `bd_count'
/usr/local/src/loop-AES-v1.7e/patched-loop.c: In function `loop_clr_fd':
/usr/local/src/loop-AES-v1.7e/patched-loop.c:1127: error: structure has no member named `bd_count'
make[2]: *** [patched-loop.o] Error 1
make[1]: *** [/usr/local/src/loop-AES-v1.7e] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0-test4-mm6'
make: *** [all] Error 2
Back to top
View user's profile Send private message
MrIch
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 204

PostPosted: Tue Sep 09, 2003 7:08 am    Post subject: Reply with quote

that the solution:

http://loop-aes.sourceforge.net/loop-AES/loop-AES-v1.7e.tar.bz2
http://loop-aes.sourceforge.net/loop-AES/loop-AES-v1.7e.tar.bz2.sign
http://loop-aes.sourceforge.net/updates/loop-AES-v1.7e-20030908.diff.bz2
http://loop-aes.sourceforge.net/updates/loop-AES-v1.7e-20030908.diff.bz2.sign
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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