It is only header that is installed with libudev.so and it contains the
prototypes. Attached patch against udev-lfs-187 fixes that.
--- udev-lfs.orig/Makefile.lfs 2012-07-22 23:32:51.000000000 +0200
+++ udev-lfs/Makefile.lfs 2012-07-24 19:22:37.547940019 +0200
@@ -241,7 +241,7 @@
@mkdir -pv $(DESTDIR)/lib/udev/devices/pts $(DESTDIR)/lib/udev/rules.d \
$(DESTDIR){,/usr}/lib/firmware $(DESTDIR)/sbin \
$(DESTDIR)/usr/lib/pkgconfig $(DESTDIR)/etc/udev/rules.d \
- $(DESTDIR)/usr/share/doc/udev/lfs \
+ $(DESTDIR)/usr/include $(DESTDIR)/usr/share/doc/udev/lfs \
$(DESTDIR)/usr/share/man/man{7,8}
# Copy executables
@@ -251,6 +251,9 @@
@cp -v udev-lfs-$(VERSION)/write* $(DESTDIR)/lib/udev
@cp -v udev-lfs-$(VERSION)/*functions $(DESTDIR)/lib/udev
+ # Copy the libudev header
+ @cp -v src/libudev/libudev.h $(DESTDIR)/usr/include
+
# Copy and set up library and associated files
@cp -v udev-lfs-$(VERSION)/*.pc $(DESTDIR)/usr/lib/pkgconfig
@cp -v build/$(LIBUDEV_REAL_NAME) $(DESTDIR)/lib
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page