[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with last util-linux patch?
Hello to everyone
I've tried last patch-int on my laptop, i have a red-hat 7.2 with gcc
downgraded to 2.95.4 on it.
i've patched a kernel 2.4.17 with loop-jari-2.4.16.0.patch and
patch-int-2.4.17.0, everything went smooth and the kernel compiled without
problems.
I found problems when i patched util-linux-2.11n.tar.gz with
util-linux-2.11n.patch.
Compiling losetup, mount or unmount from patched source gave me this
error:
lomount.c: In function `show_loop':
lomount.c:151: warning: unsigned int format, different type arg (arg 3)
lomount.c: In function `set_loop_passwd':
lomount.c:415: duplicate case value
lomount.c:413: this is the first entry for that value
make: *** [main_losetup.o] Error 1
i've found it was conflict in the definition of LO_CRYPT_IDEA and
LO_CRYPT_FISH2, between loop.h and lomount.c. Bringing the value of
LO_CRYPT_IDEA to 6 in loop.c resolved the problem.
It was my fault or it is really a bug in the util-linux patch?
Bye
Zeist
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/