On 07/14/2012 11:53 PM, Bruce Dubbs wrote: > Armin K. wrote: >> On 07/14/2012 10:49 PM, Bruce Dubbs wrote: >> >> Here are some corrections to your work. I've defined path to usb.ids and >> pci.ids, added common library to shared libudev because there are >> undefined references later when linking against that one. Also, I've >> modified installation to install gtk-doc htmldocs that are present there. > > What packages need additional references in libudev? I tried to make > that exactly the same as the full systemd build. > > Also, is your target for these changes LFS or BLFS? For BLFS I thought > we'd use the full systemd configure && make and then use a custom copy > for those things needed. I don't think we need any custom Makefile or > other additional files for BLFS. > > -- Bruce >
If you try to link ANYTHING against libudev built your way, it will fail with undefined references to mkdir_parrents and something else which are defined in src/shared/*.c files. And if you look closely at systemd build, you can notice that even systemd's Makefile links shared libudev to libsystemd-shared (udev-common in our case). I've created Makefile stuff for gudev, gir data and keymap. We don't need anything else in BLFS either. Unless, of course, you are going to support whole systemd there which you are so against. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page