Ken Moffat wrote: > On Thu, May 31, 2012 at 09:13:08PM -0500, Bruce Dubbs wrote: >> Ken Moffat wrote:
> func_lalib_unsafe_p () > { > lalib_p=no > if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then > for lalib_p_l in 1 2 3 4 > do > read lalib_p_line > case "$lalib_p_line" in > \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; > esac > done > exec 0<&5 5<&- > fi > test "$lalib_p" = yes > } > I've edited /usr/lib/libtool.la to start with the following: > # libudev.la - a libtool library file > # Generated by libtool > # Custom file by LFS Perhaps: # Generated by libtool # and customized by LFS > That is good enough to get past that first problem (probably better > if Custom file was replaced by something to clarify it's not really > from libtool), but it then fails the same way that my attempt to use > the .so file (by hiding the .la) did: > > /usr/lib/libudev.so: undefined reference to `mkdir_parents' > /usr/lib/libudev.so: undefined reference to `startswith' Those are in src/shared/util.c. It needs to either be compiled with -fvisibility=normal or just directly included in the link line with the program to be built. Do you want me to create another patch? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page