compilation problem

Submitted by pradeepks
on February 6, 2006 - 1:12am

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

harveymw
on
February 23, 2006 - 7:55pm

You probably need to #include somewhere.

Rgds,

-H-

cryptsetup compile problem

Rohit Toshniwal (not verified)
on
September 29, 2007 - 6:27pm

Need to add
#include
in the lib/utils.c file.

That fiexs the issue.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.