Mq_getattr is defined in mqueue.h Assuming the source has this included, then you need to make sure you compile/link with -lrt Did you check that? Also, mqueue.h is part of the package libc6-dev or glibc-devel. Is this all installed correctly?
From: [email protected] [mailto:[email protected]] On Behalf Of William Harrington Sent: Thursday, May 30, 2013 10:45 PM To: CLFS Support Subject: Re: [Clfs-support] gcc-4.8.0 clfs Begin forwarded message: From: bvl <[email protected]<mailto:[email protected]>> Date: May 30, 2013 6:28:50 PM CDT To: [email protected]<mailto:[email protected]> Cc: William Harrington <[email protected]<mailto:[email protected]>>, Martin Ward <[email protected]<mailto:[email protected]>> Subject: Re: [Clfs-support] gcc-4.8.0 clfs 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
_______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
