* Unable to build MPT 0.4.9
@ 2010-05-24 12:52 --[ UxBoD ]--
2010-05-24 14:38 ` Zdenek Kabelac
0 siblings, 1 reply; 3+ messages in thread
From: --[ UxBoD ]-- @ 2010-05-24 12:52 UTC (permalink / raw)
To: dm-devel
When attempting to build the RPM for the latest release I receive the error:
ake[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/libmultipath/checkers'
make[2]: Entering directory `/home/compuser/multipath-tools-0.4.9/multipath'
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath -c -o main.o main.c
main.c: In function ?main?:
main.c:457: warning: implicit declaration of function ?dm_udev_wait?
cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath main.o -o multipath -lpthread -ldevmapper -ldl -lmultipath -L../libmultipath
main.o: In function `main':
/home/compuser/multipath-tools-0.4.9/multipath/main.c:457: undefined reference to `dm_udev_wait'
../libmultipath/libmultipath.so: undefined reference to `dm_task_set_cookie'
collect2: ld returned 1 exit status
make[2]: *** [multipath] Error 1
make[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/multipath'
make[1]: *** [recurse] Error 2
make[1]: Leaving directory `/home/compuser/multipath-tools-0.4.9'
error: Bad exit status from /var/tmp/rpm-tmp.44249 (%build)
This is on a CentOS 5.4 system running kernel 2.6.28.7. Am I missing a dependency ?
--
Thanks, Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to build MPT 0.4.9
2010-05-24 12:52 Unable to build MPT 0.4.9 --[ UxBoD ]--
@ 2010-05-24 14:38 ` Zdenek Kabelac
2010-05-24 15:10 ` Peter Rajnoha
0 siblings, 1 reply; 3+ messages in thread
From: Zdenek Kabelac @ 2010-05-24 14:38 UTC (permalink / raw)
To: --[ UxBoD ]--, device-mapper development
Dne 24.5.2010 14:52, --[ UxBoD ]-- napsal(a):
> When attempting to build the RPM for the latest release I receive the error:
>
> ake[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/libmultipath/checkers'
> make[2]: Entering directory `/home/compuser/multipath-tools-0.4.9/multipath'
> cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath -c -o main.o main.c
> main.c: In function ?main?:
> main.c:457: warning: implicit declaration of function ?dm_udev_wait?
> cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath main.o -o multipath -lpthread -ldevmapper -ldl -lmultipath -L../libmultipath
> main.o: In function `main':
> /home/compuser/multipath-tools-0.4.9/multipath/main.c:457: undefined reference to `dm_udev_wait'
> ../libmultipath/libmultipath.so: undefined reference to `dm_task_set_cookie'
> collect2: ld returned 1 exit status
> make[2]: *** [multipath] Error 1
> make[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/multipath'
> make[1]: *** [recurse] Error 2
> make[1]: Leaving directory `/home/compuser/multipath-tools-0.4.9'
> error: Bad exit status from /var/tmp/rpm-tmp.44249 (%build)
>
> This is on a CentOS 5.4 system running kernel 2.6.28.7. Am I missing a dependency ?
Looks like your libdevmapper is compiled without udev support, but multipath
is configured with udev support - thought this is just a wild guess from your
output.
Zdenek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to build MPT 0.4.9
2010-05-24 14:38 ` Zdenek Kabelac
@ 2010-05-24 15:10 ` Peter Rajnoha
0 siblings, 0 replies; 3+ messages in thread
From: Peter Rajnoha @ 2010-05-24 15:10 UTC (permalink / raw)
To: device-mapper development; +Cc: --[ UxBoD ]--, Zdenek Kabelac
On 05/24/2010 04:38 PM, Zdenek Kabelac wrote:
> Dne 24.5.2010 14:52, --[ UxBoD ]-- napsal(a):
>> When attempting to build the RPM for the latest release I receive the error:
>>
>> ake[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/libmultipath/checkers'
>> make[2]: Entering directory `/home/compuser/multipath-tools-0.4.9/multipath'
>> cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath -c -o main.o main.c
>> main.c: In function ?main?:
>> main.c:457: warning: implicit declaration of function ?dm_udev_wait?
>> cc -pipe -g -Wall -Wunused -Wstrict-prototypes -fPIC -DLIB_STRING=\"lib64\" -I../libmultipath main.o -o multipath -lpthread -ldevmapper -ldl -lmultipath -L../libmultipath
>> main.o: In function `main':
>> /home/compuser/multipath-tools-0.4.9/multipath/main.c:457: undefined reference to `dm_udev_wait'
>> ../libmultipath/libmultipath.so: undefined reference to `dm_task_set_cookie'
>> collect2: ld returned 1 exit status
>> make[2]: *** [multipath] Error 1
>> make[2]: Leaving directory `/home/compuser/multipath-tools-0.4.9/multipath'
>> make[1]: *** [recurse] Error 2
>> make[1]: Leaving directory `/home/compuser/multipath-tools-0.4.9'
>> error: Bad exit status from /var/tmp/rpm-tmp.44249 (%build)
>>
>> This is on a CentOS 5.4 system running kernel 2.6.28.7. Am I missing a dependency ?
>
> Looks like your libdevmapper is compiled without udev support, but multipath
> is configured with udev support - thought this is just a wild guess from your
> output.
Well, yes, multipath needs to check for the version of libdevmapper if it's
recent enough and if it has udev_sync support interface (libdevmapper >= 1.2.39).
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-24 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 12:52 Unable to build MPT 0.4.9 --[ UxBoD ]--
2010-05-24 14:38 ` Zdenek Kabelac
2010-05-24 15:10 ` Peter Rajnoha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.