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:

 cc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=6
4 -DDEF_UMASK=0022 
-I/foo/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
 -I/foo/pkgsrc/bootstrap/work/wrk/pkgtool
s/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/foo/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat -O2 -c 
libarchive/archive_strin
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 
function)
libarchive/archive_string.c:269: (Each undeclared identifier is reported only 
once
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