Re: gwmem patches
Vincent CHAVANIS <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
please check this output from kannel itself. Alex could you commit your undef patch ? Thanks! Vincent [email protected] a e'crit : > Kannel compilation test. > > Host: Linux vm1.kannel.org 2.6.27.15-170.2.24.fc10.i686 #1 SMP Wed Feb 11 23:58:12 EST 2009 i686 i686 i386 GNU/Linux > > Kannel compilation had warnings or failed. > > Output of 'make -s': > In file included from ./gwlib/gwlib.h:83, > from gw/bb_alog.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/bb_alog.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_boxc.c:78: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/bb_boxc.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_http.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/bb_http.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_smscconn.c:83: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/bb_smscconn.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_store.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/bb_store.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_store_file.c:82: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/bb_store_file.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_store_spool.c:72: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/bb_store_spool.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bb_udp.c:78: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/bb_udp.c:70: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr.c:88: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/dlr.c:84: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr_mem.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/dlr_mem.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr_mysql.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/dlr_mysql.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr_oracle.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/dlr_oracle.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr_pgsql.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/dlr_pgsql.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/dlr_sdb.c:69: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/dlr_sdb.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/heartbeat.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/heartbeat.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/html.h:68, > from gw/html.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/html.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/load.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/load.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/meta_data.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/meta_data.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/mime_decompiler.c:79: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/mime_decompiler.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/msg.h:69, > from gw/msg.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/msg.h:69, > from gw/msg.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/numhash.c:75: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/numhash.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/shared.h:70, > from gw/ota_compiler.c:88: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/shared.h:70, > from gw/ota_compiler.c:88: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/ota_prov.c:74: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/ota_prov.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/shared.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/shared.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/msg.h:69, > from gw/sms.h:89, > from gw/sms.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/msg.h:69, > from gw/sms.h:89, > from gw/sms.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smscconn.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smscconn.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/urltrans.h:84, > from gw/urltrans.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/urltrans.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wap-appl.c:87: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/wap-appl.c:85: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wap-error.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/wap-error.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wap-maps.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/wap-maps.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from ./wap/wap_events.h:68, > from gw/wap_push_ota.h:66, > from gw/wap_push_ota.c:80: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from ./wap/wap_events.h:68, > from gw/wap_push_ota.h:66, > from gw/wap_push_ota.c:80: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/shared.h:70, > from gw/wap_push_pap_compiler.c:93: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/wap_push_pap_compiler.c:91: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wap_push_pap_mime.h:68, > from gw/wap_push_pap_mime.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/wap_push_pap_mime.h:68, > from gw/wap_push_pap_mime.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from ./wap/wap_events.h:68, > from gw/wap_push_ppg.h:79, > from gw/wap_push_ppg.c:79: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from ./wap/wap_events.h:68, > from gw/wap_push_ppg.h:79, > from gw/wap_push_ppg.c:79: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wap_push_ppg_pushuser.h:73, > from gw/wap_push_ppg_pushuser.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/wap_push_ppg_pushuser.h:73, > from gw/wap_push_ppg_pushuser.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/shared.h:70, > from gw/wap_push_si_compiler.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/shared.h:70, > from gw/wap_push_si_compiler.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/xml_shared.h:79, > from gw/wap_push_sl_compiler.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/xml_shared.h:79, > from gw/wap_push_sl_compiler.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wml_compiler.c:84: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/wml_compiler.c:73: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/xml_shared.h:79, > from gw/xml_shared.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/xml_shared.h:79, > from gw/xml_shared.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/emimsg.h:67, > from gw/smsc/emimsg.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/emimsg.h:67, > from gw/smsc/emimsg.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smasi_pdu.h:67, > from gw/smsc/smasi_pdu.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smasi_pdu.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smpp_pdu.h:70, > from gw/smsc/smpp_pdu.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smpp_pdu.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc.c:76: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_at.c:89: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_at.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_cgw.c:114: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_cgw.c:114: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc.h:73, > from gw/smsc/smsc_cimd.c:73: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_cimd.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_cimd2.c:88: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_cimd2.c:84: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_emi.c:83: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_emi.c:83: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_emi_x25.c:81: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_emi_x25.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_fake.c:73: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_fake.c:73: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_http.c:121: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_http.c:121: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc.h:73, > from gw/smsc/smsc_ois.c:122: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_ois.c:114: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_oisd.c:79: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_oisd.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_sema.c:97: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsc/smsc_sema.c:83: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_smasi.c:82: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_smasi.c:82: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_smpp.c:72: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_smpp.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_soap.c:121: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_soap.c:121: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsc/smsc_wrapper.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/smsc/smsc_wrapper.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wmlscript/wmlsc.c:82: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wmlscript/wmlsc.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wmlscript/wmlsdasm.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wmlscript/wsint.h:78, > from wmlscript/wmlsdasm.c:70: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/cookies.c:72: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/cookies.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/timers.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/timers.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wap.c:61: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wap.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wap_addr.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wap_addr.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wap_events.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wap_events.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/wsp.c:62: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_caps.c:62: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wsp_caps.c:62: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_headers.c:88: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/wsp_headers.c:84: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_pdu.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wsp_pdu.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_push_client.h:68, > from wap/wsp_push_client.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wsp_push_client.h:68, > from wap/wsp_push_client.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_session.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/wsp_session.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_strings.c:70: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wsp_strings.c:70: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wsp_unit.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/wsp_unit.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtls-secmgr.c:77: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from wap/wtls-secmgr.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtls.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtls.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtls_pdu.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtls_pdu.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtls_pdusupport.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtls_pdusupport.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtls_statesupport.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtls_statesupport.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp.h:70, > from wap/wtp.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp.h:70, > from wap/wtp.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp_init.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp_init.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp_pack.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp_pack.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp_pdu.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp_pdu.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp_resp.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp_resp.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from wap/wtp_tid.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from wap/wtp_tid.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from radius/radius_acct.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from radius/radius_acct.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from radius/radius_pdu.h:68, > from radius/radius_pdu.c:70: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from radius/radius_pdu.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/accesslog.c:73: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/accesslog.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/cfg.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/cfg.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/charset.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/charset.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/conn.c:82: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/conn.c:80: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/conn.c: In function 'unlocked_read': > gwlib/conn.c:343: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > gwlib/conn.c: In function 'conn_write_data': > gwlib/conn.c:1055: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > gwlib/conn.c: In function 'conn_write_withlen': > gwlib/conn.c:1069: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > gwlib/conn.c: In function 'conn_read_withlen': > gwlib/conn.c:1175: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness > In file included from gwlib/gwlib.h:83, > from gwlib/counter.c:72: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/counter.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/date.c:66: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/date.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:69: warning: pointer targets in initialization differ in signedness > gwlib/date.c:70: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:73: warning: pointer targets in initialization differ in signedness > gwlib/date.c:74: warning: pointer targets in initialization differ in signedness > gwlib/date.c:74: warning: pointer targets in initialization differ in signedness > gwlib/date.c:74: warning: pointer targets in initialization differ in signedness > gwlib/date.c:74: warning: pointer targets in initialization differ in signedness > gwlib/date.c:74: warning: pointer targets in initialization differ in signedness > gwlib/date.c:75: warning: pointer targets in initialization differ in signedness > gwlib/date.c: In function 'date_format_http': > gwlib/date.c:113: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > gwlib/date.c:115: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/date.c: In function 'date_parse_http': > gwlib/date.c:213: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness > In file included from gwlib/gwlib.h:83, > from gwlib/dbpool.c:68: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/dbpool.c:68: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/dict.c:67: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/dict.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/fdset.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/fdset.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/gw-rwlock.c:66: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/gw-rwlock.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/gwlib.c:63: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/gwlib.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/gwmem-check.c:100: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwmem-check.c:95: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/gwmem-native.c:67: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwmem-native.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/gwpoll.c:59: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/gwpoll.c:59: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/gwthread-pthread.c:69: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwthread-pthread.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/http.c:84: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/http.c:79: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/list.c:99: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/list.c:90: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/log.c:61: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/log.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/md5.c:90: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/md5.c:90: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/md5.c: In function 'md5': > gwlib/md5.c:397: warning: pointer targets in passing argument 2 of 'md5_update' differ in signedness > gwlib/md5.c:400: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > gwlib/md5.c: In function 'md5digest': > gwlib/md5.c:416: warning: pointer targets in passing argument 2 of 'md5_digest' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from gwlib/mime.c:73: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/mime.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/octstr.c:76: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/octstr.c:70: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/octstr.c: In function 'urlcode_init': > gwlib/octstr.c:209: warning: pointer targets in initialization differ in signedness > gwlib/octstr.c: In function 'octstr_imm': > gwlib/octstr.c:309: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c: In function 'octstr_copy_real': > gwlib/octstr.c:361: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > gwlib/octstr.c: In function 'octstr_duplicate_real': > gwlib/octstr.c:373: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > gwlib/octstr.c: In function 'octstr_get_cstr_real': > gwlib/octstr.c:442: warning: pointer targets in return differ in signedness > gwlib/octstr.c: In function 'octstr_binary_to_hex': > gwlib/octstr.c:470: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c: In function 'octstr_parse_long': > gwlib/octstr.c:763: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness > gwlib/octstr.c:764: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c: In function 'octstr_parse_double': > gwlib/octstr.c:795: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness > gwlib/octstr.c:796: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c: In function 'octstr_str_compare': > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:977: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c: In function 'octstr_str_case_compare': > gwlib/octstr.c:990: warning: pointer targets in passing argument 1 of 'strcasecmp' differ in signedness > gwlib/octstr.c: In function 'octstr_str_ncompare': > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness > gwlib/octstr.c:1003: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness > gwlib/octstr.c: In function 'octstr_append_from_socket': > gwlib/octstr.c:1238: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > gwlib/octstr.c: In function 'octstr_append_char': > gwlib/octstr.c:1463: warning: pointer targets in passing argument 3 of 'octstr_insert_data' differ in signedness > gwlib/octstr.c: In function 'octstr_split_words': > gwlib/octstr.c:1571: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > gwlib/octstr.c: In function 'octstr_url_encode': > gwlib/octstr.c:1646: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c: In function 'octstr_append_uintvar': > gwlib/octstr.c:1887: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > gwlib/octstr.c: In function 'octstr_dump_debug': > gwlib/octstr.c:1954: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > gwlib/octstr.c:1955: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness > gwlib/octstr.c:1955: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c: In function 'octstr_dump_real': > gwlib/octstr.c:2066: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > gwlib/octstr.c:2066: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness > gwlib/octstr.c:2066: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c:2069: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > gwlib/octstr.c:2069: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness > gwlib/octstr.c:2069: warning: pointer targets in assignment differ in signedness > gwlib/octstr.c:2072: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > gwlib/octstr.c:2072: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness > gwlib/octstr.c:2072: warning: pointer targets in assignment differ in signedness > In file included from ./gwlib/gwlib.h:83, > from gwlib/parse.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/parse.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/pcre.c:72: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/pcre.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/pki.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/pki.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/protected.c:66: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/gwlib.h:72, > from gwlib/protected.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/regex.c:72: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/regex.c:72: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/semaphore.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/semaphore.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/socket.c:75: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/socket.c:62: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/socket.c: In function 'udp_recvfrom': > gwlib/socket.c:560: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness > gwlib/socket.c: In function 'gw_accept': > gwlib/socket.c:688: warning: pointer targets in passing argument 3 of 'accept' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from gwlib/ssl.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/ssl.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/thread.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/thread.c:57: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from gwlib/gwlib.h:83, > from gwlib/utils.c:83: > gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gwlib/utils.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gwlib/xmlrpc.c:73: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gwlib/xmlrpc.c:73: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > gwlib/xmlrpc.c: In function 'parse_document': > gwlib/xmlrpc.c:1386: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_methodcall_element': > gwlib/xmlrpc.c:1492: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c:1526: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_methodresponse_element': > gwlib/xmlrpc.c:1613: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_params_element': > gwlib/xmlrpc.c:1720: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_param_element': > gwlib/xmlrpc.c:1822: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_value_element': > gwlib/xmlrpc.c:1922: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c:1947: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_struct_element': > gwlib/xmlrpc.c:2123: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_member_element': > gwlib/xmlrpc.c:2226: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c:2265: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_array_element': > gwlib/xmlrpc.c:2335: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_data_element': > gwlib/xmlrpc.c:2429: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > gwlib/xmlrpc.c: In function 'parse_fault_element': > gwlib/xmlrpc.c:2527: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from utils/mtbatch.c:74: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from utils/mtbatch.c:70: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/bearerbox.c:75: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/bearerbox.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/smsbox.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from gw/smsbox.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from gw/wapbox.c:69: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from gw/wapbox.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/decode_emimsg.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/decode_emimsg.c:62: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > test/decompile.c: In function 'Read_extension': > test/decompile.c:1187: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness > test/decompile.c:1196: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness > test/decompile.c:1205: warning: pointer targets in passing argument 2 of 'AddVariableIndexNode' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from test/drive_smpp.c:69: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/drive_smpp.c:69: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/drive_wapbox.c:76: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/drive_wapbox.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > test/drive_wapbox.c: In function 'wtp_invoke_create': > test/drive_wapbox.c:302: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > test/drive_wapbox.c: In function 'wtp_ack_create': > test/drive_wapbox.c:313: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > test/drive_wapbox.c: In function 'add_wsp_connect': > test/drive_wapbox.c:327: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from test/fakesmsc.c:114: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/fakesmsc.c:105: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/fakewap.c:177: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/fakewap.c:165: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > test/fakewap.c: In function 'wap_msg_send': > test/fakewap.c:374: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > test/fakewap.c:387: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > test/fakewap.c: In function 'wap_msg_recv': > test/fakewap.c:448: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness > test/fakewap.c: In function 'client_session': > test/fakewap.c:574: warning: pointer targets in passing argument 2 of 'wap_msg_recv' differ in signedness > test/fakewap.c:618: warning: pointer targets in passing argument 2 of 'wap_msg_recv' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from test/test_boxc.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_boxc.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_cfg.c:57: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_cfg.c:57: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_charset.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_charset.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_cimd2.c:92: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_cimd2.c:78: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > test/test_cimd2.c:99: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:100: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:105: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c: In function 'read_data': > test/test_cimd2.c:230: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > test/test_cimd2.c: In function 'write_data': > test/test_cimd2.c:254: warning: pointer targets in passing argument 1 of 'octstr_get_many_chars' differ in signedness > test/test_cimd2.c: In function 'gen_data': > test/test_cimd2.c:308: warning: pointer targets in passing argument 2 of 'octstr_append_data' differ in signedness > test/test_cimd2.c: In function 'make_timestamp': > test/test_cimd2.c:326: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness > test/test_cimd2.c: In function 'handle_login': > test/test_cimd2.c:459: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness > test/test_cimd2.c:460: warning: pointer targets in passing argument 2 of 'octstr_str_compare' differ in signedness > test/test_cimd2.c:465: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:465: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_submit': > test/test_cimd2.c:562: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:562: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:564: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:564: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_enquire': > test/test_cimd2.c:598: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:598: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:600: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:600: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_delivery_request': > test/test_cimd2.c:646: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:646: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:650: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:650: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:654: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:654: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_cancel': > test/test_cimd2.c:676: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:676: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_set': > test/test_cimd2.c:693: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:693: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:697: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:697: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'handle_get': > test/test_cimd2.c:709: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:709: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c:719: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:719: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'parse_packet': > test/test_cimd2.c:812: warning: pointer targets in passing argument 4 of 'send_error' differ in signedness > test/test_cimd2.c:812: warning: pointer targets in passing argument 5 of 'send_error' differ in signedness > test/test_cimd2.c: In function 'main_loop': > test/test_cimd2.c:942: warning: pointer targets in passing argument 1 of 'octstr_create_real' differ in signedness > test/test_cimd2.c: At top level: > test/test_cimd2.c:1004: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1005: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1006: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1007: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1008: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1009: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1010: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1011: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c:1012: warning: pointer targets in initialization differ in signedness > test/test_cimd2.c: In function 'main': > test/test_cimd2.c:1059: warning: pointer targets in assignment differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness > test/test_cimd2.c:1064: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from test/test_conn.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_conn.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_date.c:61: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_date.c:57: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_dbpool.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_dbpool.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_dict.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_dict.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_headers.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_headers.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_hmac.c:75: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_hmac.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > test/test_hmac.c: In function 'main': > test/test_hmac.c:115: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness > test/test_hmac.c:115: warning: pointer targets in passing argument 7 of 'HMAC' differ in signedness > test/test_hmac.c:124: warning: pointer targets in passing argument 1 of 'octstr_create_from_data_real' differ in signedness > In file included from ./gwlib/gwlib.h:83, > from test/test_http.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_http.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_http_server.c:68: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_http_server.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_list.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_list.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_md5.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_md5.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_mem.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_mem.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_mime.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_mime.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_mime_multipart.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_mime_multipart.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from ./gw/msg.h:69, > from test/test_msg.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from ./gw/msg.h:69, > from test/test_msg.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_octstr_dump.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_octstr_dump.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_octstr_format.c:61: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_octstr_format.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_octstr_immutables.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_octstr_immutables.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_ota.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_ota.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_pap.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_pap.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_pcre.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_pcre.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_pdu.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_pdu.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_ppg.c:77: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_ppg.c:75: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_prioqueue.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_prioqueue.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_radius_acct.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_radius_acct.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_radius_pdu.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_radius_pdu.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_regex.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_regex.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_si.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_si.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_sl.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_sl.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_smsc.c:58: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_smsc.c:58: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_store_dump.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_store_dump.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_udp.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_udp.c:65: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_urltrans.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_urltrans.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_uuid.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_uuid.c:63: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_wakeup.c:59: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/test_wakeup.c:59: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/test_xmlrpc.c:69: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/test_xmlrpc.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/timestamp.c:71: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/timestamp.c:71: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/udpfeed.c:67: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/udpfeed.c:67: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/wapproxy.c:100: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from test/wapproxy.c:92: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from test/wml_tester.c:66: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from test/wml_tester.c:66: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from checks/check_counter.c:74: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from checks/check_counter.c:74: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from checks/check_date.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from checks/check_date.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from checks/check_ipcheck.c:64: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from ./gwlib/gwlib.h:72, > from checks/check_ipcheck.c:64: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from checks/check_list.c:65: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from checks/check_list.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > In file included from ./gwlib/gwlib.h:83, > from checks/check_octstr.c:63: > ./gwlib/gwmem.h:188:1: warning: "strdup" redefined > In file included from /usr/include/string.h:423, > from checks/check_octstr.c:61: > /usr/include/bits/string2.h:1316:1: warning: this is the location of the previous definition > ------------------------------------------------------- > > Output of 'CFLAGS='-Wall -O2 -g' ./configure': > checking cvs checkout date... 20090406 > > Configuring for Kannel gateway version cvs-20090406 ... > > Running system checks ... > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for gcc option to accept ISO C99... -std=gnu99 > checking for a BSD-compatible install... /usr/bin/install -c > checking for ranlib... ranlib > checking for bison... no > checking for byacc... no > checking for flex... no > checking for lex... no > checking for ar... ar > checking for convert... /usr/bin/convert > checking for perl... /usr/bin/perl > checking for inline... inline > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... 64 > checking how to run the C preprocessor... gcc -std=gnu99 -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking size of short... 2 > checking size of int... 4 > checking size of long... 4 > checking size of long long... 8 > checking for log in -lm... yes > checking for accept in -lsocket... no > checking for inet_ntoa in -lnsl... yes > checking for inet_ntop in -lresolv... yes > checking for inet_ntop in -lbind... no > checking for pthread_exit in -lpthread... yes > checking for ANSI C header files... (cached) yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking for sys/types.h... (cached) yes > checking for unistd.h... (cached) yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking execinfo.h usability... yes > checking execinfo.h presence... yes > checking for execinfo.h... yes > checking for stdlib.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/sockio.h usability... no > checking sys/sockio.h presence... no > checking for sys/sockio.h... no > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for net/if.h... yes > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... done > checking for iconv... yes > checking for iconv declaration... > extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); > checking for gettimeofday... yes > checking for select... yes > checking for socket... yes > checking for strdup... yes > checking for getopt_long... yes > checking for localtime_r... yes > checking for gmtime_r... yes > checking for backtrace... yes > checking for srandom... yes > checking for getopt... yes > checking for gethostbyname_r... yes > checking for which type of gethostbyname_r... 6 > checking for socklen_t in <sys/socket.h>... yes > checking for getopt in <stdio.h>... no > checking for getopt in <unistd.h>... yes > checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking for regcomp... yes > > Checking for POSIX threads support ... > checking for working pthreads... yes > checking for pthread_spinlock support... yes > checking for pthread_rwlock support... yes > checking for sem_init in -lrt... yes > checking for semaphore support... yes > > Checking for libxml2 support ... > checking for xml2-config... /usr/bin/xml2-config > checking libxml version... 2.7.3 > > Configuring for PCRE support ... > checking whether to compile with PCRE support... disabled > > Configuring DocBook support ... > checking for jade... jade > checking for jadetex... jadetex > checking for pdfjadetex... pdfjadetex > checking for dvips... dvips > checking for fig2dev... fig2dev > checking for convert... /usr/bin/convert > checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl... no > checking for /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl... yes > checking for /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/print/docbook.dsl... no > checking for /usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl... no > checking for /usr/share/sgml/docbook/dsssl-stylesheets-1.79/print/docbook.dsl... yes > Documentation will be built as well. > > Configuring parameters ... > checking which malloc to use... native malloc > enabling local time > enabling cookies > enabling HTTP/1.1 keep-alive > > Configuring OpenSSL support ... > checking whether to compile with SSL support... trying /usr/lib /usr/include/openssl > checking for openssl... /usr/bin/openssl > checking for CRYPTO_lock in -lcrypto... yes > checking for SSL_library_init in -lssl... yes > checking for SSL_connect in -lssl... yes > checking openssl/x509.h usability... yes > checking openssl/x509.h presence... yes > checking for openssl/x509.h... yes > checking openssl/rsa.h usability... yes > checking openssl/rsa.h presence... yes > checking for openssl/rsa.h... yes > checking openssl/crypto.h usability... yes > checking openssl/crypto.h presence... yes > checking for openssl/crypto.h... yes > checking openssl/pem.h usability... yes > checking openssl/pem.h presence... yes > checking for openssl/pem.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/err.h usability... yes > checking openssl/err.h presence... yes > checking for openssl/err.h... yes > checking openssl/hmac.h usability... yes > checking openssl/hmac.h presence... yes > checking for openssl/hmac.h... yes > checking whether the OpenSSL library is multithread-enabled... yes > checking whether to compile with SSL support... yes > > Configuring DB support ... > checking whether to compile with MySQL support... disabled > checking whether to compile with LibSDB support... disabled > checking whether to compile with SQLite2 support... disabled > checking whether to compile with SQLite3 support... disabled > checking whether to compile with Oracle support... disabled > checking whether to compile with PostgresSQL support... disabled > > Generating output files ... > configure: creating ./config.status > config.status: creating gwlib/gw_uuid_types.h > config.status: creating Makefile > config.status: creating gw-config.h > > License information ... > +--------------------------------------------------------------------+ > | License: | > | This software is subject to the Kannel Software License, available | > | in this distribution in the file LICENSE. By continuing this | > | installation process, you are bound by the terms of this license | > | agreement. If you do not agree with the terms of this license, you | > | must abort the installation process at this point. | > | | > | The Kannel Group <http://www.kannel.org/> | > +--------------------------------------------------------------------+ > > Thank you for using Kannel. > > _______________________________________________ > devel-reports mailing list > [email protected] > http://www.kannel.org/mailman/listinfo/devel-reports > > -- Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR) Service Technique/Reseau - NOC Direction du Developpement xMS+ http://www.telemaque.fr/ [email protected] Tel : +33 4 92 90 99 84 (fax 9142) Nikos Balkanas a e'crit : > Neither did I. I tested it beforehand in Solaris. > > Nikos > ----- Original Message ----- From: "Alexander Malysh" <[email protected]> > To: <[email protected]> > Cc: <[email protected]> > Sent: Monday, April 06, 2009 2:10 PM > Subject: Re: gwmem patches > > >> this patch is a really trivial one. >> >> please try attached patch that should fix this warning. >> >> btw. I don't have such warning ;) >> > > > -------------------------------------------------------------------------------- > > > > > > > Thanks, > Alex > > Am 06.04.2009 um 12:44 schrieb Vincent CHAVANIS: > >> >> Did this patch has been tested ? >> >> >> In file included from ./gwlib/gwlib.h:83, >> from gw/msg.h:69, >> from gw/sms.h:89, >> from gw/sms.c:65: >> ./gwlib/gwmem.h:188:1: warning: "strdup" redefined >> In file included from /usr/include/string.h:423, >> from ./gwlib/gwlib.h:72, >> from gw/msg.h:69, >> from gw/sms.h:89, >> from gw/sms.c:65: >> /usr/include/bits/string2.h:1316:1: warning: this is the location of >> the previous definition >> >> >> Vincent. >> >> >> Alexander Malysh a ιcrit : >>> Hi again, >>> patch commited to cvs. >>> Thanks, >>> Alex >>> Am 06.04.2009 um 10:56 schrieb Nikos Balkanas: >>>> Hi, >>>> Here it goes. gw_calloc + gw_strdup. >>>> BR, >>>> Nikos >>>> >>>> ----- Original Message ----- >>>> *From:* Alexander Malysh <mailto:[email protected]> >>>> *To:* Andreas Fink <mailto:[email protected]> >>>> *Cc:* Nikos Balkanas >>>> <mailto:[email protected]> ; [email protected] >>>> <mailto:[email protected]> >>>> *Sent:* Monday, April 06, 2009 10:26 AM >>>> *Subject:* Re: gwmem patches >>>> >>>> Hi Nikos, >>>> >>>> we have at least one +1 so please repost your patch. >>>> >>>> Thanks, >>>> Alex >>>> >>>> Am 03.04.2009 um 17:37 schrieb Andreas Fink: >>>> >>>>> I'm +1 on gw_calloc. There's a few times I would have used it in >>>>> the past so its nice to have it in gwlib. >>>>> >>>>> I see very little optimisation of strdup except we do a strlen >>>>> twice (once explicit in the malloc line an done implicity in the >>>>> strcpy) but it is never bad to save a few microseconds.. (who >>>>> knows one might call this one a gazillion times...). so +1 for >>>>> that one too. >>>>> >>>>> >>>>> On 02.04.2009, at 23:21, Alexander Malysh wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> thanks for your patch but: >>>>>> >>>>>> 1) thread.h patch was wrong. I fixed it in CVS. >>>>>> 2) gw_strdup optimisation looks OK, please submit as extra >>>>>> patch >>>>>> 3) gw_calloc, hmm... I don't really see any advantage of this >>>>>> one. because >>>>>> x = gw_malloc(count*size); >>>>>> memset(x, 0); >>>>>> do the same. why do we need this? >>>>>> >>>>>> Thanks, >>>>>> Alex >>>>>> >>>>>> Am 02.04.2009 um 19:09 schrieb Nikos Balkanas: >>>>>> >>>>>>> Hi, >>>>>>> An assortment of small patches to make >>>>>>> check_memory_leaks work >>>>>>> better: >>>>>>> 1) Added support for gw_calloc, which is #undefed but >>>>>>> not defined >>>>>>> 2) Replaced strcpy with memcpy in gw_strdup for better >>>>>>> efficiency >>>>>>> 3) Added function prototype in thread.h for >>>>>>> mutex_make_measured >>>>>>> so that MUTEX_STATS compile correctly. >>>>>>> Please decide and vote. >>>>>>> BR, >>>>>>> Nikos<kannel.diff> >>>>>> >>>>> >>>> >>>> <kannel.diff> >> >> -- >> Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR) >> Service Technique/Reseau - NOC >> Direction du Developpement xMS+ >> http://www.telemaque.fr/ >> [email protected] >> Tel : +33 4 92 90 99 84 (fax 9142) >> >> > > > > -- Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR) Service Technique/Reseau - NOC Direction du Developpement xMS+ http://www.telemaque.fr/ [email protected] Tel : +33 4 92 90 99 84 (fax 9142)