tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libarchive/archive_string.c:269: `wcrtomb' undeclared

(After reverting Revision 1.153 of pkgsrc/pkgtools/pkg_install/Makefile)

On FreeBSD 4.x, bootstrapping failed here:

4 -DDEF_UMASK=0022 
s/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/foo/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -O2 -c 
g.c -o libarchive/archive_string.o
libarchive/archive_string.c: In function `__archive_strappend_w_mbs':
libarchive/archive_string.c:269: `wcrtomb' undeclared (first use in this 
libarchive/archive_string.c:269: (Each undeclared identifier is reported only 
libarchive/archive_string.c:269: for each function it appears in.)

It is not implemented in FreeBSD 4.x.

Not I didn't have this problem on same system in mid April.

Sorry I don't know about this. I see:

# nm /usr/lib/libc.a | grep tomb
000001c8 T wcstombs
000000ac T wctomb

Any comments? Let me know if you want me to send-pr this.

Home | Main Index | Thread Index | Old Index