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

Compiling util-linux under Debian (crypto kernel)



Hi,
I am compiling the crypto options into kernel under
potato r4.  The kernel part was a breeze but when I
try to compile util-linux, I ran into compilation
errors:

cc -c -O -pipe -O2 -m486 -fomit-frame-pointer -I../lib
-Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1
 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\"
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_NFS lomount.c
lomount.c:50: `LO_CRYPT_SERPENT' undeclared here (not
in a function)
lomount.c:50: initializer element is not constant
lomount.c:50: (near initialization for
`crypt_type_tbl[7].id')
lomount.c:51: `LO_CRYPT_MARS' undeclared here (not in
a function)
lomount.c:51: initializer element is not constant
lomount.c:51: (near initialization for
`crypt_type_tbl[8].id')
lomount.c:52: `LO_CRYPT_RC6' undeclared here (not in a
function)
lomount.c:52: initializer element is not constant
lomount.c:52: (near initialization for
`crypt_type_tbl[9].id')
lomount.c:53: `LO_CRYPT_DES_EDE3' undeclared here (not
in a function)
lomount.c:53: initializer element is not constant
lomount.c:53: (near initialization for
`crypt_type_tbl[10].id')
lomount.c:54: `LO_CRYPT_DFC' undeclared here (not in a
function)
lomount.c:54: initializer element is not constant
lomount.c:54: (near initialization for
`crypt_type_tbl[11].id')
lomount.c: In function `set_loop':
lomount.c:292: `LO_CRYPT_SERPENT' undeclared (first
use in this function)
lomount.c:292: (Each undeclared identifier is reported
only once
lomount.c:292: for each function it appears in.)
lomount.c:293: `LO_CRYPT_MARS' undeclared (first use
in this function)
lomount.c:294: `LO_CRYPT_RC6' undeclared (first use in
this function)
lomount.c:295: `LO_CRYPT_DES_EDE3' undeclared (first
use in this function)
lomount.c:296: `LO_CRYPT_DFC' undeclared (first use in
this function)
make[1]: *** [lomount.o] Error 1
make[1]: Leaving directory
`/usr/src/util-linux-2.10s/mount'
make: *** [all] Error 1                         

I had done this before (in SuSE 6.4) without a hitch
using exactly the same kernel and util-linux version. 
I am sure I am missing some files.  

I am using kernel 2.2.18, patch-int-2.2.18.3 and
util-linux-2.10s.  

Thanks for any advice.

GZ

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



Reply to: