=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gift-gnutella-0.0.11nb2 /usr/pkg/bin/bmake all-recursive Making all in m4 Making all in data Making all in src Making all in encoding if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT base32.lo -MD -MP -MF ".deps/base32.Tpo" -c -o base32.lo `test -f 'base32.c' || echo './'`base32.c; then mv -f ".deps/base32.Tpo" ".deps/base32.Plo"; else rm -f ".deps/base32.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT base32.lo -MD -MP -MF .deps/base32.Tpo -c base32.c -fPIC -DPIC -o .libs/base32.o base32.c:45:23: warning: initializing 'const unsigned char *' with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] const unsigned char *in = base32; ^ ~~~~~~ 1 warning generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT url.lo -MD -MP -MF ".deps/url.Tpo" -c -o url.lo `test -f 'url.c' || echo './'`url.c; then mv -f ".deps/url.Tpo" ".deps/url.Plo"; else rm -f ".deps/url.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT url.lo -MD -MP -MF .deps/url.Tpo -c url.c -fPIC -DPIC -o .libs/url.o /bin/sh ../../libtool --mode=link cc -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libgt_encoding.la base32.lo url.lo -lz -L/usr/lib libtool: link: ar cru .libs/libgt_encoding.a @.libs/libgt_encoding.libcmd libtool: link: ranlib .libs/libgt_encoding.a libtool: link: ( cd ".libs" && rm -f "libgt_encoding.la" && ln -s "../libgt_encoding.la" "libgt_encoding.la" ) Making all in io if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT io_buf.lo -MD -MP -MF ".deps/io_buf.Tpo" -c -o io_buf.lo `test -f 'io_buf.c' || echo './'`io_buf.c; then mv -f ".deps/io_buf.Tpo" ".deps/io_buf.Plo"; else rm -f ".deps/io_buf.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT io_buf.lo -MD -MP -MF .deps/io_buf.Tpo -c io_buf.c -fPIC -DPIC -o .libs/io_buf.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT rx_inflate.lo -MD -MP -MF ".deps/rx_inflate.Tpo" -c -o rx_inflate.lo `test -f 'rx_inflate.c' || echo './'`rx_inflate.c; then mv -f ".deps/rx_inflate.Tpo" ".deps/rx_inflate.Plo"; else rm -f ".deps/rx_inflate.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT rx_inflate.lo -MD -MP -MF .deps/rx_inflate.Tpo -c rx_inflate.c -fPIC -DPIC -o .libs/rx_inflate.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT rx_layer.lo -MD -MP -MF ".deps/rx_layer.Tpo" -c -o rx_layer.lo `test -f 'rx_layer.c' || echo './'`rx_layer.c; then mv -f ".deps/rx_layer.Tpo" ".deps/rx_layer.Plo"; else rm -f ".deps/rx_layer.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT rx_layer.lo -MD -MP -MF .deps/rx_layer.Tpo -c rx_layer.c -fPIC -DPIC -o .libs/rx_layer.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT rx_link.lo -MD -MP -MF ".deps/rx_link.Tpo" -c -o rx_link.lo `test -f 'rx_link.c' || echo './'`rx_link.c; then mv -f ".deps/rx_link.Tpo" ".deps/rx_link.Plo"; else rm -f ".deps/rx_link.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT rx_link.lo -MD -MP -MF .deps/rx_link.Tpo -c rx_link.c -fPIC -DPIC -o .libs/rx_link.o rx_link.c:78:9: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, rx_link->c, "recv error: %s", GIFT_NETERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ rx_link.c:80:9: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, rx_link->c, "recv error: socket closed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT rx_packet.lo -MD -MP -MF ".deps/rx_packet.Tpo" -c -o rx_packet.lo `test -f 'rx_packet.c' || echo './'`rx_packet.c; then mv -f ".deps/rx_packet.Tpo" ".deps/rx_packet.Plo"; else rm -f ".deps/rx_packet.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT rx_packet.lo -MD -MP -MF .deps/rx_packet.Tpo -c rx_packet.c -fPIC -DPIC -o .libs/rx_packet.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT rx_stack.lo -MD -MP -MF ".deps/rx_stack.Tpo" -c -o rx_stack.lo `test -f 'rx_stack.c' || echo './'`rx_stack.c; then mv -f ".deps/rx_stack.Tpo" ".deps/rx_stack.Plo"; else rm -f ".deps/rx_stack.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT rx_stack.lo -MD -MP -MF .deps/rx_stack.Tpo -c rx_stack.c -fPIC -DPIC -o .libs/rx_stack.o rx_stack.c:188:7: warning: passing 'const char [50]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Error setting rcvbuf size: %s", GIFT_NETERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 1 warning generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT tx_layer.lo -MD -MP -MF ".deps/tx_layer.Tpo" -c -o tx_layer.lo `test -f 'tx_layer.c' || echo './'`tx_layer.c; then mv -f ".deps/tx_layer.Tpo" ".deps/tx_layer.Plo"; else rm -f ".deps/tx_layer.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT tx_layer.lo -MD -MP -MF .deps/tx_layer.Tpo -c tx_layer.c -fPIC -DPIC -o .libs/tx_layer.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT tx_link.lo -MD -MP -MF ".deps/tx_link.Tpo" -c -o tx_link.lo `test -f 'tx_link.c' || echo './'`tx_link.c; then mv -f ".deps/tx_link.Tpo" ".deps/tx_link.Plo"; else rm -f ".deps/tx_link.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT tx_link.lo -MD -MP -MF .deps/tx_link.Tpo -c tx_link.c -fPIC -DPIC -o .libs/tx_link.o tx_link.c:99:7: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "ret=%s", tx_status_str (ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_link.c:157:9: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "empty, deactivating"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT tx_deflate.lo -MD -MP -MF ".deps/tx_deflate.Tpo" -c -o tx_deflate.lo `test -f 'tx_deflate.c' || echo './'`tx_deflate.c; then mv -f ".deps/tx_deflate.Tpo" ".deps/tx_deflate.Plo"; else rm -f ".deps/tx_deflate.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT tx_deflate.lo -MD -MP -MF .deps/tx_deflate.Tpo -c tx_deflate.c -fPIC -DPIC -o .libs/tx_deflate.o tx_deflate.c:263:7: warning: passing 'const char [45]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "buffer delayed?: %d", tx_deflate->delayed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:272:7: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "nagle timer=%d", tx_deflate->nagle_timer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:286:7: warning: passing 'const char [62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "nagle timer=%d", tx_deflate->nagle_timer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:340:8: warning: passing 'const char [65]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "deflate: error %d", ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:390:8: warning: passing 'const char [65]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "setting ->delayed flag on buf(%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:480:8: warning: passing 'const char [68]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "flushing delayed buf(%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_deflate.c:557:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, tx->stack->c, "buf waiting=[%d] ret=%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 7 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT tx_packet.lo -MD -MP -MF ".deps/tx_packet.Tpo" -c -o tx_packet.lo `test -f 'tx_packet.c' || echo './'`tx_packet.c; then mv -f ".deps/tx_packet.Tpo" ".deps/tx_packet.Plo"; else rm -f ".deps/tx_packet.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT tx_packet.lo -MD -MP -MF .deps/tx_packet.Tpo -c tx_packet.c -fPIC -DPIC -o .libs/tx_packet.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT tx_stack.lo -MD -MP -MF ".deps/tx_stack.Tpo" -c -o tx_stack.lo `test -f 'tx_stack.c' || echo './'`tx_stack.c; then mv -f ".deps/tx_stack.Tpo" ".deps/tx_stack.Plo"; else rm -f ".deps/tx_stack.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT tx_stack.lo -MD -MP -MF .deps/tx_stack.Tpo -c tx_stack.c -fPIC -DPIC -o .libs/tx_stack.o tx_stack.c:144:7: warning: passing 'const char [40]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Error setting sndbuf size: %s", GIFT_NETERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ tx_stack.c:217:7: warning: passing 'const char [62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, stack->c, "bad txstatus: %d", ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. /bin/sh ../../libtool --mode=link cc -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libgt_io.la io_buf.lo rx_inflate.lo rx_layer.lo rx_link.lo rx_packet.lo rx_stack.lo tx_layer.lo tx_link.lo tx_deflate.lo tx_packet.lo tx_stack.lo -lz -L/usr/lib libtool: link: ar cru .libs/libgt_io.a @.libs/libgt_io.libcmd libtool: link: ranlib .libs/libgt_io.a libtool: link: ( cd ".libs" && rm -f "libgt_io.la" && ln -s "../libgt_io.la" "libgt_io.la" ) Making all in message if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT bye.lo -MD -MP -MF ".deps/bye.Tpo" -c -o bye.lo `test -f 'bye.c' || echo './'`bye.c; then mv -f ".deps/bye.Tpo" ".deps/bye.Plo"; else rm -f ".deps/bye.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT bye.lo -MD -MP -MF .deps/bye.Tpo -c bye.c -fPIC -DPIC -o .libs/bye.o bye.c:32:7: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "%s:%hu sent bye packet: code %hu, reason: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 1 warning generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_message.lo -MD -MP -MF ".deps/gt_message.Tpo" -c -o gt_message.lo `test -f 'gt_message.c' || echo './'`gt_message.c; then mv -f ".deps/gt_message.Tpo" ".deps/gt_message.Plo"; else rm -f ".deps/gt_message.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_message.lo -MD -MP -MF .deps/gt_message.Tpo -c gt_message.c -fPIC -DPIC -o .libs/gt_message.o gt_message.c:141:54: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname (c->fd, (struct sockaddr *)&saddr, &len) == 0) ^~~~ /usr/include/sys/socket.h:625:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ gt_message.c:184:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "closing crawler connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_message.c:193:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error allocating rx_stack"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_message.c:202:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error allocating tx stack"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_message.c:216:7: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "self IP=[%s]", net_ip_str (node->my_ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_message.c:217:7: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "peer port=%hu", node->peer_port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 6 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT ping.lo -MD -MP -MF ".deps/ping.Tpo" -c -o ping.lo `test -f 'ping.c' || echo './'`ping.c; then mv -f ".deps/ping.Tpo" ".deps/ping.Plo"; else rm -f ".deps/ping.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT ping.lo -MD -MP -MF .deps/ping.Tpo -c ping.c -fPIC -DPIC -o .libs/ping.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT ping_reply.lo -MD -MP -MF ".deps/ping_reply.Tpo" -c -o ping_reply.lo `test -f 'ping_reply.c' || echo './'`ping_reply.c; then mv -f ".deps/ping_reply.Tpo" ".deps/ping_reply.Plo"; else rm -f ".deps/ping_reply.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT ping_reply.lo -MD -MP -MF .deps/ping_reply.Tpo -c ping_reply.c -fPIC -DPIC -o .libs/ping_reply.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT push.lo -MD -MP -MF ".deps/push.Tpo" -c -o push.lo `test -f 'push.c' || echo './'`push.c; then mv -f ".deps/push.Tpo" ".deps/push.Plo"; else rm -f ".deps/push.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT push.lo -MD -MP -MF .deps/push.Tpo -c push.c -fPIC -DPIC -o .libs/push.o push.c:88:7: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:93:8: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error connecting back: %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:104:7: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending GIV response: %s", str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:106:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, str, strlen (str)); ^~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ push.c:112:8: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error sending: %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:144:7: warning: passing 'const char [79]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:190:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push.c:201:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "client_guid=%s index=%d ip=%s port=%hu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 8 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT query.lo -MD -MP -MF ".deps/query.Tpo" -c -o query.lo `test -f 'query.c' || echo './'`query.c; then mv -f ".deps/query.Tpo" ".deps/query.Plo"; else rm -f ".deps/query.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT query.lo -MD -MP -MF .deps/query.Tpo -c query.c -fPIC -DPIC -o .libs/query.o query.c:113:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "parsed %d kbps %d khz %d:%d", rate, freq, min, sec); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ query.c:197:32: warning: passing 'char [128]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] gt_packet_put_ustr (packet, buf, len); ^~~ ../../src/gt_packet.h:189:74: note: passing argument to parameter 'ustr' here int gt_packet_put_ustr (GtPacket *packet, const unsigned char *ustr, ^ query.c:487:8: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "duplicate search (%s)", gt_guid_str (guid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 3 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT query_reply.lo -MD -MP -MF ".deps/query_reply.Tpo" -c -o query_reply.lo `test -f 'query_reply.c' || echo './'`query_reply.c; then mv -f ".deps/query_reply.Tpo" ".deps/query_reply.Plo"; else rm -f ".deps/query_reply.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT query_reply.lo -MD -MP -MF .deps/query_reply.Tpo -c query_reply.c -fPIC -DPIC -o .libs/query_reply.o query_reply.c:78:6: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] xml = gt_packet_get_ustr (packet, xml_bin_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query_reply.c:294:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "illegal query response packet, < 16 bytes"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT query_route.lo -MD -MP -MF ".deps/query_route.Tpo" -c -o query_route.lo `test -f 'query_route.c' || echo './'`query_route.c; then mv -f ".deps/query_route.Tpo" ".deps/query_route.Plo"; else rm -f ".deps/query_route.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT query_route.lo -MD -MP -MF .deps/query_route.Tpo -c query_route.c -fPIC -DPIC -o .libs/query_route.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT vendor.lo -MD -MP -MF ".deps/vendor.Tpo" -c -o vendor.lo `test -f 'vendor.c' || echo './'`vendor.c; then mv -f ".deps/vendor.Tpo" ".deps/vendor.Plo"; else rm -f ".deps/vendor.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT vendor.lo -MD -MP -MF .deps/vendor.Tpo -c vendor.c -fPIC -DPIC -o .libs/vendor.o vendor.c:94:29: warning: passing 'char const[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] gt_packet_put_ustr (pkt, msg->vendor_id, 4); ^~~~~~~~~~~~~~ ../../src/gt_packet.h:189:74: note: passing argument to parameter 'ustr' here int gt_packet_put_ustr (GtPacket *packet, const unsigned char *ustr, ^ vendor.c:132:6: warning: passing 'const char [38]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, GT_CONN(node), "sending MessagesSupported"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ vendor.c:161:8: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Error parsing vendor message"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ vendor.c:179:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] make_str (vendor, 4), id, version); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:56: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^ ../../src/gt_utils.h:45:27: note: passing argument to parameter 'pseudo_str' here char *make_str (char *pseudo_str, int len); ^ vendor.c:178:7: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "No handler for vendor message %s/%dv%d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. /bin/sh ../../libtool --mode=link cc -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libgt_message.la bye.lo gt_message.lo ping.lo ping_reply.lo push.lo query.lo query_reply.lo query_route.lo vendor.lo -lz -L/usr/lib libtool: link: ar cru .libs/libgt_message.a @.libs/libgt_message.libcmd libtool: link: ranlib .libs/libgt_message.a libtool: link: ( cd ".libs" && rm -f "libgt_message.la" && ln -s "../libgt_message.la" "libgt_message.la" ) Making all in transfer if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT download.lo -MD -MP -MF ".deps/download.Tpo" -c -o download.lo `test -f 'download.c' || echo './'`download.c; then mv -f ".deps/download.Tpo" ".deps/download.Plo"; else rm -f ".deps/download.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT download.lo -MD -MP -MF .deps/download.Tpo -c download.c -fPIC -DPIC -o .libs/download.o if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT push_proxy.lo -MD -MP -MF ".deps/push_proxy.Tpo" -c -o push_proxy.lo `test -f 'push_proxy.c' || echo './'`push_proxy.c; then mv -f ".deps/push_proxy.Tpo" ".deps/push_proxy.Plo"; else rm -f ".deps/push_proxy.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT push_proxy.lo -MD -MP -MF .deps/push_proxy.Tpo -c push_proxy.c -fPIC -DPIC -o .libs/push_proxy.o push_proxy.c:234:8: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "adding push proxy %s:%hu", net_ip_str (ipv4), port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ push_proxy.c:236:8: warning: passing 'const char [64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "rming push proxy %s:%hu", net_ip_str (ipv4), port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT source.lo -MD -MP -MF ".deps/source.Tpo" -c -o source.lo `test -f 'source.c' || echo './'`source.c; then mv -f ".deps/source.Tpo" ".deps/source.Plo"; else rm -f ".deps/source.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -O2 -march=i586 -MT source.lo -MD -MP -MF .deps/source.Tpo -c source.c -fPIC -DPIC -o .libs/source.o /bin/sh ../../libtool --mode=link cc -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libgt_transfer.la download.lo push_proxy.lo source.lo -lz -L/usr/lib libtool: link: ar cru .libs/libgt_transfer.a @.libs/libgt_transfer.libcmd libtool: link: ranlib .libs/libgt_transfer.a libtool: link: ( cd ".libs" && rm -f "libgt_transfer.la" && ln -s "../libgt_transfer.la" "libgt_transfer.la" ) if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT dns.lo -MD -MP -MF ".deps/dns.Tpo" -c -o dns.lo `test -f 'dns.c' || echo './'`dns.c; then mv -f ".deps/dns.Tpo" ".deps/dns.Plo"; else rm -f ".deps/dns.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT dns.lo -MD -MP -MF .deps/dns.Tpo -c dns.c -fPIC -DPIC -o .libs/dns.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT file_cache.lo -MD -MP -MF ".deps/file_cache.Tpo" -c -o file_cache.lo `test -f 'file_cache.c' || echo './'`file_cache.c; then mv -f ".deps/file_cache.Tpo" ".deps/file_cache.Plo"; else rm -f ".deps/file_cache.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT file_cache.lo -MD -MP -MF .deps/file_cache.Tpo -c file_cache.c -fPIC -DPIC -o .libs/file_cache.o file_cache.c:35:7: warning: passing 'const char [40]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "failed loading %s", file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:66:7: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "couldnt open %s for reading: %s", cache->file, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:107:6: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "loaded filecache for %s. nlines = %i", cache->file, nlines); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:135:7: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "couldnt write to %s: %s", tmp_path, GIFT_STRERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:140:6: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "syncing %s to disk", tmp_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:146:7: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "failed writing %s: %s", tmp_path, GIFT_STRERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:156:7: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "failed closing %s: %s", tmp_path, GIFT_STRERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ file_cache.c:162:7: warning: passing 'const char [33]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "file move %s -> %s failed", tmp_path, cache->file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 8 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_accept.lo -MD -MP -MF ".deps/gt_accept.Tpo" -c -o gt_accept.lo `test -f 'gt_accept.c' || echo './'`gt_accept.c; then mv -f ".deps/gt_accept.Tpo" ".deps/gt_accept.Plo"; else rm -f ".deps/gt_accept.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_accept.lo -MD -MP -MF .deps/gt_accept.Tpo -c gt_accept.c -fPIC -DPIC -o .libs/gt_accept.o gt_accept.c:147:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "got a new connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:161:8: warning: passing 'const char [30]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "connected, clearing firewalled status"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:213:8: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "too many connections for this user, closing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:226:9: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "non-local connection, closing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:260:8: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error: %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:282:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] request = fdbuf_data (fdbuf, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ gt_accept.c:297:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad command: %s", request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:319:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:326:8: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error on recv: %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:341:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] request = fdbuf_data (buf, &request_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_accept.c:349:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "accepted headers:\n%s", request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:359:8: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "bad handshake header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:369:8: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "closing 0.4 connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:379:8: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "node_instantiate failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:427:7: warning: passing 'const char [58]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:446:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, &response_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_accept.c:454:7: warning: passing 'const char [58]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "giv response=%s", response); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:486:7: warning: passing 'const char [58]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:586:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_accept.c:589:7: warning: passing 'const char [42]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "connection denied response:\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:744:8: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "fdbuf_delim: error %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_accept.c:759:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, &response_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_accept.c:767:7: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "stage3 response:\n%s", response); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 23 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_ban.lo -MD -MP -MF ".deps/gt_ban.Tpo" -c -o gt_ban.lo `test -f 'gt_ban.c' || echo './'`gt_ban.c; then mv -f ".deps/gt_ban.Tpo" ".deps/gt_ban.Plo"; else rm -f ".deps/gt_ban.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_ban.lo -MD -MP -MF .deps/gt_ban.Tpo -c gt_ban.c -fPIC -DPIC -o .libs/gt_ban.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_bind.lo -MD -MP -MF ".deps/gt_bind.Tpo" -c -o gt_bind.lo `test -f 'gt_bind.c' || echo './'`gt_bind.c; then mv -f ".deps/gt_bind.Tpo" ".deps/gt_bind.Plo"; else rm -f ".deps/gt_bind.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_bind.lo -MD -MP -MF .deps/gt_bind.Tpo -c gt_bind.c -fPIC -DPIC -o .libs/gt_bind.o gt_bind.c:70:27: warning: format specifies type 'unsigned long' but the argument has type 'time_t' (aka 'long long') [-Wformat] fprintf (f, "%lu %hu\n", last_connect, GT_SELF->gt_port); ~~~ ^~~~~~~~~~~~ %lld gt_bind.c:96:30: warning: format specifies type 'unsigned long *' but the argument has type 'time_t *' (aka 'long long *') [-Wformat] if (sscanf (buf, "%lu %hu", &last_time, &last_port) != 2) ~~~ ^~~~~~~~~~ %llu gt_bind.c:144:6: warning: passing 'const char [40]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_bind.c:222:6: warning: passing 'const char [26]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, GT_CONN(node), "fwtesting"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_bind.c:273:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "clearing firewalled status"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 5 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_conf.lo -MD -MP -MF ".deps/gt_conf.Tpo" -c -o gt_conf.lo `test -f 'gt_conf.c' || echo './'`gt_conf.c; then mv -f ".deps/gt_conf.Tpo" ".deps/gt_conf.Plo"; else rm -f ".deps/gt_conf.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_conf.lo -MD -MP -MF .deps/gt_conf.Tpo -c gt_conf.c -fPIC -DPIC -o .libs/gt_conf.o gt_conf.c:117:7: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "Gnutella.conf changed on disk. flushing cached config"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_conf.c:158:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "reloading configuration for %s (copying %s -> %s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_connect.lo -MD -MP -MF ".deps/gt_connect.Tpo" -c -o gt_connect.lo `test -f 'gt_connect.c' || echo './'`gt_connect.c; then mv -f ".deps/gt_connect.Tpo" ".deps/gt_connect.Plo"; else rm -f ".deps/gt_connect.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_connect.lo -MD -MP -MF .deps/gt_connect.Tpo -c gt_connect.c -fPIC -DPIC -o .libs/gt_connect.o gt_connect.c:105:7: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad port on node %s", net_ip_str (node->ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:252:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error reading headers: %s", GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:266:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, &response_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_connect.c:273:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "node handshake response:\n%s", response); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:323:7: warning: passing 'const char [42]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error at stage 3 of handshake"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:410:7: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending node headers:\n%s", msg->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:412:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (tcp_send (c, msg->str, msg->len) <= 0) ^~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_connect.c:444:7: warning: passing 'const char [23]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending final handshake:\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:447:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_connect.c:462:6: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "connect test to %s %s", net_ip_str (node->ip), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:491:15: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] tcp_send (c, "\n\n", 2); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_connect.c:525:6: warning: passing 'const char [44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "starting connect test on %s:%hu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_connect.c:530:7: warning: passing 'const char [44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "failed to open test connection to %s:%hu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 13 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_gnutella.lo -MD -MP -MF ".deps/gt_gnutella.Tpo" -c -o gt_gnutella.lo `test -f 'gt_gnutella.c' || echo './'`gt_gnutella.c; then mv -f ".deps/gt_gnutella.Tpo" ".deps/gt_gnutella.Plo"; else rm -f ".deps/gt_gnutella.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_gnutella.lo -MD -MP -MF .deps/gt_gnutella.Tpo -c gt_gnutella.c -fPIC -DPIC -o .libs/gt_gnutella.o gt_gnutella.c:73:6: warning: passing 'const char [34]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_gnutella.c:150:5: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] p->DBGFN (p, "Starting Gnutella plugin"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_guid.lo -MD -MP -MF ".deps/gt_guid.Tpo" -c -o gt_guid.lo `test -f 'gt_guid.c' || echo './'`gt_guid.c; then mv -f ".deps/gt_guid.Tpo" ".deps/gt_guid.Plo"; else rm -f ".deps/gt_guid.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_guid.lo -MD -MP -MF .deps/gt_guid.Tpo -c gt_guid.c -fPIC -DPIC -o .libs/gt_guid.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_http_client.lo -MD -MP -MF ".deps/gt_http_client.Tpo" -c -o gt_http_client.lo `test -f 'gt_http_client.c' || echo './'`gt_http_client.c; then mv -f ".deps/gt_http_client.Tpo" ".deps/gt_http_client.Plo"; else rm -f ".deps/gt_http_client.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_http_client.lo -MD -MP -MF .deps/gt_http_client.Tpo -c gt_http_client.c -fPIC -DPIC -o .libs/gt_http_client.o gt_http_client.c:75:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending client request:\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:77:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_http_client.c:94:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "reply:\n%s", reply); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:131:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "uhm."); ^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:265:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "[%s:%hu] response body too large (%d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:275:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error [%s:%hu]: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:291:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~ gt_http_client.c:295:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "body:\n%s", response); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:724:7: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "removing source %s", chunk->source->url); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:785:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!gt_http_header_terminated (data, data_len)) ^~~~ ./gt_accept.h:30:40: note: passing argument to parameter 'data' here BOOL gt_http_header_terminated (char *data, size_t len); ^ gt_http_client.c:791:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!parse_server_reply (xfer, c, data)) ^~~~ gt_http_client.c:84:66: note: passing argument to parameter 'reply' here static BOOL parse_server_reply (GtTransfer *xfer, TCPC *c, char *reply) ^ gt_http_client.c:868:31: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((recv_len = tcp_recv (c, buf, size)) <= 0) ^~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:171:41: note: passing argument to parameter 'buf' here int tcp_recv (TCPC *c, unsigned char *buf, size_t len); ^ gt_http_client.c:870:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "tcp_recv error (%d) from %s:%hu: %s", recv_len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_client.c:882:34: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] gt_transfer_write (xfer, chunk, buf, (size_t)recv_len); ^~~ ./gt_xfer_obj.h:114:49: note: passing argument to parameter 'segment' here unsigned char *segment, size_t len); ^ gt_http_client.c:892:7: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "closing client HTTP connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 15 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_http_server.lo -MD -MP -MF ".deps/gt_http_server.Tpo" -c -o gt_http_server.lo `test -f 'gt_http_server.c' || echo './'`gt_http_server.c; then mv -f ".deps/gt_http_server.Tpo" ".deps/gt_http_server.Plo"; else rm -f ".deps/gt_http_server.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_http_server.lo -MD -MP -MF .deps/gt_http_server.Tpo -c gt_http_server.c -fPIC -DPIC -o .libs/gt_http_server.o gt_http_server.c:169:7: warning: passing 'const char [42]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending reply to client =\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:172:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_http_server.c:293:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "sending reply to client =\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:296:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_http_server.c:353:8: warning: passing 'const char [65]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error parsing Range: header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:458:7: warning: passing 'const char [94]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "command=%s version=%s request=%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:645:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!gt_http_header_terminated (data, data_len)) ^~~~ ./gt_accept.h:30:40: note: passing argument to parameter 'data' here BOOL gt_http_header_terminated (char *data, size_t len); ^ gt_http_server.c:651:7: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "client request:\n%s", data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:655:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] &start, &stop, data)) ^~~~ gt_http_server.c:431:47: note: passing argument to parameter 'hdr' here off_t *r_start, off_t *r_stop, char *hdr) ^ gt_http_server.c:657:7: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "invalid http header"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:687:8: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "invalid request \"s\"", request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:763:8: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "cannot satisfy %s: invalid share", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:776:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "unable to register upload with the daemon"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:886:7: warning: passing 'const char [56]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "unable to read from %s: %s", xfer->open_path, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_http_server.c:893:31: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((sent_len = tcp_send (c, buf, MIN (read_len, remainder))) <= 0) ^~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ gt_http_server.c:925:34: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] gt_transfer_write (xfer, chunk, buf, sent_len); ^~~ ./gt_xfer_obj.h:114:49: note: passing argument to parameter 'segment' here unsigned char *segment, size_t len); ^ 16 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_netorg.lo -MD -MP -MF ".deps/gt_netorg.Tpo" -c -o gt_netorg.lo `test -f 'gt_netorg.c' || echo './'`gt_netorg.c; then mv -f ".deps/gt_netorg.Tpo" ".deps/gt_netorg.Plo"; else rm -f ".deps/gt_netorg.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_netorg.lo -MD -MP -MF .deps/gt_netorg.Tpo -c gt_netorg.c -fPIC -DPIC -o .libs/gt_netorg.o gt_netorg.c:76:6: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "[%s]: disconnecting", net_ip_str (GT_NODE(c)->ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_netorg.c:157:7: warning: passing 'const char [32]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "connected=%d nodes=%d", connected, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_netorg.c:208:6: warning: passing 'const char [44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "too many connections (%d)[%s], disconnecting %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_netorg.c:270:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "pruning %s (already registered)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_netorg.c:412:7: warning: passing 'const char [45]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "starting disconnect timer..."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_netorg.c:463:6: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, node->c, "%d unreplied pings. disconnecting", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 6 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_node_cache.lo -MD -MP -MF ".deps/gt_node_cache.Tpo" -c -o gt_node_cache.lo `test -f 'gt_node_cache.c' || echo './'`gt_node_cache.c; then mv -f ".deps/gt_node_cache.Tpo" ".deps/gt_node_cache.Plo"; else rm -f ".deps/gt_node_cache.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_node_cache.lo -MD -MP -MF .deps/gt_node_cache.Tpo -c gt_node_cache.c -fPIC -DPIC -o .libs/gt_node_cache.o gt_node_cache.c:426:7: warning: passing 'const char [31]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error saving cache \"%s\": %s", name, GIFT_STRERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 1 warning generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_node.lo -MD -MP -MF ".deps/gt_node.Tpo" -c -o gt_node.lo `test -f 'gt_node.c' || echo './'`gt_node.c; then mv -f ".deps/gt_node.Tpo" ".deps/gt_node.Plo"; else rm -f ".deps/gt_node.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_node.lo -MD -MP -MF .deps/gt_node.Tpo -c gt_node.c -fPIC -DPIC -o .libs/gt_node.o gt_node.c:312:7: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "[%hu] error: %s", GT_NODE(c)->gt_port, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_node.c:321:6: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "error: %s", buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_node_list.lo -MD -MP -MF ".deps/gt_node_list.Tpo" -c -o gt_node_list.lo `test -f 'gt_node_list.c' || echo './'`gt_node_list.c; then mv -f ".deps/gt_node_list.Tpo" ".deps/gt_node_list.Plo"; else rm -f ".deps/gt_node_list.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_node_list.lo -MD -MP -MF .deps/gt_node_list.Tpo -c gt_node_list.c -fPIC -DPIC -o .libs/gt_node_list.o gt_node_list.c:80:6: warning: passing 'const char [24]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "%s:%hu", net_ip_str (node->ip), node->gt_port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_node_list.c:383:6: warning: passing 'const char [20]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "trimming %d/%d nodes", list_length (to_free), len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_node_list.c:463:7: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error opening tmp file: %s", GIFT_STRERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 3 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_packet.lo -MD -MP -MF ".deps/gt_packet.Tpo" -c -o gt_packet.lo `test -f 'gt_packet.c' || echo './'`gt_packet.c; then mv -f ".deps/gt_packet.Tpo" ".deps/gt_packet.Plo"; else rm -f ".deps/gt_packet.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_packet.lo -MD -MP -MF .deps/gt_packet.Tpo -c gt_packet.c -fPIC -DPIC -o .libs/gt_packet.o gt_packet.c:92:29: warning: passing 'char const[4]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] gt_packet_put_ustr (pkt, vmsg->vendor_id, 4); ^~~~~~~~~~~~~~~ ./gt_packet.h:189:74: note: passing argument to parameter 'ustr' here int gt_packet_put_ustr (GtPacket *packet, const unsigned char *ustr, ^ gt_packet.c:361:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] offs = packet->data + packet->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_packet.c:366:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] data32 = (uint32_t)gt_get8 (offs); ^~~~ gt_packet.c:193:40: note: passing argument to parameter 'src' here static uint8_t gt_get8 (unsigned char *src) ^ gt_packet.c:369:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] data32 = (uint32_t)gt_get16 (offs, endian, swap); ^~~~ gt_packet.c:219:42: note: passing argument to parameter 'src' here static uint16_t gt_get16 (unsigned char *src, int endian, int swap) ^ gt_packet.c:372:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] data32 = gt_get32 (offs, endian, swap); ^~~~ gt_packet.c:224:42: note: passing argument to parameter 'src' here static uint32_t gt_get32 (unsigned char *src, int endian, int swap) ^ gt_packet.c:424:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (!data || size < 0 || size > sizeof (uint32_t)) ~~~~ ^ ~ gt_packet.c:514:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] start = packet->data + packet->offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_packet.c:515:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] end = packet->data + packet->len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_packet.c:532:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net_put16 (ptr, gt_get16 (ptr, endian, swap)); ^~~ gt_packet.c:219:42: note: passing argument to parameter 'src' here static uint16_t gt_get16 (unsigned char *src, int endian, int swap) ^ gt_packet.c:532:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net_put16 (ptr, gt_get16 (ptr, endian, swap)); ^~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/network.h:251:34: note: passing argument to parameter 'dst' here void net_put16 (unsigned char *dst, uint16_t src); ^ gt_packet.c:535:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net_put32 (ptr, gt_get32 (ptr, endian, swap)); ^~~ gt_packet.c:224:42: note: passing argument to parameter 'src' here static uint32_t gt_get32 (unsigned char *src, int endian, int swap) ^ gt_packet.c:535:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net_put32 (ptr, gt_get32 (ptr, endian, swap)); ^~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/network.h:253:34: note: passing argument to parameter 'dst' here void net_put32 (unsigned char *dst, uint32_t src); ^ gt_packet.c:617:45: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat] snprintf (buf, sizeof (buf), "[<%02hx>]", cmd); ~~~~~ ^~~ %02hhx gt_packet.c:651:37: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] packet_command_str (cmd), len, ^~~ gt_packet.c:676:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] packet_log (packet->data, packet->len, sent, user_agent, ip); ^~~~~~~~~~~~ gt_packet.c:622:31: note: passing argument to parameter 'data' here static void packet_log (char *data, int len, int sent, char *user_agent, ^ 15 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_query_route.lo -MD -MP -MF ".deps/gt_query_route.Tpo" -c -o gt_query_route.lo `test -f 'gt_query_route.c' || echo './'`gt_query_route.c; then mv -f ".deps/gt_query_route.Tpo" ".deps/gt_query_route.Plo"; else rm -f ".deps/gt_query_route.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_query_route.lo -MD -MP -MF .deps/gt_query_route.Tpo -c gt_query_route.c -fPIC -DPIC -o .libs/gt_query_route.o gt_query_route.c:360:7: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "deflateInit error: %s", zlib_strerror (ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:383:7: warning: passing 'const char [57]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "compression error: %s", zlib_strerror (ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:481:6: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "%.4lfs elapsed building", elapsed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:482:6: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "present=%u shared=%u size=%u", route_table->present, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:484:6: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "fill ratio=%.4lf%%", fill_ratio); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:520:6: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "%.4lfs elapsed compressing", elapsed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:521:6: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "compressed size=%lu", new_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:815:6: warning: passing 'const char [40]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "entered"); ^~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:845:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "patch overflow: %u (max of %u)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:889:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "undefined bits value in query patch: %u", bits); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:947:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] fprint_hex (stdout, data, size); ^~~~ ./gt_utils.h:49:36: note: passing argument to parameter 'buf' here void fprint_hex (FILE *f, char *buf, int len); ^ gt_query_route.c:959:7: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "null router"); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:974:7: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad patch: seq_size %u vs %u, seq_num %u vs %u", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:982:7: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "tried to change encodings in patch"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:990:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!zlib_stream_write (patch->stream, zdata, size)) ^~~~~ ./gt_utils.h:56:60: note: passing argument to parameter 'data' here int zlib_stream_write (ZlibStream *stream, char *data, size_t size); ^ gt_query_route.c:992:8: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error copying data"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1003:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!zlib_stream_inflate (patch->stream, zdata, size)) ^~~~~ ./gt_utils.h:55:60: note: passing argument to parameter 'data' here int zlib_stream_inflate (ZlibStream *stream, char *data, size_t size); ^ gt_query_route.c:1005:8: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error inflating data"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1013:7: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "unknown compression algorithm in query route patch"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1020:7: warning: passing 'const char [96]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error calling zlib_stream_read"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1026:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_hex (data, size); ^~~~ gt_query_route.c:945:39: note: passing argument to parameter 'data' here static void print_hex (unsigned char *data, size_t size) ^ gt_query_route.c:1031:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] print_hex (router->table, router->size); ^~~~~~~~~~~~~ gt_query_route.c:945:39: note: passing argument to parameter 'data' here static void print_hex (unsigned char *data, size_t size) ^ gt_query_route.c:1045:6: warning: passing 'const char [32]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "reseting route table for %s", net_ip_str (GT_NODE(c)->ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1063:7: warning: passing 'const char [32]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error reseting table"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1073:7: warning: passing 'const char [32]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error sending empty patch"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1093:7: warning: passing 'const char [55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error reseting table"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_query_route.c:1122:8: warning: passing 'const char [55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error sending QRT patch"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 27 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_search.lo -MD -MP -MF ".deps/gt_search.Tpo" -c -o gt_search.lo `test -f 'gt_search.c' || echo './'`gt_search.c; then mv -f ".deps/gt_search.Tpo" ".deps/gt_search.Plo"; else rm -f ".deps/gt_search.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_search.lo -MD -MP -MF .deps/gt_search.Tpo -c gt_search.c -fPIC -DPIC -o .libs/gt_search.o gt_search.c:84:6: warning: passing 'const char [30]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "search query for \"%s\" timed out", search->query); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:179:18: warning: assigning to 'char *' from 'gt_guid_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] search->guid = gt_guid_new (); ^ ~~~~~~~~~~~~~~ gt_search.c:188:6: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "new search \"%s\"", query); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:242:7: warning: passing 'const char [34]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "didnt find search id %p", (long) event); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:248:6: warning: passing 'const char [34]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "disabled search event %p (query '%s')", event, search->query); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:256:22: warning: passing 'char *' to parameter of type 'const gt_guid_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return gt_guid_cmp (a->guid, b->guid); ^~~~~~~ ./gt_guid.h:32:52: note: passing argument to parameter 'a' here int gt_guid_cmp (const gt_guid_t *a, const gt_guid_t *b); ^ gt_search.c:256:31: warning: passing 'char *' to parameter of type 'const gt_guid_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return gt_guid_cmp (a->guid, b->guid); ^~~~~~~ ./gt_guid.h:32:72: note: passing argument to parameter 'b' here int gt_guid_cmp (const gt_guid_t *a, const gt_guid_t *b); ^ gt_search.c:264:11: warning: assigning to 'char *' from 'gt_guid_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] key.guid = guid; ^ ~~~~ gt_search.c:312:7: warning: passing 'const char [45]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad result for hash query"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:483:7: warning: passing 'const char [53]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "trying to search for \"%s\" without a hash?!?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:488:48: warning: passing 'char *' to parameter of type 'gt_guid_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (!(pkt = gt_packet_new (GT_MSG_QUERY, ttl, search->guid))) ^~~~~~~~~~~~ ./gt_packet.h:142:75: note: passing argument to parameter 'guid' here GtPacket *gt_packet_new (uint8_t cmd, uint8_t ttl, gt_guid_t *guid); ^ gt_search.c:585:7: warning: passing 'const char [38]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "htype != \"SHA1\"!?: %s", htype); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:601:7: warning: passing 'const char [38]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "gt_src == NULL?!?!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:643:6: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "locate_pass_prob=%f n=%f", locate_pass_prob, n); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:662:6: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "new hash search: %s", hash); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search.c:677:7: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "dropping locate for %s " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 16 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_search_exec.lo -MD -MP -MF ".deps/gt_search_exec.Tpo" -c -o gt_search_exec.lo `test -f 'gt_search_exec.c' || echo './'`gt_search_exec.c; then mv -f ".deps/gt_search_exec.Tpo" ".deps/gt_search_exec.Plo"; else rm -f ".deps/gt_search_exec.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_search_exec.lo -MD -MP -MF .deps/gt_search_exec.Tpo -c gt_search_exec.c -fPIC -DPIC -o .libs/gt_search_exec.o gt_search_exec.c:103:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "Wuh-HOO! Answered a query-by-hash (%s) for (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_search_exec.c:209:7: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "scanning list of %d size", smallest_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 2 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_share.lo -MD -MP -MF ".deps/gt_share.Tpo" -c -o gt_share.lo `test -f 'gt_share.c' || echo './'`gt_share.c; then mv -f ".deps/gt_share.Tpo" ".deps/gt_share.Plo"; else rm -f ".deps/gt_share.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_share.lo -MD -MP -MF .deps/gt_share.Tpo -c gt_share.c -fPIC -DPIC -o .libs/gt_share.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_share_file.lo -MD -MP -MF ".deps/gt_share_file.Tpo" -c -o gt_share_file.lo `test -f 'gt_share_file.c' || echo './'`gt_share_file.c; then mv -f ".deps/gt_share_file.Tpo" ".deps/gt_share_file.Plo"; else rm -f ".deps/gt_share_file.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_share_file.lo -MD -MP -MF .deps/gt_share_file.Tpo -c gt_share_file.c -fPIC -DPIC -o .libs/gt_share_file.o gt_share_file.c:104:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad basename for %s", SHARE_DATA(file)->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 1 warning generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_share_state.lo -MD -MP -MF ".deps/gt_share_state.Tpo" -c -o gt_share_state.lo `test -f 'gt_share_state.c' || echo './'`gt_share_state.c; then mv -f ".deps/gt_share_state.Tpo" ".deps/gt_share_state.Plo"; else rm -f ".deps/gt_share_state.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_share_state.lo -MD -MP -MF .deps/gt_share_state.Tpo -c gt_share_state.c -fPIC -DPIC -o .libs/gt_share_state.o gt_share_state.c:94:6: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, GT_CONN(node), "sending HopsFlow(%d)", max_hops); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 1 warning generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_stats.lo -MD -MP -MF ".deps/gt_stats.Tpo" -c -o gt_stats.lo `test -f 'gt_stats.c' || echo './'`gt_stats.c; then mv -f ".deps/gt_stats.Tpo" ".deps/gt_stats.Plo"; else rm -f ".deps/gt_stats.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_stats.lo -MD -MP -MF .deps/gt_stats.Tpo -c gt_stats.c -fPIC -DPIC -o .libs/gt_stats.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_urn.lo -MD -MP -MF ".deps/gt_urn.Tpo" -c -o gt_urn.lo `test -f 'gt_urn.c' || echo './'`gt_urn.c; then mv -f ".deps/gt_urn.Tpo" ".deps/gt_urn.Plo"; else rm -f ".deps/gt_urn.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_urn.lo -MD -MP -MF .deps/gt_urn.Tpo -c gt_urn.c -fPIC -DPIC -o .libs/gt_urn.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_utils.lo -MD -MP -MF ".deps/gt_utils.Tpo" -c -o gt_utils.lo `test -f 'gt_utils.c' || echo './'`gt_utils.c; then mv -f ".deps/gt_utils.Tpo" ".deps/gt_utils.Plo"; else rm -f ".deps/gt_utils.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_utils.lo -MD -MP -MF .deps/gt_utils.Tpo -c gt_utils.c -fPIC -DPIC -o .libs/gt_utils.o gt_utils.c:32:49: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername (fd, (struct sockaddr *) &sin, &len) < 0) ^~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ gt_utils.c:78:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] end = buf + len; ^ ~~~~~~~~~ gt_utils.c:80:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((line = buf) != end) ^ ~~~ gt_utils.c:315:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "inflateInit error %s", zlib_strerror (ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_utils.c:329:17: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] inz->next_in = zdata; ^ ~~~~~ gt_utils.c:331:17: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] inz->next_out = stream->pos; ^ ~~~~~~~~~~~ gt_utils.c:334:6: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "next_out: %p avail_out: %u", inz->next_out, inz->avail_out); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_utils.c:338:7: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "decompression error: %s", zlib_strerror (ret)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_utils.c:342:6: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "inz->avail_in = %u, inz->avail_out = %u", inz->avail_in, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 9 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_version.lo -MD -MP -MF ".deps/gt_version.Tpo" -c -o gt_version.lo `test -f 'gt_version.c' || echo './'`gt_version.c; then mv -f ".deps/gt_version.Tpo" ".deps/gt_version.Plo"; else rm -f ".deps/gt_version.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_version.lo -MD -MP -MF .deps/gt_version.Tpo -c gt_version.c -fPIC -DPIC -o .libs/gt_version.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_web_cache.lo -MD -MP -MF ".deps/gt_web_cache.Tpo" -c -o gt_web_cache.lo `test -f 'gt_web_cache.c' || echo './'`gt_web_cache.c; then mv -f ".deps/gt_web_cache.Tpo" ".deps/gt_web_cache.Plo"; else rm -f ".deps/gt_web_cache.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_web_cache.lo -MD -MP -MF .deps/gt_web_cache.Tpo -c gt_web_cache.c -fPIC -DPIC -o .libs/gt_web_cache.o gt_web_cache.c:128:8: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "connect to server %s failed for some reason", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:141:8: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "server %s returned error %i", req->host, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:164:7: warning: passing 'const char [52]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "empty host file from %s", http_req->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:168:6: warning: passing 'const char [52]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "hostfile from server = %s", host_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:197:7: warning: passing 'const char [52]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "registering %s:%hu (from cache %s)", net_ip_str (ip), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:244:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "empty url file from %s", http_req->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:248:6: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "urlfile from server = %s", url_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:400:6: warning: passing 'const char [63]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "Redirecting to new webcache %s/%s", new_host, new_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:422:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "read %s from server %s", str, req->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:434:6: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "server sent us: %s", data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:441:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "string append failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:515:7: warning: passing 'const char [56]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error parsing hostname \"%s\"", str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:539:7: warning: passing 'const char [56]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "couldn't open connection to %s [%s]: %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:563:8: warning: passing 'const char [28]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "using proxy server %s", proxy); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:583:6: warning: passing 'const char [50]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "lookup failed on \"%s\": %s", name, gt_dns_strerror(error)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:588:7: warning: passing 'const char [50]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "webcache \"%s\" not in DNS. banning", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:622:6: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "opening connection to %s [%s]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:737:7: warning: passing 'const char [47]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "couldn't find random cache"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:780:7: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "Access already in progress"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:797:8: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error looking up cache"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_web_cache.c:824:8: warning: passing 'const char [25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "hitting web cache [total cache hits %u] " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/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. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_xfer.lo -MD -MP -MF ".deps/gt_xfer.Tpo" -c -o gt_xfer.lo `test -f 'gt_xfer.c' || echo './'`gt_xfer.c; then mv -f ".deps/gt_xfer.Tpo" ".deps/gt_xfer.Plo"; else rm -f ".deps/gt_xfer.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_xfer.lo -MD -MP -MF .deps/gt_xfer.Tpo -c gt_xfer.c -fPIC -DPIC -o .libs/gt_xfer.o gt_xfer.c:218:8: warning: passing 'const char [55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "received unimplemented Browse Host request"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:238:7: warning: passing 'const char [55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "null namespace or path: %s %s\n", namespace, path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:267:8: warning: passing 'const char [55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad request: /%s/%s", namespace, path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:558:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Continuing download for %s", xfer->request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:574:8: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "connection timed out"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:576:8: warning: passing 'const char [39]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "connection closed or sent invalid data"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:594:7: warning: passing 'const char [40]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "storing connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:621:8: warning: passing 'const char [62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "too many push connections from %s, closing", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:664:8: warning: passing 'const char [54]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "found push connection for %s", net_ip_str (ip)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:826:7: warning: passing 'const char [27]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "Detach timeout troubles. status = %d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:1029:7: warning: passing 'const char [61]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "UI made an invalid request for '%s'", request); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer.c:1134:7: warning: passing 'const char [71]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "gt_transfer_new failed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 12 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT gt_xfer_obj.lo -MD -MP -MF ".deps/gt_xfer_obj.Tpo" -c -o gt_xfer_obj.lo `test -f 'gt_xfer_obj.c' || echo './'`gt_xfer_obj.c; then mv -f ".deps/gt_xfer_obj.Tpo" ".deps/gt_xfer_obj.Plo"; else rm -f ".deps/gt_xfer_obj.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT gt_xfer_obj.lo -MD -MP -MF .deps/gt_xfer_obj.Tpo -c gt_xfer_obj.c -fPIC -DPIC -o .libs/gt_xfer_obj.o gt_xfer_obj.c:211:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "(%s) old chunk range: [%lu,%lu) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:268:9: warning: passing 'const char [68]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Keeping push connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:283:8: warning: passing 'const char [68]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "Closing pushed connection! ARGH!"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:382:7: warning: passing 'const char [60]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "This is where we say good bye. status = %d, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:448:7: warning: passing 'const char [74]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "using previous connection to %s:%hu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:533:8: warning: passing 'const char [59]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, "force closing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:792:7: warning: passing 'const char [42]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "no connection found to suspend"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ gt_xfer_obj.c:815:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "no connection found to resume"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 8 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT http_request.lo -MD -MP -MF ".deps/http_request.Tpo" -c -o http_request.lo `test -f 'http_request.c' || echo './'`http_request.c; then mv -f ".deps/http_request.Tpo" ".deps/http_request.Plo"; else rm -f ".deps/http_request.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT http_request.lo -MD -MP -MF .deps/http_request.Tpo -c http_request.c -fPIC -DPIC -o .libs/http_request.o http_request.c:159:6: warning: passing 'const char [35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "request to %s timed out", req->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:212:7: warning: passing 'const char [46]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "%s sent %lu bytes overflowing max length of %lu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:255:6: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, c, " sending:\n%s", s->str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:257:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_send (c, s->str, s->len); ^~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:159:41: note: passing argument to parameter 'data' here int tcp_send (TCPC *c, unsigned char *data, size_t len); ^ http_request.c:290:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error on host %s: %s", req->host, GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:304:26: warning: passing 'int *' to parameter of type 'size_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] data = fdbuf_data (buf, &data_len); ^~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/fdbuf.h:153:50: note: passing argument to parameter 'len' here unsigned char *fdbuf_data (FDBuf *buf, size_t *len); ^ http_request.c:304:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] data = fdbuf_data (buf, &data_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ http_request.c:327:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error on %s: %s", req->host, GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:341:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~ http_request.c:346:6: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "server sent chunk size of %lu", req->size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:350:7: warning: passing 'const char [48]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "overflow reading chunk size: %s", GIFT_STRERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:393:7: warning: passing 'const char [38]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error from %s: %s", req->host, GIFT_NETERROR ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:404:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!write_data (req, data, len)) ^~~~ http_request.c:202:49: note: passing argument to parameter 'data' here static BOOL write_data (HttpRequest *req, char *data, size_t len) ^ http_request.c:427:24: warning: passing 'char [2048]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((n = tcp_recv (c, data, sizeof (data) - 1)) < 0) ^~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/tcpc.h:171:41: note: passing argument to parameter 'buf' here int tcp_recv (TCPC *c, unsigned char *buf, size_t len); ^ http_request.c:429:7: warning: passing 'const char [43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error from %s: %s", req->host, GIFT_NETERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:488:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGSOCK (GT, req->c, "Too many redirects"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:153:41: note: expanded from macro 'DBGSOCK' # define DBGSOCK(p,c,...) tracesock(p,c,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:539:6: warning: passing 'const char [49]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error parsing response from %s, closing", req->host); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:560:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "error reading from %s: %s", net_peer_ip (c->fd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:575:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] response = fdbuf_data (buf, &response_len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http_request.c:579:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "headers too large(%lu)", (long)response_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:587:6: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "response=\n%s", response); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:615:7: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "bad size (%s) in content length field for %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ http_request.c:679:7: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "send failed: %s", GIFT_NETERROR()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 23 warnings generated. if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT sha1.lo -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.lo `test -f 'sha1.c' || echo './'`sha1.c; then mv -f ".deps/sha1.Tpo" ".deps/sha1.Plo"; else rm -f ".deps/sha1.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT sha1.lo -MD -MP -MF .deps/sha1.Tpo -c sha1.c -fPIC -DPIC -o .libs/sha1.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT trie.lo -MD -MP -MF ".deps/trie.Tpo" -c -o trie.lo `test -f 'trie.c' || echo './'`trie.c; then mv -f ".deps/trie.Tpo" ".deps/trie.Plo"; else rm -f ".deps/trie.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c trie.c -fPIC -DPIC -o .libs/trie.o if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -MT xml.lo -MD -MP -MF ".deps/xml.Tpo" -c -o xml.lo `test -f 'xml.c' || echo './'`xml.c; then mv -f ".deps/xml.Tpo" ".deps/xml.Plo"; else rm -f ".deps/xml.Tpo"; exit 1; fi libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include -I/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libxml2 -O2 -march=i586 -MT xml.lo -MD -MP -MF .deps/xml.Tpo -c xml.c -fPIC -DPIC -o .libs/xml.o xml.c:69:8: warning: passing 'const char [41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "name=%s", node->name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ xml.c:217:17: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] zxml.next_in = (char *)xml; ^ ~~~~~~~~~~~ xml.c:221:17: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] zxml.next_out = xml_buf; ^ ~~~~~~~ xml.c:354:6: warning: passing 'const char [51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] GT->DBGFN (GT, "xml parse error: %s", buf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:152:31: note: expanded from macro 'DBGFN' # define DBGFN(p,...) trace(p,FILE_LINE_FUNC,__VA_ARGS__) ^~~~~~~~~~~~~~ /usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/include/libgift/proto/protocol.h:149:42: note: expanded from macro 'FILE_LINE_FUNC' #define FILE_LINE_FUNC __FILE__,__LINE__,__PRETTY_FUNCTION__ ^~~~~~~~~~~~~~~~~~~ 4 warnings generated. /bin/sh ../libtool --mode=link cc -I/usr/pkg/include/libxml2 -I/usr/pkg/include -O2 -march=i586 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libGnutella.la -rpath /usr/pkg/lib/giFT -module -avoid-version dns.lo file_cache.lo gt_accept.lo gt_ban.lo gt_bind.lo gt_conf.lo gt_connect.lo gt_gnutella.lo gt_guid.lo gt_http_client.lo gt_http_server.lo gt_netorg.lo gt_node_cache.lo gt_node.lo gt_node_list.lo gt_packet.lo gt_query_route.lo gt_search.lo gt_search_exec.lo gt_share.lo gt_share_file.lo gt_share_state.lo gt_stats.lo gt_urn.lo gt_utils.lo gt_version.lo gt_web_cache.lo gt_xfer.lo gt_xfer_obj.lo http_request.lo sha1.lo trie.lo xml.lo ../src/encoding/libgt_encoding.la ../src/io/libgt_io.la ../src/message/libgt_message.la ../src/transfer/libgt_transfer.la -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lxml2 -lz -lm -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgift -lgiftproto -lz -L/usr/lib libtool: link: cc -shared -fPIC -DPIC .libs/libGnutella.la.lnkscript -Wl,--whole-archive ../src/encoding/.libs/libgt_encoding.a ../src/io/.libs/libgt_io.a ../src/message/.libs/libgt_message.a ../src/transfer/.libs/libgt_transfer.a -Wl,--no-whole-archive -Wl,-rpath,/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkgsrc/work/net/gift-gnutella/work/.buildlink/lib -lxml2 -llzma -lm -lgiftproto -lgift -lmagic -L/usr/pkg/lib -lpthread -lz -O2 -march=i586 -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libGnutella.so -o .libs/libGnutella.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-gnutella/work/gift-gnutella-0.0.11/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-gnutella/work/gift-gnutella-0.0.11/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-gnutella/work/gift-gnutella-0.0.11 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gift-gnutella/work/gift-gnutella-0.0.11 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gift-gnutella *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gift-gnutella