pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libarchive-2.8.4 for testing
At 17:47 Uhr +0200 21.06.2010, Joerg Sonnenberger wrote:
>On Sun, Jun 20, 2010 at 10:47:07PM +0200, Hauke Fath wrote:
>> "make check-TESTS" then fails linking with
>>
>> libtool: link: gcc -g -O2 -o libarchive_test [...] -lz -lcrypto
>> libarchive/test/main.c:496: Undefined symbol `_wcscmp' referenced from text
>> segment
>> libarchive/test/test_entry.c:153: Undefined symbol `_wcscpy' referenced
>> from text segment
>[snip]
>
>I've commented out the relevant parts of the test case.
Same goes for wcscmp():
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 > fgrep WCSCPY *
CMakeLists.txt:CHECK_FUNCTION_EXISTS_GLIBC(wcscpy HAVE_WCSCPY)
config.h:/* #undef HAVE_WCSCPY */
config.h.in:#undef HAVE_WCSCPY
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 > less libarchive.out
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 > less libarchive.out
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 > less -N libarchive/test/main.c
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 > grep -R wcscmp *
cpio/test/main.c: if (v1 == v2 || wcscmp(v1, v2) == 0)
libarchive/test/main.c: if (v1 == v2 || wcscmp(v1, v2) == 0)
Binary file libarchive/test/libarchive_test-main.o matches
libarchive/archive_read_support_format_tar.c:static int wcscmp(const
wchar_t *s1, const wchar_t *s2)
libarchive.out:libarchive/test/main.c:496: Undefined symbol `_wcscmp'
referenced from text segment
tar/test/main.c: if (v1 == v2 || wcscmp(v1, v2) == 0)
[hauke@pizza] ~/<1>libarchive/libarchive-2.8.4 >
NetBSD 1.5 is fairly frugal wrt. wide char support:
[hauke@mara] /usr/include > rgrep wcs *
./g++/std/straits.h:153: { return wcslen (s); }
./stdlib.h:132:size_t mbstowcs __P((wchar_t *, const char *, size_t));
./stdlib.h:135:size_t wcstombs __P((char *, const wchar_t *, size_t));
[hauke@mara] /usr/include >
hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
Home |
Main Index |
Thread Index |
Old Index