LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-30-2010, 11:48 AM   #1
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
dmraid Slackware 13.1


OK, so I've made the move to 13.1 from 12.1, with a brief stay in OpenSUSE land, and am working out some issues. I use dmraid to mount my fakeraid (necessary since I dual boot with Windows XP on the same RAID), and have had some interesting issues with dmraid. Most distros (such as OpenSUSE) easily handle installing on fakeraid and in fact OpenSUSE 11.3 did that without problem, but Slackware is a bit more ... manual. (We like it that way, right?)

I used to use dmraid-1.0.0.rc14 uder Slackware 12.1, compiled statically in my initrd to get the array up at boot time. I tried compiling the latest dmraid-1.0.0.rc16-3 under Slackware 13.1 and got the following message from the ./configure, regardless of static linking or not:

Code:
checking for dm_event_handler_create in -ldevmapper-event... no
configure: error: device-mapper-event library is either missing or is too old and badly linked
with failure to configure. So I went back to 1.0.0.rc14, which I still had around, and tried building it statically with ./configure --enable-static_link but got
Code:
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libdevmapper.a(libdm-common.o): In function `_check_udev_is_running':
libdm-common.c:(.text+0x107b): undefined reference to `udev_new'
libdm-common.c:(.text+0x108d): undefined reference to `udev_queue_new'
libdm-common.c:(.text+0x109f): undefined reference to `udev_queue_get_udev_is_active'
libdm-common.c:(.text+0x10ae): undefined reference to `udev_queue_unref'
libdm-common.c:(.text+0x10b6): undefined reference to `udev_unref'
libdm-common.c:(.text+0x11c4): undefined reference to `udev_unref'
collect2: ld returned 1 exit status
make[1]: *** [dmraid] Error 1
make[1]: Leaving directory `/home/mostlyharmless/dmraid/1.0.0.rc14/tools'
make: *** [tools] Error 2
when I tried to "make"

I rebuild it dynamically with plain old ./configure and make worked without error, and in fact, everything works great now.

Don't know if that's helpful to anyone else using dmraid and Slackware 13.1, but there it is.
 
Old 12-31-2010, 07:41 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
FYI
It compiles fine with the latest lvm2-2.02.79 package

Regards
 
Old 12-31-2010, 09:42 AM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851

Original Poster
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
To clarify, you mean one needs to update lvm2 in slackware 13.1 to make dmraid-1.0.0-rc16-3, correct? Thanks, good to know, did I miss that somewhere in a changelog?
 
Old 12-31-2010, 09:54 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Slackware-13.1 comes with lvm2-2.02.64
But if you use lvm2-2.02.79 from current, then dmraid-1.0.0.rc16-3 compiles just fine
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install mbr with dmraid and lilo in slackware opensys Linux - Server 3 05-31-2009 02:38 PM
Slackware build for dmraid? vonst Slackware 6 07-03-2006 05:06 AM
dmraid vs mdadm M K Linux - Software 1 02-14-2006 01:54 PM
using dmraid bbbb LinuxQuestions.org Member Success Stories 0 12-23-2005 08:46 PM
dmraid INIT hang problem on slackware 10.1 KnightHawk Linux - Hardware 0 08-31-2005 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration