[dm-devel] compiling Multipath-tools on RHE4 .

Allen Sanabria asanabria at communityconnect.com
Tue Mar 22 20:08:55 UTC 2005


Our System!
2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64 x86_64 x86_64
GNU/Linux
Red Hat Enterprise Linux ES release 4 (Nahant)

Packages installed
gcc-3.4.3-9.EL4
udev-039-10.8.EL4
device-mapper-1.00.19-2

This is the output I get when I run a make on
multipath-tools-0.4.3-pre9.

In file included from lopart.c:30:
loop.h:82: error: syntax error before "__kernel_old_dev_t"
loop.h:82: warning: no semicolon at end of struct or union
loop.h:84: error: syntax error before "lo_rdevice"
loop.h:84: warning: type defaults to `int' in declaration of
`lo_rdevice'
loop.h:84: warning: data definition has no type or storage class
loop.h:93: error: syntax error before '}' token
lopart.c: In function `find_loop_by_file':
lopart.c:100: error: storage size of 'loopinfo' isn't known
lopart.c:100: warning: unused variable `loopinfo'
lopart.c: In function `find_unused_loop_device':
lopart.c:144: error: storage size of 'loopinfo' isn't known
lopart.c:144: warning: unused variable `loopinfo'
lopart.c: In function `set_loop':
lopart.c:225: error: storage size of 'loopinfo' isn't known
lopart.c:225: warning: unused variable `loopinfo'
make[1]: *** [lopart.o] Error 1
make[1]: Leaving directory
`/root/Multipath/multipath-tools-0.4.3-pre9/kpartx'
make: *** [recurse] Error 2

If you anyone could please help me on getting this to work, This needs
to be implemented ASAP...
Allen Sanabria
Systems Administrator I
205 Hudson St 6th Floor
New York, New York 10013




More information about the dm-devel mailing list