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

problems making patched util-linux-2.11b



I am trying to make the patched utilities for the loopback encryption
according to the howto at sourceforge.  I'm using slackware-current with
gcc 2.95.3 and glibc-2.2.2, with a 2.4.3 kernel on a smp x86 box.

I have checked that /usr/include/linux and /usr/include/asm are symlinks to
include/linux and include/asm-i386.

Here is the output from ./configure after cleaning patching with the
latest patch:

configuring util-linux-2.11b

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 <asm/types.h>
You have inet_aton()
You have fsync()
You have getdomainname()
You have nanosleep()
You have personality()
You have updwtmp()
You don't need <linux/tqueue.h>
You have <term.h>
You have ncurses. Using <ncurses/curses.h>.
You have termcap
You need -lcrypt
You have <libintl.h> and gettext()
Assuming that you want to enable NLS support.
(Otherwise, edit defines.h and remove the line with ENABLE_NLS)
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

setproctitle.o builds normally, then when I cd to mount/ and try 'make
losetup mount umount' it barfs the following errors:

cc -c -O -pipe -O2 -m486 -fomit-frame-pointer -I../lib -Wall
-Wmissing-prototypes -Wstrict-prototypes -I/usr/include/ncurses -DNCH=0
-D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\"
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\"
-DHAVE_NFS -DMAIN lomount.c -o main_losetup.o
lomount.c:34: loop.h: No such file or directory
lomount.c:99: warning: `struct loop_info' declared inside parameter list
lomount.c:99: warning: its scope is only this definition or declaration,
which is probably not what you want.
lomount.c:525: conflicting types for `set_loop'
lomount.h:3: previous declaration of `set_loop'
lomount.c: In function `name_to_id':
lomount.c:730: `crypt_type_tbl' undeclared (first use in this function)
lomount.c:730: (Each undeclared identifier is reported only once
lomount.c:730: for each function it appears in.)
lomount.c: In function `id_to_name':
lomount.c:743: `crypt_type_tbl' undeclared (first use in this function)
lomount.c: At top level:
lomount.c:99: warning: `set_loop_passwd' declared `static' but never
defined
lomount.c:694: warning: `get_cipher_info' defined but not used
lomount.c:726: warning: `name_to_id' defined but not used
lomount.c:740: warning: `id_to_name' defined but not used
make: *** [main_losetup.o] Error 1

Am I doing something wrong?  Does the 'You need -lcrypt' in the configure
step have anything to do with it, or does the 2.4 kernel just not work
with the loopback encryption yet?

Please cc me as I am not on the list.
Thank you.


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