[Clfs-support] gcc-4.8.0 clfs
bvl
bvl at btconnect.com
Fri May 31 06:50:37 PDT 2013
On Friday 31 May 2013 10:08:29 Martin Ward wrote:
> 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
is mq_getattr part of librt.so/librt.a?
I tried eudev
( https://github.com/gentoo/eudev )
and it compiled .
( Unfortunately I am rebuilding my setup - I reached as far as installing
bootscripts and went to delete any unwanted /etc/rc.d/rc.x links as and
accidently the whole clfs partition was effectively deleted so I am
rebuilding)
As regards eudev, The site says it tracks systemd and extracts the udev so I
am wondering if this is not a better uption than to remain nailed to udev-182.
comments welcomed
sincerely
bv
More information about the Clfs-support
mailing list