On 31/05/13 00:28, bvl wrote:
On Thursday 30 May 2013 12:47:37 William Harrington wrote:
I'll update my working book and right now I'm doing a powerpc target

Following my recent  emails   to the list I am a bit more successful after
trying MWard's WHarrington's updates  over the last few days .  I  shall
hopefully  make a report soon.  You may all recall my build is amd64 (pure64).
I  reached as far as udev-182 with the build.  I am using the  instructions in
the clfs dev book of a few days ago. namely:-

./configure --prefix=/usr \
   --sysconfdir=/etc --with-rootprefix="" \
   --libexecdir=/lib --bindir=/sbin \
   --with-usb-ids-path=no --with-pci-ids-path=no \
   --enable-rule_generator --disable-introspection \
   --disable-keymap --disable-gudev

Make ends like so:-
#---------------------
   CCLD   udevadm
   CC     src/udevd-udev-event.o
   CC     src/udevd-udev-watch.o
   CC     src/udevd-udev-node.o
   CC     src/udevd-udev-rules.o
   CC     src/udevd-udev-ctrl.o
   CC     src/udevd-udev-builtin.o
   CC     src/udevd-udev-builtin-blkid.o
   CC     src/udevd-udev-builtin-firmware.o
   CC     src/udevd-udev-builtin-hwdb.o
   CC     src/udevd-udev-builtin-input_id.o
   CC     src/udevd-udev-builtin-kmod.o
   CC     src/udevd-udev-builtin-path_id.o
   CC     src/udevd-udev-builtin-usb_id.o
   CC     src/udevd-udevd.o
   CC     src/udevd-sd-daemon.o
   CCLD   udevd
src/udevd-sd-daemon.o: In function `sd_is_mq':
/udev-182/src/sd-daemon.c:394: undefined reference to `mq_getattr'
collect2: error: ld returned 1 exit status
make[2]: *** [udevd] Error 1
#--------

Advice would be appreciated.

sincerely
bv

Try adding LDFLAGS="$LDFLAGS -lrt" at the start of the configure command

i.e
LDFLAGS="$LDFLAGS -lrt" ./configure --prefix=/usr \ --sysconfdir=/etc --with-rootprefix="" \ --libexecdir=/lib --bindir=/sbin \ --with-usb-ids-path=no --with-pci-ids-path=no \ --enable-rule_generator --disable-introspection \ --disable-keymap --disable-gudev

or after the make command

make LDFLAGS="$LDFLAGS -lrt"

martin
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to