=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gift-fasttrack-0.8.9nb1 /usr/pkg/bin/bmake all-recursive Making all in src Making all in crypt if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT enc_type_1.lo -MD -MP -MF ".deps/enc_type_1.Tpo" -c -o enc_type_1.lo `test -f 'enc_type_1.c' || echo './'`enc_type_1.c; then mv -f ".deps/enc_type_1.Tpo" ".deps/enc_type_1.Plo"; else rm -f ".deps/enc_type_1.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_1.lo -MD -MP -MF .deps/enc_type_1.Tpo -c enc_type_1.c -fPIC -DPIC -o .libs/enc_type_1.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_1.lo -MD -MP -MF .deps/enc_type_1.Tpo -c enc_type_1.c -o enc_type_1.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT enc_type_2.lo -MD -MP -MF ".deps/enc_type_2.Tpo" -c -o enc_type_2.lo `test -f 'enc_type_2.c' || echo './'`enc_type_2.c; then mv -f ".deps/enc_type_2.Tpo" ".deps/enc_type_2.Plo"; else rm -f ".deps/enc_type_2.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_2.lo -MD -MP -MF .deps/enc_type_2.Tpo -c enc_type_2.c -fPIC -DPIC -o .libs/enc_type_2.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_2.lo -MD -MP -MF .deps/enc_type_2.Tpo -c enc_type_2.c -o enc_type_2.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT enc_type_20.lo -MD -MP -MF ".deps/enc_type_20.Tpo" -c -o enc_type_20.lo `test -f 'enc_type_20.c' || echo './'`enc_type_20.c; then mv -f ".deps/enc_type_20.Tpo" ".deps/enc_type_20.Plo"; else rm -f ".deps/enc_type_20.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_20.lo -MD -MP -MF .deps/enc_type_20.Tpo -c enc_type_20.c -fPIC -DPIC -o .libs/enc_type_20.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_20.lo -MD -MP -MF .deps/enc_type_20.Tpo -c enc_type_20.c -o enc_type_20.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT enc_type_80.lo -MD -MP -MF ".deps/enc_type_80.Tpo" -c -o enc_type_80.lo `test -f 'enc_type_80.c' || echo './'`enc_type_80.c; then mv -f ".deps/enc_type_80.Tpo" ".deps/enc_type_80.Plo"; else rm -f ".deps/enc_type_80.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_80.lo -MD -MP -MF .deps/enc_type_80.Tpo -c enc_type_80.c -fPIC -DPIC -o .libs/enc_type_80.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT enc_type_80.lo -MD -MP -MF .deps/enc_type_80.Tpo -c enc_type_80.c -o enc_type_80.o >/dev/null 2>&1 if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_crypt.lo -MD -MP -MF ".deps/fst_crypt.Tpo" -c -o fst_crypt.lo `test -f 'fst_crypt.c' || echo './'`fst_crypt.c; then mv -f ".deps/fst_crypt.Tpo" ".deps/fst_crypt.Plo"; else rm -f ".deps/fst_crypt.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT fst_crypt.lo -MD -MP -MF .deps/fst_crypt.Tpo -c fst_crypt.c -fPIC -DPIC -o .libs/fst_crypt.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -Wall -O2 -march=i586 -MT fst_crypt.lo -MD -MP -MF .deps/fst_crypt.Tpo -c fst_crypt.c -o fst_crypt.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link cc -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libfst_crypt.la enc_type_1.lo enc_type_2.lo enc_type_20.lo enc_type_80.lo fst_crypt.lo libtool: link: ar cru .libs/libfst_crypt.a @.libs/libfst_crypt.libcmd libtool: link: ranlib .libs/libfst_crypt.a libtool: link: ( cd ".libs" && rm -f "libfst_crypt.la" && ln -s "../libfst_crypt.la" "libfst_crypt.la" ) if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_download.lo -MD -MP -MF ".deps/fst_download.Tpo" -c -o fst_download.lo `test -f 'fst_download.c' || echo './'`fst_download.c; then mv -f ".deps/fst_download.Tpo" ".deps/fst_download.Plo"; else rm -f ".deps/fst_download.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_download.lo -MD -MP -MF .deps/fst_download.Tpo -c fst_download.c -fPIC -DPIC -o .libs/fst_download.o fst_download.c:122:4: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("push send failed, removing source %s", source->url); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:138:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("fst_download_start failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:200:4: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("no server listening, rejecting fw source \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:210:4: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("NAT detected but port is not forwarded, rejecting source %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:219:4: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("no longer connected to correct supernode, rejecting source %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:521:3: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("download error (\"%s\"), removing source %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_download.c:576:43: warning: passing 'char *' to parameter of type 'const uint8 *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] uri_smhash = fst_hash_small (0xFFFFFFFF, uri, strlen(uri)); ^~~ ./fst_hash.h:198:55: note: passing argument to parameter 'data' here uint32 fst_hash_small (uint32 smallhash, const uint8 *data, size_t len); ^ 7 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_download.lo -MD -MP -MF .deps/fst_download.Tpo -c fst_download.c -o fst_download.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_upload.lo -MD -MP -MF ".deps/fst_upload.Tpo" -c -o fst_upload.lo `test -f 'fst_upload.c' || echo './'`fst_upload.c; then mv -f ".deps/fst_upload.Tpo" ".deps/fst_upload.Plo"; else rm -f ".deps/fst_upload.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_upload.lo -MD -MP -MF .deps/fst_upload.Tpo -c fst_upload.c -fPIC -DPIC -o .libs/fst_upload.o fst_upload.c:65:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("rejecting http request from \"%s\" because we are not sharing", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:74:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("Invalid uri \"%s\" from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:85:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("Non-hash uri \"%s\" from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:100:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("No file found for uri \"%s\" from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:134:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("File \"%s\" requested by %s not shared/hidden/stale", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:144:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("No upload slot available for %s", upload->user); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:162:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("Unable to open file \"%s\" for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:172:3: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("seek to %d failed for file \"%s\" to %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:204:2: warning: passing 'const char [73]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("started upload of \"%s\" to %s", share->path, upload->user); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:223:3: warning: passing 'const char [71]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("chunk->udata == NULL for upload to %s, doing nothing", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:228:2: warning: passing 'const char [71]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("finished upload to %s, transferred %d bytes", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:331:5: warning: passing 'const char [42]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("ERROR: tcp_writestr failed for %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:455:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("ERROR: tcp_writestr failed for %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:583:3: warning: passing 'const char [50]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("short write, rewinding read stream for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_upload.c:345:13: warning: unused function 'upload_add_meta_header' [-Wunused-function] static void upload_add_meta_header (ds_data_t *key, ds_data_t *value, ^ 15 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_upload.lo -MD -MP -MF .deps/fst_upload.Tpo -c fst_upload.c -o fst_upload.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_fasttrack.lo -MD -MP -MF ".deps/fst_fasttrack.Tpo" -c -o fst_fasttrack.lo `test -f 'fst_fasttrack.c' || echo './'`fst_fasttrack.c; then mv -f ".deps/fst_fasttrack.Tpo" ".deps/fst_fasttrack.Plo"; else rm -f ".deps/fst_fasttrack.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_fasttrack.lo -MD -MP -MF .deps/fst_fasttrack.Tpo -c fst_fasttrack.c -fPIC -DPIC -o .libs/fst_fasttrack.o fst_fasttrack.c:60:3: warning: passing 'const char [17]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("saved %d supernode addresses to nodes file \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:149:4: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("not connecting to banned supernode %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:229:3: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("discovery cycle started with %d UDP pings", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:282:3: warning: passing 'const char [80]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("discovery cycle complete: %d pings, %d pongs, %d others", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:304:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("CONNECTED to %s:%d, local ip: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:314:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("ESTABLISHED session to %s:%d (total sessions: %d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:331:4: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("DISCONNECTED session to %s:%d (total sessions: %d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:420:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("added %d received supernode IPs to nodes list", i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:432:4: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("disconnecting from index node"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:470:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("received network stats: %d users, %d files, %d GB", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:479:4: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("disconnecting from splitted network segment"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:495:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *net_name = STRDUP_N (msg_data->data, fst_packet_size(msg_data)); ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/parse.h:96:35: note: passing argument to parameter 's' here char *gift_strndup (const char *s, size_t len); ^ fst_fasttrack.c:497:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("received network name: \"%s\", sending ours: \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:504:32: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, FST_NETWORK_NAME, strlen (FST_NETWORK_NAME)); ^~~~~~~~~~~~~~~~ ./fst_fasttrack.h:150:26: note: expanded from macro 'FST_NETWORK_NAME' #define FST_NETWORK_NAME "KaZaA" ^~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_fasttrack.c:520:3: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("received external ip: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:537:5: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("registering shares with new supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:539:6: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("registering shares with new supernode failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:652:2: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("starting up"); ^~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:734:3: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("Loaded %d supernode addresses from nodes file \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:749:3: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("Loaded %d banned ip ranges from \"%s\"", i, filepath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:769:4: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("Http server listening on port %d", server_port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:774:3: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("Port set to zero. Http server not started."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:845:2: warning: passing 'const char [36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("shutting down"); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_fasttrack.c:866:3: warning: passing 'const char [36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("added current supernode %s:%d back into node cache", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 24 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_fasttrack.lo -MD -MP -MF .deps/fst_fasttrack.Tpo -c fst_fasttrack.c -o fst_fasttrack.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_hash.lo -MD -MP -MF ".deps/fst_hash.Tpo" -c -o fst_hash.lo `test -f 'fst_hash.c' || echo './'`fst_hash.c; then mv -f ".deps/fst_hash.Tpo" ".deps/fst_hash.Plo"; else rm -f ".deps/fst_hash.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_hash.lo -MD -MP -MF .deps/fst_hash.Tpo -c fst_hash.c -fPIC -DPIC -o .libs/fst_hash.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_hash.lo -MD -MP -MF .deps/fst_hash.Tpo -c fst_hash.c -o fst_hash.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_http_header.lo -MD -MP -MF ".deps/fst_http_header.Tpo" -c -o fst_http_header.lo `test -f 'fst_http_header.c' || echo './'`fst_http_header.c; then mv -f ".deps/fst_http_header.Tpo" ".deps/fst_http_header.Plo"; else rm -f ".deps/fst_http_header.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_header.lo -MD -MP -MF .deps/fst_http_header.Tpo -c fst_http_header.c -fPIC -DPIC -o .libs/fst_http_header.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_header.lo -MD -MP -MF .deps/fst_http_header.Tpo -c fst_http_header.c -o fst_http_header.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_http_client.lo -MD -MP -MF ".deps/fst_http_client.Tpo" -c -o fst_http_client.lo `test -f 'fst_http_client.c' || echo './'`fst_http_client.c; then mv -f ".deps/fst_http_client.Tpo" ".deps/fst_http_client.Plo"; else rm -f ".deps/fst_http_client.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_client.lo -MD -MP -MF .deps/fst_http_client.Tpo -c fst_http_client.c -fPIC -DPIC -o .libs/fst_http_client.o fst_http_client.c:216:3: warning: passing 'const char [67]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("ERROR: tcp_open() failed for %s [%s]:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_client.c:339:48: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (! (client->reply = fst_http_header_parse (client->data, &len))) ^~~~~~~~~~~~ ./fst_http_header.h:75:45: note: passing argument to parameter 'data' here FSTHttpHeader *fst_http_header_parse (char *data, int *data_len); ^ 2 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_client.lo -MD -MP -MF .deps/fst_http_client.Tpo -c fst_http_client.c -o fst_http_client.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_http_server.lo -MD -MP -MF ".deps/fst_http_server.Tpo" -c -o fst_http_server.lo `test -f 'fst_http_server.c' || echo './'`fst_http_server.c; then mv -f ".deps/fst_http_server.Tpo" ".deps/fst_http_server.Plo"; else rm -f ".deps/fst_http_server.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_server.lo -MD -MP -MF .deps/fst_http_server.Tpo -c fst_http_server.c -fPIC -DPIC -o .libs/fst_http_server.o fst_http_server.c:124:3: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("denied incoming connection from %s based on banlist", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:152:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("connection from %s closed without receiving any data", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:165:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("received less than 4 bytes from %s, closing connection", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:175:15: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strcmp (buf, "GET ")) ^~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fst_http_server.c:182:20: warning: passing 'unsigned char [5]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (!strcmp (buf, "GIVE")) ^~~ /usr/include/string.h:56:25: note: passing argument to parameter here int strcmp(const char *, const char *); ^ fst_http_server.c:191:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_5 ("connection from %s is binary [%02X%02X%02X%02X]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:40:61: note: expanded from macro 'FST_DBG_5' #define FST_DBG_5(fmt,a,b,c,d,e) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c,d,e) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:213:3: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("net_sock_error for connection from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:225:3: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("fdbuf_delim() < 0 for connection from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:238:4: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("got more than %d bytes from from %s but no sentinel, closing connection", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:254:32: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] header_str = fdbuf_data (buf, &len); ^~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/fdbuf.h:153:50: note: passing argument to parameter 'len' here unsigned char *fdbuf_data (FDBuf *buf, size_t *len); ^ fst_http_server.c:254:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] header_str = fdbuf_data (buf, &len); ^ ~~~~~~~~~~~~~~~~~~~~~~ fst_http_server.c:259:3: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("parsing header failed for connection from %s, closing connection", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:280:3: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("Connection from %s closed on callback's request", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:301:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("net_sock_error for connection from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:313:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("fdbuf_delim() < 0 for connection from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:326:4: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("got more than %d bytes from from %s but no sentinel, closing connection", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:342:30: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] give_str = fdbuf_data (buf, &len); ^~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/fdbuf.h:153:50: note: passing argument to parameter 'len' here unsigned char *fdbuf_data (FDBuf *buf, size_t *len); ^ fst_http_server.c:342:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] give_str = fdbuf_data (buf, &len); ^ ~~~~~~~~~~~~~~~~~~~~~~ fst_http_server.c:361:3: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("Connection from %s closed on callback's request", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:376:3: warning: passing 'const char [45]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("net_sock_error for connection from %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_http_server.c:388:3: warning: passing 'const char [45]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("Connection from %s closed on callback's request", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 21 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_http_server.lo -MD -MP -MF .deps/fst_http_server.Tpo -c fst_http_server.c -o fst_http_server.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_meta.lo -MD -MP -MF ".deps/fst_meta.Tpo" -c -o fst_meta.lo `test -f 'fst_meta.c' || echo './'`fst_meta.c; then mv -f ".deps/fst_meta.Tpo" ".deps/fst_meta.Plo"; else rm -f ".deps/fst_meta.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_meta.lo -MD -MP -MF .deps/fst_meta.Tpo -c fst_meta.c -fPIC -DPIC -o .libs/fst_meta.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_meta.lo -MD -MP -MF .deps/fst_meta.Tpo -c fst_meta.c -o fst_meta.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_node.lo -MD -MP -MF ".deps/fst_node.Tpo" -c -o fst_node.lo `test -f 'fst_node.c' || echo './'`fst_node.c; then mv -f ".deps/fst_node.Tpo" ".deps/fst_node.Plo"; else rm -f ".deps/fst_node.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_node.lo -MD -MP -MF .deps/fst_node.Tpo -c fst_node.c -fPIC -DPIC -o .libs/fst_node.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_node.lo -MD -MP -MF .deps/fst_node.Tpo -c fst_node.c -o fst_node.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_packet.lo -MD -MP -MF ".deps/fst_packet.Tpo" -c -o fst_packet.lo `test -f 'fst_packet.c' || echo './'`fst_packet.c; then mv -f ".deps/fst_packet.Tpo" ".deps/fst_packet.Plo"; else rm -f ".deps/fst_packet.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_packet.lo -MD -MP -MF .deps/fst_packet.Tpo -c fst_packet.c -fPIC -DPIC -o .libs/fst_packet.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_packet.lo -MD -MP -MF .deps/fst_packet.Tpo -c fst_packet.c -o fst_packet.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_peer.lo -MD -MP -MF ".deps/fst_peer.Tpo" -c -o fst_peer.lo `test -f 'fst_peer.c' || echo './'`fst_peer.c; then mv -f ".deps/fst_peer.Tpo" ".deps/fst_peer.Plo"; else rm -f ".deps/fst_peer.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_peer.lo -MD -MP -MF .deps/fst_peer.Tpo -c fst_peer.c -fPIC -DPIC -o .libs/fst_peer.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_peer.lo -MD -MP -MF .deps/fst_peer.Tpo -c fst_peer.c -o fst_peer.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_search.lo -MD -MP -MF ".deps/fst_search.Tpo" -c -o fst_search.lo `test -f 'fst_search.c' || echo './'`fst_search.c; then mv -f ".deps/fst_search.Tpo" ".deps/fst_search.Plo"; else rm -f ".deps/fst_search.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_search.lo -MD -MP -MF .deps/fst_search.Tpo -c fst_search.c -fPIC -DPIC -o .libs/fst_search.o fst_search.c:43:3: warning: passing 'const char [80]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("not connected, queueing query for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:50:3: warning: passing 'const char [80]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("fst_search_send_query_to_all failed for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:57:2: warning: passing 'const char [80]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("sent search query for \"%s\" to %d supernodes, fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:83:3: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("jumping supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:97:4: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("invalid hash string: %s", hstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:106:4: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("invalid hash string: %s", hstr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:124:3: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("not connected, queueing query for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:131:3: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("fst_search_send_query_to_all failed for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:138:2: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("sent locate query for \"%s\" to %d supernodes, fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:151:3: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("removing search for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:239:31: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, "\x00\x01", 2); ^~~~~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_search.c:280:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, search->query, strlen(search->query)); ^~~~~~~~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_search.c:492:2: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_4 ("Search with fst_id %d ended, %d replies, %d firewalled, %d banned", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:39:61: note: expanded from macro 'FST_DBG_4' #define FST_DBG_4(fmt,a,b,c,d) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c,d) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:502:3: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("auto searching more (%d) for fst_id %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:507:4: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("fst_search_send_query_to_all failed for \"%s\", fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:552:4: warning: passing 'const char [92]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("received query end for search not in list, fst_id = %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_search.c:642:29: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result->source->username = fst_packet_get_ustr (msg_data, i+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fst_search.c:652:28: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result->source->netname = fst_packet_get_ustr (msg_data, i+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_search.lo -MD -MP -MF .deps/fst_search.Tpo -c fst_search.c -o fst_search.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_share.lo -MD -MP -MF ".deps/fst_share.Tpo" -c -o fst_share.lo `test -f 'fst_share.c' || echo './'`fst_share.c; then mv -f ".deps/fst_share.Tpo" ".deps/fst_share.Plo"; else rm -f ".deps/fst_share.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_share.lo -MD -MP -MF .deps/fst_share.Tpo -c fst_share.c -fPIC -DPIC -o .libs/fst_share.o fst_share.c:76:3: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("registering share %s failed", share->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:106:3: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("unregistering share %s failed", share->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:131:3: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("hiding shares by removing them from supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:134:4: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("uregistering all shares failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:152:3: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("showing shares by registering them with supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:155:4: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("registering all shares failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:196:3: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("clipping shares at FST_MAX_SHARED_FILES (%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:215:3: warning: passing 'const char [29]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("tried to register shares with no connection to supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:229:3: warning: passing 'const char [29]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("not all shares could be registered with supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:266:3: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("tried to unregister shares with no connection to supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:290:3: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("not all shares could be unregistered from supernode"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_share.c:361:31: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, "\x00", 1); ^~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_share.c:371:31: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, "\x00\x00", 2); ^~~~~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ 13 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_share.lo -MD -MP -MF .deps/fst_share.Tpo -c fst_share.c -o fst_share.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_session.lo -MD -MP -MF ".deps/fst_session.Tpo" -c -o fst_session.lo `test -f 'fst_session.c' || echo './'`fst_session.c; then mv -f ".deps/fst_session.Tpo" ".deps/fst_session.Plo"; else rm -f ".deps/fst_session.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_session.lo -MD -MP -MF .deps/fst_session.Tpo -c fst_session.c -fPIC -DPIC -o .libs/fst_session.o fst_session.c:127:2: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_3 ("connecting to %s:%d, load: %d%%", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:38:61: note: expanded from macro 'FST_DBG_3' #define FST_DBG_3(fmt,a,b,c) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b,c) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_session.c:163:2: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("disconnected from %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_session.c:279:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, FST_USER_NAME, strlen (FST_USER_NAME)); ^~~~~~~~~~~~~ ./fst_fasttrack.h:153:23: note: expanded from macro 'FST_USER_NAME' #define FST_USER_NAME (FST_PLUGIN->username) ^~~~~~~~~~~~~~~~~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_session.c:337:3: warning: passing 'const char [52]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("session_connected: fst_packet_send() failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_session.c:384:4: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("received insufficient data for calculating key, got %d bytes, waiting for more...", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_session.c:434:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strcasecmp (*net_name, session->in_packet->data) == 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:63:43: note: passing argument to parameter here int strcasecmp(const char *, const char *); ^ fst_session.c:445:3: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("remote network name is \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_session.c:629:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, FST_NETWORK_NAME, strlen (FST_NETWORK_NAME) + 1); ^~~~~~~~~~~~~~~~ ./fst_fasttrack.h:150:26: note: expanded from macro 'FST_NETWORK_NAME' #define FST_NETWORK_NAME "KaZaA" ^~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ 8 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_session.lo -MD -MP -MF .deps/fst_session.Tpo -c fst_session.c -o fst_session.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_stats.lo -MD -MP -MF ".deps/fst_stats.Tpo" -c -o fst_stats.lo `test -f 'fst_stats.c' || echo './'`fst_stats.c; then mv -f ".deps/fst_stats.Tpo" ".deps/fst_stats.Plo"; else rm -f ".deps/fst_stats.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_stats.lo -MD -MP -MF .deps/fst_stats.Tpo -c fst_stats.c -fPIC -DPIC -o .libs/fst_stats.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_stats.lo -MD -MP -MF .deps/fst_stats.Tpo -c fst_stats.c -o fst_stats.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_utils.lo -MD -MP -MF ".deps/fst_utils.Tpo" -c -o fst_utils.lo `test -f 'fst_utils.c' || echo './'`fst_utils.c; then mv -f ".deps/fst_utils.Tpo" ".deps/fst_utils.Plo"; else rm -f ".deps/fst_utils.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_utils.lo -MD -MP -MF .deps/fst_utils.Tpo -c fst_utils.c -fPIC -DPIC -o .libs/fst_utils.o fst_utils.c:99:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isxdigit (hex_char)) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ fst_utils.c:105:13: warning: array subscript is of type 'char' [-Wchar-subscripts] hex_char = toupper (hex_char); ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ fst_utils.c:133:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit (ptr[1]) && isxdigit (ptr[2])) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ fst_utils.c:133:29: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isxdigit (ptr[1]) && isxdigit (ptr[2])) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ fst_utils.c:178:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isprint (*decoded) || isspace (*decoded)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ fst_utils.c:178:30: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isprint (*decoded) || isspace (*decoded)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ fst_utils.c:256:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return out; ^~~ fst_utils.c:371:9: warning: returning 'char *' from a function with result type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] return dst; ^~~ 8 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_utils.lo -MD -MP -MF .deps/fst_utils.Tpo -c fst_utils.c -o fst_utils.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_ipset.lo -MD -MP -MF ".deps/fst_ipset.Tpo" -c -o fst_ipset.lo `test -f 'fst_ipset.c' || echo './'`fst_ipset.c; then mv -f ".deps/fst_ipset.Tpo" ".deps/fst_ipset.Plo"; else rm -f ".deps/fst_ipset.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_ipset.lo -MD -MP -MF .deps/fst_ipset.Tpo -c fst_ipset.c -fPIC -DPIC -o .libs/fst_ipset.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_ipset.lo -MD -MP -MF .deps/fst_ipset.Tpo -c fst_ipset.c -o fst_ipset.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_push.lo -MD -MP -MF ".deps/fst_push.Tpo" -c -o fst_push.lo `test -f 'fst_push.c' || echo './'`fst_push.c; then mv -f ".deps/fst_push.Tpo" ".deps/fst_push.Plo"; else rm -f ".deps/fst_push.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_push.lo -MD -MP -MF .deps/fst_push.Tpo -c fst_push.c -fPIC -DPIC -o .libs/fst_push.o fst_push.c:34:3: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("push with id %d not in push list", push_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:44:3: warning: passing 'const char [66]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("fst_download_start failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:91:3: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("no established session, not requesting push for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:99:3: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("no server listening, not requesting push for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:108:3: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("NAT detected but port is not forwarded, not requesting push for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:131:3: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_1 ("no longer connected to correct supernode for requesting push for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:36:61: note: expanded from macro 'FST_DBG_1' #define FST_DBG_1(fmt,a) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_push.c:155:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, src->username, strlen (src->username)); ^~~~~~~~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ 7 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_push.lo -MD -MP -MF .deps/fst_push.Tpo -c fst_push.c -o fst_push.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_udp_discover.lo -MD -MP -MF ".deps/fst_udp_discover.Tpo" -c -o fst_udp_discover.lo `test -f 'fst_udp_discover.c' || echo './'`fst_udp_discover.c; then mv -f ".deps/fst_udp_discover.Tpo" ".deps/fst_udp_discover.Plo"; else rm -f ".deps/fst_udp_discover.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_udp_discover.lo -MD -MP -MF .deps/fst_udp_discover.Tpo -c fst_udp_discover.c -fPIC -DPIC -o .libs/fst_udp_discover.o fst_udp_discover.c:122:3: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG ("binding UDP sock for discovery failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:35:61: note: expanded from macro 'FST_DBG' #define FST_DBG(fmt) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_udp_discover.c:202:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] fst_packet_put_ustr (packet, FST_NETWORK_NAME, strlen (FST_NETWORK_NAME) + 1); ^~~~~~~~~~~~~~~~ ./fst_fasttrack.h:150:26: note: expanded from macro 'FST_NETWORK_NAME' #define FST_NETWORK_NAME "KaZaA" ^~~~~~~ ./fst_packet.h:75:62: note: passing argument to parameter 'str' here void fst_packet_put_ustr (FSTPacket *packet, unsigned char *str, size_t len); ^ fst_udp_discover.c:212:3: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("sendto failed for %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_udp_discover.c:273:76: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((len = recvfrom (fd, buf, UDP_BUFFER_LEN, 0, (struct sockaddr*)&addr, &addr_len)) < 0) ^~~~~~~~~ /usr/include/sys/socket.h:632:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ fst_udp_discover.c:295:3: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("recevied udp reply from node %s:%d which is not in list", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_udp_discover.c:347:4: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] FST_DBG_2 ("received corrupted udp reply from %s:%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./fst_fasttrack.h:37:61: note: expanded from macro 'FST_DBG_2' #define FST_DBG_2(fmt,a,b) FST_PROTO->trace(FST_PROTO,FILE_LINE_FUNC,fmt,a,b) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ fst_udp_discover.c:355:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] udp_node->network = fst_packet_get_ustr (packet, len+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_udp_discover.lo -MD -MP -MF .deps/fst_udp_discover.Tpo -c fst_udp_discover.c -o fst_udp_discover.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT fst_source.lo -MD -MP -MF ".deps/fst_source.Tpo" -c -o fst_source.lo `test -f 'fst_source.c' || echo './'`fst_source.c; then mv -f ".deps/fst_source.Tpo" ".deps/fst_source.Plo"; else rm -f ".deps/fst_source.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_source.lo -MD -MP -MF .deps/fst_source.Tpo -c fst_source.c -fPIC -DPIC -o .libs/fst_source.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT fst_source.lo -MD -MP -MF .deps/fst_source.Tpo -c fst_source.c -o fst_source.o >/dev/null 2>&1 if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I../src/crypt -I/usr/pkg/include -I/usr/include -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo `test -f 'md5.c' || echo './'`md5.c; then mv -f ".deps/md5.Tpo" ".deps/md5.Plo"; else rm -f ".deps/md5.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -fPIC -DPIC -o .libs/md5.o md5.c:169:27: warning: 'memset' call operates on objects of type 'MD5Context' while the size is based on a different type 'MD5Context *' [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); ~~~ ^~~ md5.c:169:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(ctx, 0, sizeof(ctx)); ^~~ 1 warning generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/include -I../src/crypt -Wall -O2 -march=i586 -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link cc -Wall -O2 -march=i586 -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libFastTrack.la -rpath /usr/pkg/lib/giFT -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgift -lgiftproto -lm -module -avoid-version fst_download.lo fst_upload.lo fst_fasttrack.lo fst_hash.lo fst_http_header.lo fst_http_client.lo fst_http_server.lo fst_meta.lo fst_node.lo fst_packet.lo fst_peer.lo fst_search.lo fst_share.lo fst_session.lo fst_stats.lo fst_utils.lo fst_ipset.lo fst_push.lo fst_udp_discover.lo fst_source.lo md5.lo ../src/crypt/libfst_crypt.la libtool: link: cc -shared -fPIC -DPIC .libs/libFastTrack.la.lnkscript -Wl,--whole-archive ../src/crypt/.libs/libfst_crypt.a -Wl,--no-whole-archive -Wl,-rpath,/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkgsrc/work/net/gift-fasttrack/work/.buildlink/lib -lgiftproto -lgift -lmagic -L/usr/pkg/lib -lpthread -lm -O2 -march=i586 -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libFastTrack.so -o .libs/libFastTrack.so /usr/bin/ld: cannot find -lpthread clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-fasttrack/work/giFT-FastTrack-0.8.9/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-fasttrack/work/giFT-FastTrack-0.8.9/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-fasttrack/work/giFT-FastTrack-0.8.9 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-fasttrack/work/giFT-FastTrack-0.8.9 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gift-fasttrack *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gift-fasttrack