Hi everyone,
I am using 2.6 kernel for makin the cryptoluks application for hard disk encryption on i86 enviornment.While making the following error occurs
cryptsetup.c:183: warning: pointer targets in passing argument 2 of âgetlineâ differ in signedness
/bin/sh ../libtool --mode=link gcc -g -O2 -o cryptsetup cryptsetup.o -lpopt ../lib/libcryptsetup.la
mkdir .libs
gcc -g -O2 -o .libs/cryptsetup cryptsetup.o /usr/lib/libpopt.so ../lib/.libs/libcryptsetup.so -ldevmapper -lselinux -luuid
../lib/.libs/libcryptsetup.so: undefined reference to `_IO'
collect2: ld returned 1 exit status
make[2]: *** [cryptsetup] Error 1
make[2]: Leaving directory `/home/pradeep/luks/cryptsetup-luks-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeep/luks/cryptsetup-luks-1.0.1'
make: *** [all] Error 2
Is it related to the gcc.
Please help me to find a solution
regards,
Pradeep Kumar.s
cryptoluks compile problem
You probably need to #include somewhere.
Rgds,
-H-
cryptsetup compile problem
Need to add
#include
in the lib/utils.c file.
That fiexs the issue.