Skip to contentSkip to conversation

kpartx compile error

DISCUSSION Dott. Ing. Colombo Marco 2 participants 2 messages May 8, 2005 – May 9, 2005 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi... there is a compile error in kpartx of multipath tools with kernel 2.6.12-rc4

here is the output

make[1]: Entering directory `/backup/iSCSI/multipath-tools-0.4.5-pre2/kpartx'

rm -f core *.o *.gz

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o bsd.o bsd.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o dos.o dos.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o kpartx.o kpartx.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o solaris.o solaris.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o unixware.o unixware.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o gpt.o gpt.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o crc32.o crc32.c

cc -pipe -g -Wall -Wunused -Wstrict-prototypes -I. -c -o lopart.o lopart.c

In file included from lopart.c:29:

/usr/include/linux/loop.h:88:2: #error "Wrong dev_t in loop.h"

make[1]: *** [lopart.o] Error 1

make[1]: Leaving directory `/backup/iSCSI/multipath-tools-0.4.5-pre2/kpartx'

make: *** [recurse] Error 2