Mike Frysinger <[EMAIL PROTECTED]> writes: > On Tuesday 19 February 2008, Simon Josefsson wrote: >> Mike Frysinger <[EMAIL PROTECTED]> writes: >> > On Tuesday 19 February 2008, Simon Josefsson wrote: >> >> Mike Frysinger <[EMAIL PROTECTED]> writes: >> >> > ../../libidn-1.5/src/idn.c:449: undefined reference to >> >> > `_idna_to_unicode_8z4z' ../../libidn-1.5/src/idn.c:456: undefined >> >> > reference to `_idna_strerror' >> >> >> >> That is strange, all those symbols should be defined in libidn. What >> >> does 'bfin-linux-uclibc-nm lib/.libs/libidn.so' show? >> > >> > ok, it's a bug in libtool, not libidn. once i fixed that, it builds. >> > should be fine to release. thanks! >> >> Yeah, I tracked it down as well, and it seems the -export-symbols-regex >> parameter doesn't really work well under bfin because of a function name >> underscore mismatch. Btw, how did you fix the libtool bug? > > it's a known issue in libtool when working with toolchains that have symbol > prefixes and -export-symbols-regex. libtool takes the symbol list, removes > the prefix, does the regex, but then forgets to add back in the prefix before > generating the version script. > > stick a `sed s:^:_:` in the pipeline after the regex matching and it works.
Ok, thanks for explaining. Hopefully v1.5 should have solved the other problem. /Simon _______________________________________________ Help-libidn mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-libidn
