[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] unable to compile the multipath-tools
- From: Ling Hwa Hing <hwahing nasioncom net>
- To: dm-devel redhat com
- Subject: [dm-devel] unable to compile the multipath-tools
- Date: Mon, 17 May 2004 17:10:31 +0800
Hi all,
Good Day to you guys. I couldn't compile the multipath-tools which released with udev-025 and multipath-tools-0.18 either.
this is the compilations error i get from the screen
make[1]: Entering directory `/tmp/udev-025/extras/multipath-tools/libdevmapper'
Make complete
make[1]: Leaving directory `/tmp/udev-025/extras/multipath-tools/libdevmapper'
make[1]: Entering directory `/tmp/udev-025/extras/multipath-tools/devmap_name'
gcc -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc -I../../../klibc/klibc/include -I../../../klibc/klibc/include/bits32 -I/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/include -I/lib/modules/2.6.6/build/include -I -I. -c -o devmap_name.o devmap_name.c
ld -o devmap_name ../../../klibc/klibc/crt0.o devmap_name.o ../libdevmapper/libdm-common.o ../libdevmapper/ioctl/libdevmapper.o ../../../klibc/klibc/libc.a /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/libgcc.a
ld: ../../../klibc/klibc/libc.a: No such file: No such file or directory
make[1]: *** [devmap_name] Error 1
make[1]: Leaving directory `/tmp/udev-025/extras/multipath-tools/devmap_name'
make[1]: Entering directory `/tmp/udev-025/extras/multipath-tools/multipath'
ld -o multipath /tmp/klibc/klibc/crt0.o devinfo.o main.o ../../../libsysfs/dlist.o ../../../libsysfs/sysfs_bus.o ../../../libsysfs/sysfs_class.o ../../../libsysfs/sysfs_device.o ../../../libsysfs/sysfs_dir.o ../../../libsysfs/sysfs_driver.o ../../../libsysfs/sysfs_utils.o /tmp/udev-025/extras/multipath-tools/libdevmapper/libdm-common.o /tmp/udev-025/extras/multipath-tools/libdevmapper/ioctl/libdevmapper.o /tmp/klibc/klibc/libc.a /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/libgcc.a
../../../libsysfs/sysfs_bus.o(.text+0xc3): In function `sysfs_get_bus_devices':
: undefined reference to `__errno_location'
../../../libsysfs/sysfs_bus.o(.text+0x252): In function `sysfs_get_bus_drivers':
: undefined reference to `__errno_location'
../../../libsysfs/sysfs_bus.o(.text+0x3de): In function `sysfs_open_bus':
: undefined reference to `__errno_location'
../../../libsysfs/sysfs_bus.o(.text+0x503): In function `sysfs_get_bus_device':
: undefined reference to `__errno_location'
../../../libsysfs/sysfs_bus.o(.text+0x55b): In function `sysfs_get_bus_driver':
: undefined reference to `__errno_location'
../../../libsysfs/sysfs_bus.o(.text+0x600): more undefined references to `__errno_location' follow
../../../libsysfs/sysfs_dir.o(.text+0x113): In function `sysfs_open_attribute':
: undefined reference to `__xstat'
<snip>
--make[1]: *** [multipath] Error 1
make[1]: Leaving directory `/tmp/udev-025/extras/multipath-tools/multipath'
make[1]: Entering directory `/tmp/udev-025/extras/multipath-tools/multipathd'
gcc -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -DDEBUG=1 -c -o main.o main.c
gcc -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -DDEBUG=1 -c -o devinfo.o devinfo.c
gcc -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -DDEBUG=1 -c -o checkers.o checkers.c
gcc -lpthread -ldevmapper -lsysfs main.o devinfo.o checkers.o -o multipathd
/usr/bin/ld: cannot find -lsysfs
collect2: ld returned 1 exit status
make[1]: *** [multipathd] Error 1
make[1]: Leaving directory `/tmp/udev-025/extras/multipath-tools/multipathd'
make: *** [recurse] Error 2
----end----
any idea on how to solved this? I've been try to install this for few days. (how dumb i am)
I would like to test out the multipath in my linux box and hit it with some traffic.
Any help is greatly appreciated.
Thanks,
Regards,
hwahing
Linux: be root. - Windows: reboot.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]