=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for libifp-1.0.0.2nb1 --- all-recursive --- Making all in src --- prim.lo --- --- comp.lo --- --- readwrite.lo --- --- userfile.lo --- --- ifp_os_libusb.lo --- --- error_strings.lo --- --- tuner.lo --- --- prim.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF ".deps/prim.Tpo" -c -o prim.lo `test -f 'prim.c' || echo './'`prim.c; then mv -f ".deps/prim.Tpo" ".deps/prim.Plo"; else rm -f ".deps/prim.Tpo"; exit 1; fi --- comp.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF ".deps/comp.Tpo" -c -o comp.lo `test -f 'comp.c' || echo './'`comp.c; then mv -f ".deps/comp.Tpo" ".deps/comp.Plo"; else rm -f ".deps/comp.Tpo"; exit 1; fi --- readwrite.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF ".deps/readwrite.Tpo" -c -o readwrite.lo `test -f 'readwrite.c' || echo './'`readwrite.c; then mv -f ".deps/readwrite.Tpo" ".deps/readwrite.Plo"; else rm -f ".deps/readwrite.Tpo"; exit 1; fi --- userfile.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT userfile.lo -MD -MP -MF ".deps/userfile.Tpo" -c -o userfile.lo `test -f 'userfile.c' || echo './'`userfile.c; then mv -f ".deps/userfile.Tpo" ".deps/userfile.Plo"; else rm -f ".deps/userfile.Tpo"; exit 1; fi --- error_strings.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT error_strings.lo -MD -MP -MF ".deps/error_strings.Tpo" -c -o error_strings.lo `test -f 'error_strings.c' || echo './'`error_strings.c; then mv -f ".deps/error_strings.Tpo" ".deps/error_strings.Plo"; else rm -f ".deps/error_strings.Tpo"; exit 1; fi --- ifp_os_libusb.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT ifp_os_libusb.lo -MD -MP -MF ".deps/ifp_os_libusb.Tpo" -c -o ifp_os_libusb.lo `test -f 'ifp_os_libusb.c' || echo './'`ifp_os_libusb.c; then mv -f ".deps/ifp_os_libusb.Tpo" ".deps/ifp_os_libusb.Plo"; else rm -f ".deps/ifp_os_libusb.Tpo"; exit 1; fi --- tuner.lo --- if /opt/pkg/bin/mksh ../libtool --mode=compile clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I. -I../include -I/opt/pkg/include -g -O2 -Wall -W -Wno-unused-parameter -MT tuner.lo -MD -MP -MF ".deps/tuner.Tpo" -c -o tuner.lo `test -f 'tuner.c' || echo './'`tuner.c; then mv -f ".deps/tuner.Tpo" ".deps/tuner.Plo"; else rm -f ".deps/tuner.Tpo"; exit 1; fi --- ifp_os_libusb.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT ifp_os_libusb.lo -MD -MP -MF .deps/ifp_os_libusb.Tpo -c ifp_os_libusb.c -fno-common -DPIC -o .libs/ifp_os_libusb.o --- readwrite.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF .deps/readwrite.Tpo -c readwrite.c -fno-common -DPIC -o .libs/readwrite.o --- userfile.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT userfile.lo -MD -MP -MF .deps/userfile.Tpo -c userfile.c -fno-common -DPIC -o .libs/userfile.o --- tuner.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT tuner.lo -MD -MP -MF .deps/tuner.Tpo -c tuner.c -fno-common -DPIC -o .libs/tuner.o --- comp.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c -fno-common -DPIC -o .libs/comp.o --- error_strings.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT error_strings.lo -MD -MP -MF .deps/error_strings.Tpo -c error_strings.c -fno-common -DPIC -o .libs/error_strings.o --- readwrite.lo --- readwrite.c:87:10: warning: passing 'uint8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(dev->filename, f, IFP_BUFFER_SIZE); ^~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ readwrite.c:88:29: warning: passing 'uint8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); ^~~~~~~~~~~~ readwrite.c:13:35: note: passing argument to parameter 'p' here int ifp_copy_parent_string(char * p, const char * f, int n) { ^ readwrite.c:91:29: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = check_permissions(dev, dev->filename); ^~~~~~~~~~~~~ readwrite.c:36:68: note: passing argument to parameter 'f' here static int check_permissions(struct ifp_device * dev, const char * f) { ^ readwrite.c:94:23: warning: passing 'uint8_t [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); ^~~~~~~~~~~ readwrite.c:58:35: note: passing argument to parameter 'd' here static int mangle_filename(char * d, const char * s, int n) ^ --- prim.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF .deps/prim.Tpo -c prim.c -fno-common -DPIC -o .libs/prim.o --- readwrite.lo --- readwrite.c:94:36: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); ^~~~~~~~~~~~~ readwrite.c:58:51: note: passing argument to parameter 's' here static int mangle_filename(char * d, const char * s, int n) ^ readwrite.c:97:23: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_rename(dev, dev->filename, dev->iobuff); ^~~~~~~~~~~~~ ../include/ifp.h:321:54: note: passing argument to parameter 'old_path' here int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); ^ readwrite.c:97:38: warning: passing 'uint8_t [16384]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_rename(dev, dev->filename, dev->iobuff); ^~~~~~~~~~~ ../include/ifp.h:321:77: note: passing argument to parameter 'new_path' here int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); ^ readwrite.c:100:12: warning: assigning to 'const char *' from 'uint8_t [16384]' converts between pointers to integer types with different sign [-Wpointer-sign] realfile = dev->iobuff; ^ ~~~~~~~~~~~ readwrite.c:104:12: warning: assigning to 'const char *' from 'uint8_t [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] realfile = dev->filename; ^ ~~~~~~~~~~~~~ readwrite.c:108:24: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_dir_open(dev, dev->dirname); ^~~~~~~~~~~~ ./prim.h:91:56: note: passing argument to parameter 'f' here int ifp_dir_open(struct ifp_device * dev, const char * f); ^ --- ifp_os_libusb.lo --- ifp_os_libusb.c:53:19: warning: passing 'const char **' to parameter of type 'char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] r = iconv(ICONV, &ibb, &i_n, &obb, &o_n); ^~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/iconv.h:75:79: note: passing argument to parameter '__inbuf' here extern __LIBICONV_DLL_EXPORTED size_t iconv (iconv_t __cd, char* * __restrict __inbuf, size_t * __restrict __inbytesleft, char* * __restrict __outbuf, size_t * __restrict __outbytesleft); ^ ifp_os_libusb.c:56:68: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); ~~ ^~~ %zu ../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) ~~~ ^~~ ../include/ifp.h:442:76: note: expanded from macro 'ifp_err' #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) ~~~ ^~~ ../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) ~~~ ^~~ ifp_os_libusb.c:56:73: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); ~~ ^~~ %zu ../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' --- readwrite.lo --- readwrite.c:161:29: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ifp_os_libusb.lo --- #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) ~~~ ^~~ ../include/ifp.h:442:76: note: expanded from macro 'ifp_err' --- readwrite.lo --- i = check_permissions(dev, dev->filename); ^~~~~~~~~~~~~ readwrite.c:36:68: note: passing argument to parameter 'f' here static int check_permissions(struct ifp_device * dev, const char * f) { ^ readwrite.c:163:23: warning: passing 'uint8_t [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); ^~~~~~~~~~~ readwrite.c:58:35: note: passing argument to parameter 'd' here static int mangle_filename(char * d, const char * s, int n) ^ readwrite.c:163:36: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ifp_os_libusb.lo --- #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) ~~~ ^~~ ../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) ~~~ ^~~ --- readwrite.lo --- i = mangle_filename(dev->iobuff, dev->filename, IFP_BUFFER_SIZE); ^~~~~~~~~~~~~ readwrite.c:58:51: note: passing argument to parameter 's' here static int mangle_filename(char * d, const char * s, int n) ^ readwrite.c:165:23: warning: passing 'uint8_t [16384]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_rename(dev, dev->iobuff, dev->filename); ^~~~~~~~~~~ --- ifp_os_libusb.lo --- ifp_os_libusb.c:56:78: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] --- readwrite.lo --- ../include/ifp.h:321:54: note: passing argument to parameter 'old_path' here --- ifp_os_libusb.lo --- ifp_err_i(i, "problem converting, i_n is %d, o_n is %d, r = %d", i_n, o_n, r); ~~ ^ %zu --- readwrite.lo --- int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); ^ readwrite.c:165:36: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- ifp_os_libusb.lo --- ../include/ifp.h:444:64: note: expanded from macro 'ifp_err_i' #define ifp_err_i(i, fmt, arg...) ifp_err("err=%d. " fmt, i, ##arg) ~~~ ^~~ --- readwrite.lo --- i = ifp_rename(dev, dev->iobuff, dev->filename); ^~~~~~~~~~~~~ ../include/ifp.h:321:77: note: passing argument to parameter 'new_path' here int ifp_rename(struct ifp_device * dev, const char * old_path, const char * new_path); --- ifp_os_libusb.lo --- ../include/ifp.h:442:76: note: expanded from macro 'ifp_err' #define ifp_err(fmt, arg...) ifp_os_err("[%s] " fmt "\n", __FUNCTION__ , ##arg) ~~~ ^~~ --- readwrite.lo --- ^ --- ifp_os_libusb.lo --- ../include/ifp.h:438:65: note: expanded from macro 'ifp_os_err' #define ifp_os_err(fmt, arg...) fprintf(stderr, "err: " fmt, ##arg) ~~~ ^~~ ifp_os_libusb.c:132:66: warning: passing 'uint8_t [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = usb_control_msg(usbdev, IFP_REQ_TYPE, command, arg1, arg2, ctl, c_size, ^~~ /opt/work/audio/libifp/work/.buildlink/include/usb.h:324:30: note: passing argument to parameter 'bytes' here int value, int index, char *bytes, int size, int timeout); ^ --- readwrite.lo --- readwrite.c:436:29: warning: passing 'uint8_t [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_copy_parent_string(dev->dirname, f, IFP_BUFFER_SIZE); ^~~~~~~~~~~~ readwrite.c:13:35: note: passing argument to parameter 'p' here int ifp_copy_parent_string(char * p, const char * f, int n) { ^ readwrite.c:439:24: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_dir_open(dev, dev->dirname); ^~~~~~~~~~~~ ./prim.h:91:56: note: passing argument to parameter 'f' here int ifp_dir_open(struct ifp_device * dev, const char * f); ^ readwrite.c:450:29: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_file_open_new(dev, dev->filename, filesize); ^~~~~~~~~~~~~ ./prim.h:83:61: note: passing argument to parameter 'f' here int ifp_file_open_new(struct ifp_device * dev, const char * f, int filesize); ^ readwrite.c:473:24: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_dir_open(dev, dev->dirname); ^~~~~~~~~~~~ ./prim.h:91:56: note: passing argument to parameter 'f' here int ifp_dir_open(struct ifp_device * dev, const char * f); ^ readwrite.c:476:25: warning: passing 'uint8_t [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_file_open(dev, dev->filename); ^~~~~~~~~~~~~ ./prim.h:82:57: note: passing argument to parameter 'f' here int ifp_file_open(struct ifp_device * dev, const char * f); ^ --- userfile.lo --- userfile.c:977:49: warning: incompatible pointer types passing 'int (const FTSENT *const *, const FTSENT *const *)' (aka 'int (const struct _ftsent *const *, const struct _ftsent *const *)') to parameter of type 'int (*)(const FTSENT **, const FTSENT **)' (aka 'int (*)(const struct _ftsent **, const struct _ftsent **)') [-Wincompatible-pointer-types] tw = fts_open(argv, FTS_LOGICAL | FTS_NOCHDIR, file_compare_fts); ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/fts.h:174:12: note: passing argument to parameter here int (*)(const FTSENT **, const FTSENT **)) __DARWIN_INODE64(fts_open); ^ userfile.c:1224:17: warning: passing 'unsigned char [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { ^~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ userfile.c:1224:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strncmp(buf, checkdata, FIRMWARE_HEADER_SIZE) != 0) { ^~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ userfile.c:1231:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(remotename+1, basename, sizeof(remotename) - 1); ^~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ userfile.c:1232:68: warning: passing 'unsigned char [20]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ( (i = _ifp_write_stream_progress(dev, fp, (int)st.st_size, remotename, p))) { ^~~~~~~~~~ userfile.c:138:39: note: passing argument to parameter 'f' here FILE *src, int filesize, const char *f, ^ userfile.c:8:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = "$Id: "; ^ --- error_strings.lo --- error_strings.c:8:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = "$Id: "; ^ --- comp.lo --- comp.c:26:12: warning: initializing 'char *' with an expression of type 'uint8_t [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] char * p = dev->b2; ^ ~~~~~~~ --- error_strings.lo --- 1 warning generated. --- comp.lo --- comp.c:156:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = ifp_dir_next_debug(dev, utf8_buf, IFP_BUFFER_SIZE, ^~~~~~~~ ./prim.h:102:56: note: passing argument to parameter 's' here int ifp_dir_next_debug(struct ifp_device * dev, char * s, int n, int mode, ^ comp.c:166:12: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlen(utf8_buf), ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ comp.c:165:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = callbk(context, ret, utf8_buf, ^~~~~~~~ --- tuner.lo --- tuner.c:81:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(bm, callsign, CALL_WIDTH); ^~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ --- comp.lo --- comp.c:370:9: warning: initializing 'char *' with an expression of type 'uint8_t [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] char * b = dev->b3; ^ ~~~~~~~ comp.c:398:9: warning: initializing 'char *' with an expression of type 'uint8_t [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] char * b = dev->b3; ^ ~~~~~~~ --- tuner.lo --- tuner.c:8:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = "$Id: "; ^ --- comp.lo --- comp.c:496:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_file_open(dev, buf); ^~~ ./prim.h:82:57: note: passing argument to parameter 'f' here int ifp_file_open(struct ifp_device * dev, const char * f); ^ comp.c:545:22: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dirname, dsize, utf8_buf, ^~~~~~~~ comp.c:476:15: note: passing argument to parameter 'f' here const char * f, int fsize) ^ comp.c:553:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = callbk(context, ret, utf8_buf, filesize); ^~~~~~~~ comp.c:650:9: warning: initializing 'char *' with an expression of type 'uint8_t [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] char * b = dev->b2; ^ ~~~~~~~ --- ifp_os_libusb.lo --- 5 warnings generated. --- error_strings.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT error_strings.lo -MD -MP -MF .deps/error_strings.Tpo -c error_strings.c -o error_strings.o >/dev/null 2>&1 --- ifp_os_libusb.lo --- libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT ifp_os_libusb.lo -MD -MP -MF .deps/ifp_os_libusb.Tpo -c ifp_os_libusb.c -o ifp_os_libusb.o >/dev/null 2>&1 --- prim.lo --- prim.c:286:26: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_locale_to_utf16(buf, IFP_BUFFER_SIZE, s, strlen(s)+1); ^~~ ./ifp_os.h:135:32: note: passing argument to parameter 'o' here int ifp_locale_to_utf16(char * o, int max_o, const char * i, int max_i); ^ prim.c:315:32: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] i = ifp_utf16_to_locale(s, n, buf, IFP_BUFFER_SIZE); ^~~ ./ifp_os.h:136:59: note: passing argument to parameter 'i' here int ifp_utf16_to_locale(char * o, int max_o, const char * i, int max_i); ^ --- tuner.lo --- 2 warnings generated. libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT tuner.lo -MD -MP -MF .deps/tuner.Tpo -c tuner.c -o tuner.o >/dev/null 2>&1 --- readwrite.lo --- 20 warnings generated. libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT readwrite.lo -MD -MP -MF .deps/readwrite.Tpo -c readwrite.c -o readwrite.o >/dev/null 2>&1 --- comp.lo --- 10 warnings generated. libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT comp.lo -MD -MP -MF .deps/comp.Tpo -c comp.c -o comp.o >/dev/null 2>&1 --- userfile.lo --- 6 warnings generated. libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT userfile.lo -MD -MP -MF .deps/userfile.Tpo -c userfile.c -o userfile.o >/dev/null 2>&1 --- prim.lo --- 2 warnings generated. libtool: compile: clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libifp\" -DVERSION=\"1.0.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USB_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STRING_H=1 -DHAVE_TIME_H=1 -DHAVE_FTS_H=1 -DHAVE_ICONV_H=1 -I. -I../include -I/opt/work/audio/libifp/work/.buildlink/include -g -O2 -Wall -W -Wno-unused-parameter -MT prim.lo -MD -MP -MF .deps/prim.Tpo -c prim.c -o prim.o >/dev/null 2>&1 --- libifp.la --- /opt/pkg/bin/mksh ../libtool --mode=link clang -g -O2 -Wall -W -Wno-unused-parameter -L/usr/lib -L/opt/pkg/lib -o libifp.la -rpath /opt/pkg/lib -version-info 5:4:1 -no-undefined -lusb prim.lo comp.lo readwrite.lo userfile.lo ifp_os_libusb.lo error_strings.lo tuner.lo -lusb libtool: link: clang -dynamiclib -o .libs/libifp.4.dylib .libs/prim.o .libs/comp.o .libs/readwrite.o .libs/userfile.o .libs/ifp_os_libusb.o .libs/error_strings.o .libs/tuner.o -L/opt/work/audio/libifp/work/.buildlink/lib /opt/work/audio/libifp/work/.buildlink/lib/libusb.dylib /opt/work/audio/libifp/work/.buildlink/lib/libusb-1.0.dylib -lobjc -g -O2 -install_name /opt/pkg/lib/libifp.4.dylib -compatibility_version 6 -current_version 6.4 -Wl,-single_module Undefined symbols for architecture arm64: "_iconv", referenced from: _local_iconv in ifp_os_libusb.o "_iconv_close", referenced from: _local_iconv in ifp_os_libusb.o "_iconv_open", referenced from: _local_iconv in ifp_os_libusb.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [libifp.la] Error code 1 bmake[1]: stopped in /opt/work/audio/libifp/work/libifp-1.0.0.2/src 1 error bmake[1]: stopped in /opt/work/audio/libifp/work/libifp-1.0.0.2/src *** [all-recursive] Error code 1 bmake: stopped in /opt/work/audio/libifp/work/libifp-1.0.0.2 1 error bmake: stopped in /opt/work/audio/libifp/work/libifp-1.0.0.2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/audio/libifp *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/audio/libifp