Skip to Content.
Sympa Menu

sm-users - [SM-Users] cryptoloop problem

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Pierre Abbat <phma AT webjockey.net>
  • To: sm-users AT lists.ibiblio.org
  • Subject: [SM-Users] cryptoloop problem
  • Date: Sun, 5 Jan 2003 23:17:08 -0500

I just attempted to cast linux 2.4.20 with the cryptoloop and acpi patches. I
get the following error:

/usr/bin/make -C drivers modules
make[2]: Entering directory `/usr/src/linux-2.4.20/crypto/drivers'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-comm
on -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-DMODULE -DMODVERSIONS -include /usr/src/linux-2.4
.20/include/linux/modversions.h -nostdinc -iwithprefix include
-DKBUILD_BASENAME=cryptoloop -c -o cryptoloop.o cryptoloop.
c
cryptoloop.c:67:3: #error
******************************************************************
cryptoloop.c:68:3: #error
******************************************************************
cryptoloop.c:69:3: #error
******************************************************************
cryptoloop.c:70:3: #error
******************************************************************
cryptoloop.c:71:3: #error **** ****
cryptoloop.c:72:3: #error **** you need to to patch your loop.c driver ****
cryptoloop.c:73:3: #error **** (or enable CONFIG_CRYPTOLOOP_IV_HACK) ****
cryptoloop.c:74:3: #error **** ****
cryptoloop.c:75:3: #error
******************************************************************
cryptoloop.c:76:3: #error
******************************************************************
cryptoloop.c:77:3: #error
******************************************************************
cryptoloop.c:78:3: #error
******************************************************************
cryptoloop.c:96:3: warning: #warning LO_CRYPT_CRYPTOAPI not (yet) defined in
kernel header
cryptoloop.c: In function `cryptoloop_init':
cryptoloop.c:139: `LOOP_IV_SECTOR_SIZE' undeclared (first use in this
function)
cryptoloop.c:139: (Each undeclared identifier is reported only once
cryptoloop.c:139: for each function it appears in.)
cryptoloop.c: At top level:
cryptoloop.c:188: parse error before "loop_iv_t"
cryptoloop.c:189: warning: function declaration isn't a prototype
cryptoloop.c: In function `cryptoloop_transfer':
cryptoloop.c:191: `lo' undeclared (first use in this function)
cryptoloop.c:195: `size' undeclared (first use in this function)
cryptoloop.c:199: `cmd' undeclared (first use in this function)
cryptoloop.c:205: `raw_buf' undeclared (first use in this function)
cryptoloop.c:206: `loop_buf' undeclared (first use in this function)
cryptoloop.c:239: `IV' undeclared (first use in this function)
cryptoloop.c:239: `LOOP_IV_SECTOR_SIZE' undeclared (first use in this
function)
cryptoloop.c: In function `cryptoloop_ioctl':
cryptoloop.c:287: `LOOP_IV_SECTOR_SIZE' undeclared (first use in this
function)
make[2]: *** [cryptoloop.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20/crypto/drivers'
make[1]: *** [_modsubdir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/crypto'
make: *** [_mod_crypto] Error 2

What's wrong? Has anyone gotten the patch to work?

phma



  • [SM-Users] cryptoloop problem, Pierre Abbat, 01/05/2003

Archive powered by MHonArc 2.6.24.

Top of Page