Hi!

lib/gltests/test-localename.c from libidn-1.30 fails to build on NetBSD:

  CCLD     test-localename
test-localename.o: In function `test_locale_name_thread':
test-localename.c:(.text+0x23): undefined reference to `uselocale'
test-localename.c:(.text+0x73): undefined reference to `uselocale'
test-localename.c:(.text+0x109): undefined reference to `uselocale'
test-localename.c:(.text+0x191): undefined reference to `uselocale'
test-localename.c:(.text+0x1ce): undefined reference to `uselocale'
test-localename.o:test-localename.c:(.text+0x27c): more undefined references to 
`uselocale' follow
*** Error code 1

The configure script already checks for this function, but the result
is ignored (from config.h):

/* Define to 1 if you have the `uselocale' function. */
/* #undef HAVE_USELOCALE */

Please do not reference uselocale() on systems where it doesn't exist.

Thanks,
 Thomas

_______________________________________________
Help-libidn mailing list
Help-libidn@gnu.org
https://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to