Ticket #59977: medusa_main.log

File medusa_main.log, 430.0 KB (added by TheLastLovemark, 5 years ago)
Line 
1version:1
2:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
3:debug:sysinfo MacPorts 2.6.2
4:debug:sysinfo Xcode 10.1
5:debug:sysinfo SDK 10.13
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
7:debug:main epoch: in tree: 1 installed: 1
8:debug:main openssl 1.1.1d_0 exists in the ports tree
9:debug:main openssl 1.1.1d_0 +universal is the latest installed
10:debug:main openssl 1.1.1d_0 +universal is active
11:debug:main Merging existing variants '+universal' into variants
12:debug:main new fully merged portvariants: universal +
13:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/openssl
14:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
15:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
16:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
17:debug:main universal variant already exists, so not adding the default one
18:debug:main Executing variant universal provides universal
19:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
20:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
21:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
22:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
23:debug:main Running callback portstartupitem::add_notes
24:debug:main Finished running callback portstartupitem::add_notes
25:debug:main No need to upgrade! openssl 1.1.1d_0 >= openssl 1.1.1d_0
26:debug:main epoch: in tree: 0 installed: 0
27:debug:main zlib 1.2.11_0 exists in the ports tree
28:debug:main zlib 1.2.11_0 +universal is the latest installed
29:debug:main zlib 1.2.11_0 +universal is active
30:debug:main Merging existing variants '+universal' into variants
31:debug:main new fully merged portvariants: universal +
32:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
33:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
34:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
35:debug:main adding the default universal variant
36:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
37:debug:main Executing variant universal provides universal
38:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
39:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
40:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
41:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
42:debug:main Running callback portstartupitem::add_notes
43:debug:main Finished running callback portstartupitem::add_notes
44:debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
45:debug:main epoch: in tree: 0 installed: 0
46:debug:main libssh2 1.9.0_0 exists in the ports tree
47:debug:main libssh2 1.9.0_0 +universal is the latest installed
48:debug:main libssh2 1.9.0_0 +universal is active
49:debug:main Merging existing variants '+universal' into variants
50:debug:main new fully merged portvariants: universal +
51:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libssh2
52:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
53:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
54:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
55:debug:main universal variant already exists, so not adding the default one
56:debug:main Executing variant universal provides universal
57:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
58:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
59:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
60:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
61:debug:main Running callback portstartupitem::add_notes
62:debug:main Finished running callback portstartupitem::add_notes
63:debug:main No need to upgrade! libssh2 1.9.0_0 >= libssh2 1.9.0_0
64:debug:main epoch: in tree: 0 installed: 0
65:debug:main subversion 1.13.0_0 exists in the ports tree
66:debug:main subversion 1.13.0_0 +universal is the latest installed
67:debug:main subversion 1.13.0_0 +universal is active
68:debug:main Merging existing variants '+universal' into variants
69:debug:main new fully merged portvariants: universal +
70:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/subversion
71:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
72:debug:main adding the default universal variant
73:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
74:debug:main Executing variant universal provides universal
75:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
76:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
77:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
78:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
79:debug:main Running callback portstartupitem::add_notes
80:debug:main Finished running callback portstartupitem::add_notes
81:debug:main No need to upgrade! subversion 1.13.0_0 >= subversion 1.13.0_0
82:debug:main epoch: in tree: 0 installed: 0
83:debug:main expat 2.2.9_0 exists in the ports tree
84:debug:main expat 2.2.9_0 +universal is the latest installed
85:debug:main expat 2.2.9_0 +universal is active
86:debug:main Merging existing variants '+universal' into variants
87:debug:main new fully merged portvariants: universal +
88:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/expat
89:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
90:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
91:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
92:debug:main universal variant already exists, so not adding the default one
93:debug:main Executing variant universal provides universal
94:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
95:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
96:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
97:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
98:debug:main Running callback portstartupitem::add_notes
99:debug:main Finished running callback portstartupitem::add_notes
100:debug:main No need to upgrade! expat 2.2.9_0 >= expat 2.2.9_0
101:debug:main epoch: in tree: 0 installed: 0
102:debug:main apr 1.7.0_0 exists in the ports tree
103:debug:main apr 1.7.0_0 +universal is the latest installed
104:debug:main apr 1.7.0_0 +universal is active
105:debug:main Merging existing variants '+universal' into variants
106:debug:main new fully merged portvariants: universal +
107:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/apr
108:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
109:debug:main adding the default universal variant
110:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
111:debug:main Executing variant universal provides universal
112:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
113:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
114:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
115:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
116:debug:main Running callback portstartupitem::add_notes
117:debug:main Finished running callback portstartupitem::add_notes
118:debug:main No need to upgrade! apr 1.7.0_0 >= apr 1.7.0_0
119:debug:main epoch: in tree: 0 installed: 0
120:debug:main apr-util 1.6.1_2 exists in the ports tree
121:debug:main apr-util 1.6.1_2 +universal is the latest installed
122:debug:main apr-util 1.6.1_2 +universal is active
123:debug:main Merging existing variants '+universal' into variants
124:debug:main new fully merged portvariants: universal +
125:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/apr-util
126:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
127:debug:main adding the default universal variant
128:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
129:debug:main Executing variant universal provides universal
130:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
131:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
132:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
133:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
134:debug:main Running callback portstartupitem::add_notes
135:debug:main Finished running callback portstartupitem::add_notes
136:debug:main No need to upgrade! apr-util 1.6.1_2 >= apr-util 1.6.1_2
137:debug:main epoch: in tree: 0 installed: 0
138:debug:main libiconv 1.16_0 exists in the ports tree
139:debug:main libiconv 1.16_0 +universal is the latest installed
140:debug:main libiconv 1.16_0 +universal is active
141:debug:main Merging existing variants '+universal' into variants
142:debug:main new fully merged portvariants: universal +
143:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
144:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
145:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
146:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
147:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
148:debug:main universal variant already exists, so not adding the default one
149:debug:main Executing variant universal provides universal
150:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
151:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
152:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
153:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
154:debug:main Running callback portstartupitem::add_notes
155:debug:main Finished running callback portstartupitem::add_notes
156:debug:main No need to upgrade! libiconv 1.16_0 >= libiconv 1.16_0
157:debug:main epoch: in tree: 0 installed: 0
158:debug:main db48 4.8.30_4 exists in the ports tree
159:debug:main db48 4.8.30_4 +tcl+universal is the latest installed
160:debug:main db48 4.8.30_4 +tcl+universal is active
161:debug:main Merging existing variants '+tcl+universal' into variants
162:debug:main new fully merged portvariants: universal + tcl +
163:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/databases/db48
164:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
165:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
166:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
167:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
168:debug:main universal variant already exists, so not adding the default one
169:debug:main Executing variant universal provides universal
170:debug:main Executing variant tcl provides tcl
171:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
172:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
173:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
174:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
175:debug:main Running callback portstartupitem::add_notes
176:debug:main Finished running callback portstartupitem::add_notes
177:debug:main No need to upgrade! db48 4.8.30_4 >= db48 4.8.30_4
178:debug:main epoch: in tree: 0 installed: 0
179:debug:main tcl 8.6.10_0 exists in the ports tree
180:debug:main tcl 8.6.10_0 +corefoundation+dtrace+memdebug+threads+universal is the latest installed
181:debug:main tcl 8.6.10_0 +corefoundation+dtrace+memdebug+threads+universal is active
182:debug:main Merging existing variants '+corefoundation+dtrace+memdebug+threads+universal' into variants
183:debug:main new fully merged portvariants: corefoundation + universal + memdebug + threads + dtrace +
184:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/tcl
185:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
186:debug:main adding the default universal variant
187:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
188:debug:main Executing variant threads provides threads
189:debug:main Executing variant corefoundation provides corefoundation
190:debug:main Executing variant memdebug provides memdebug
191:debug:main Executing variant dtrace provides dtrace
192:debug:main Executing variant universal provides universal
193:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
194:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
195:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
196:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
197:debug:main Running callback portstartupitem::add_notes
198:debug:main Finished running callback portstartupitem::add_notes
199:debug:main No need to upgrade! tcl 8.6.10_0 >= tcl 8.6.10_0
200:debug:main epoch: in tree: 0 installed: 0
201:debug:main sqlite3 3.30.1_0 exists in the ports tree
202:debug:main sqlite3 3.30.1_0 +universal is the latest installed
203:debug:main sqlite3 3.30.1_0 +universal is active
204:debug:main Merging existing variants '+universal' into variants
205:debug:main new fully merged portvariants: universal +
206:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/databases/sqlite3
207:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
208:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
209:debug:main adding the default universal variant
210:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
211:debug:main Executing variant universal provides universal
212:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
213:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
214:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
215:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
216:debug:main Running callback portstartupitem::add_notes
217:debug:main Finished running callback portstartupitem::add_notes
218:debug:main No need to upgrade! sqlite3 3.30.1_0 >= sqlite3 3.30.1_0
219:debug:main epoch: in tree: 20090923 installed: 20090923
220:debug:main libedit 20191211-3.1_0 exists in the ports tree
221:debug:main libedit 20191211-3.1_0 +universal is the latest installed
222:debug:main libedit 20191211-3.1_0 +universal is active
223:debug:main Merging existing variants '+universal' into variants
224:debug:main new fully merged portvariants: universal +
225:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libedit
226:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
227:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
228:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
229:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
230:debug:main universal variant already exists, so not adding the default one
231:debug:main Executing variant universal provides universal
232:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
233:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
234:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
235:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
236:debug:main Running callback portstartupitem::add_notes
237:debug:main Finished running callback portstartupitem::add_notes
238:debug:main No need to upgrade! libedit 20191211-3.1_0 >= libedit 20191211-3.1_0
239:debug:main epoch: in tree: 0 installed: 0
240:debug:main ncurses 6.1_0 exists in the ports tree
241:debug:main ncurses 6.1_0 +universal is the latest installed
242:debug:main ncurses 6.1_0 +universal is active
243:debug:main Merging existing variants '+universal' into variants
244:debug:main new fully merged portvariants: universal +
245:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
246:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
247:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
248:debug:main adding the default universal variant
249:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
250:debug:main Executing variant universal provides universal
251:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
252:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
253:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
254:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
255:debug:main Running callback portstartupitem::add_notes
256:debug:main Finished running callback portstartupitem::add_notes
257:debug:main No need to upgrade! ncurses 6.1_0 >= ncurses 6.1_0
258:debug:main epoch: in tree: 2 installed: 2
259:debug:main gettext 0.19.8.1_2 exists in the ports tree
260:debug:main gettext 0.19.8.1_2 +universal is the latest installed
261:debug:main gettext 0.19.8.1_2 +universal is active
262:debug:main Merging existing variants '+universal' into variants
263:debug:main new fully merged portvariants: universal +
264:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
265:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
266:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
267:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
268:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
269:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
270:debug:main compiler clang 1000.11.45.5 not blacklisted because it doesn't match {clang < 211.10.1}
271:debug:main universal variant already exists, so not adding the default one
272:debug:main Executing variant universal provides universal
273:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
274:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
275:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
276:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
277:debug:main Running callback portstartupitem::add_notes
278:debug:main Finished running callback portstartupitem::add_notes
279:debug:main No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
280:debug:main epoch: in tree: 0 installed: 0
281:debug:main serf1 1.3.9_2 exists in the ports tree
282:debug:main serf1 1.3.9_2 +universal is the latest installed
283:debug:main serf1 1.3.9_2 +universal is active
284:debug:main Merging existing variants '+universal' into variants
285:debug:main new fully merged portvariants: universal +
286:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/www/serf1
287:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
288:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
289:debug:main universal variant already exists, so not adding the default one
290:debug:main Executing variant universal provides universal
291:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
292:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
293:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
294:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
295:debug:main Running callback portstartupitem::add_notes
296:debug:main Finished running callback portstartupitem::add_notes
297:debug:main No need to upgrade! serf1 1.3.9_2 >= serf1 1.3.9_2
298:debug:main epoch: in tree: 0 installed: 0
299:debug:main cyrus-sasl2 2.1.27_2 exists in the ports tree
300:debug:main cyrus-sasl2 2.1.27_2 +kerberos+universal is the latest installed
301:debug:main cyrus-sasl2 2.1.27_2 +kerberos+universal is active
302:debug:main Merging existing variants '+kerberos+universal' into variants
303:debug:main new fully merged portvariants: universal + kerberos +
304:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/security/cyrus-sasl2
305:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
306:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
307:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
308:debug:main Removing legacy build support
309:debug:main Sourcing PortGroup legacysupport 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/legacysupport-1.0.tcl
310:debug:main universal variant already exists, so not adding the default one
311:debug:main Executing variant universal provides universal
312:debug:main Executing variant kerberos provides kerberos
313:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
314:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
315:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
316:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
317:debug:main Running callback portstartupitem::add_notes
318:debug:main Finished running callback portstartupitem::add_notes
319:debug:main Running callback add_legacysupport
320:debug:main Removing legacy build support
321:debug:main Finished running callback add_legacysupport
322:debug:main No need to upgrade! cyrus-sasl2 2.1.27_2 >= cyrus-sasl2 2.1.27_2
323:debug:main epoch: in tree: 0 installed: 0
324:debug:main kerberos5 1.17.1_0 exists in the ports tree
325:debug:main kerberos5 1.17.1_0 +universal is the latest installed
326:debug:main kerberos5 1.17.1_0 +universal is active
327:debug:main Merging existing variants '+universal' into variants
328:debug:main new fully merged portvariants: universal +
329:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/kerberos5
330:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
331:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
332:debug:main compiler clang 1000.11.45.5 not blacklisted because it doesn't match {clang <= 318.0.61}
333:debug:main adding the default universal variant
334:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
335:debug:main Executing variant universal provides universal
336:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
337:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
338:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
339:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
340:debug:main Running callback portstartupitem::add_notes
341:debug:main Finished running callback portstartupitem::add_notes
342:debug:main No need to upgrade! kerberos5 1.17.1_0 >= kerberos5 1.17.1_0
343:debug:main epoch: in tree: 0 installed: 0
344:debug:main libcomerr 1.45.5_0 exists in the ports tree
345:debug:main libcomerr 1.45.5_0 +universal is the latest installed
346:debug:main libcomerr 1.45.5_0 +universal is active
347:debug:main Merging existing variants '+universal' into variants
348:debug:main new fully merged portvariants: universal +
349:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils/e2fsprogs
350:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
351:debug:main adding the default universal variant
352:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
353:debug:main Executing variant universal provides universal
354:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
355:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
356:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
357:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
358:debug:main Running callback portstartupitem::add_notes
359:debug:main Finished running callback portstartupitem::add_notes
360:debug:main No need to upgrade! libcomerr 1.45.5_0 >= libcomerr 1.45.5_0
361:debug:main epoch: in tree: 0 installed: 0
362:debug:main libmagic 5.38_0 exists in the ports tree
363:debug:main libmagic 5.38_0 +universal is the latest installed
364:debug:main libmagic 5.38_0 +universal is active
365:debug:main Merging existing variants '+universal' into variants
366:debug:main new fully merged portvariants: universal +
367:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils/file
368:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
369:debug:main adding the default universal variant
370:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
371:debug:main Executing variant universal provides universal
372:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
373:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
374:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
375:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
376:debug:main Running callback portstartupitem::add_notes
377:debug:main Finished running callback portstartupitem::add_notes
378:debug:main No need to upgrade! libmagic 5.38_0 >= libmagic 5.38_0
379:debug:main epoch: in tree: 0 installed: 0
380:debug:main libutf8proc 2.4.0_0 exists in the ports tree
381:debug:main libutf8proc 2.4.0_0 +universal is the latest installed
382:debug:main libutf8proc 2.4.0_0 +universal is active
383:debug:main Merging existing variants '+universal' into variants
384:debug:main new fully merged portvariants: universal +
385:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libutf8proc
386:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
387:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
388:debug:main Re-registering default for livecheck.regex
389:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
390:debug:main universal variant already exists, so not adding the default one
391:debug:main Executing variant universal provides universal
392:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
393:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
394:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
395:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
396:debug:main Running callback portstartupitem::add_notes
397:debug:main Finished running callback portstartupitem::add_notes
398:debug:main No need to upgrade! libutf8proc 2.4.0_0 >= libutf8proc 2.4.0_0
399:debug:main epoch: in tree: 0 installed: 0
400:debug:main lz4 1.9.2_0 exists in the ports tree
401:debug:main lz4 1.9.2_0 +universal is the latest installed
402:debug:main lz4 1.9.2_0 +universal is active
403:debug:main Merging existing variants '+universal' into variants
404:debug:main new fully merged portvariants: universal +
405:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/lz4
406:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
407:debug:main Sourcing PortGroup github 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
408:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
409:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
410:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
411:debug:main Re-registering default for livecheck.regex
412:debug:main universal variant already exists, so not adding the default one
413:debug:main Executing variant universal provides universal
414:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
415:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
416:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
417:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
418:debug:main Running callback portstartupitem::add_notes
419:debug:main Finished running callback portstartupitem::add_notes
420:debug:main No need to upgrade! lz4 1.9.2_0 >= lz4 1.9.2_0
421:debug:main epoch: in tree: 0 installed: 0
422:debug:main curl-ca-bundle 7.68.0_0 exists in the ports tree
423:debug:main curl-ca-bundle 7.68.0_0  is the latest installed
424:debug:main curl-ca-bundle 7.68.0_0  is active
425:debug:main Merging existing variants '' into variants
426:debug:main new fully merged portvariants:
427:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/curl
428:debug:main OS darwin/17.7.0 (macOS 10.13) arch i386
429:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
430:debug:main universal_variant is false, so not adding the default universal variant
431:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
432:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
433:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
434:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
435:debug:main Running callback portstartupitem::add_notes
436:debug:main Finished running callback portstartupitem::add_notes
437:debug:main No need to upgrade! curl-ca-bundle 7.68.0_0 >= curl-ca-bundle 7.68.0_0
438:msg:main --->  Computing dependencies for medusa:debug:main medusa has no conflicts
439:debug:main Searching for dependency: openssl
440:debug:main Found Dependency: receipt exists for openssl
441:debug:main Searching for dependency: libssh2
442:debug:main Found Dependency: receipt exists for libssh2
443:debug:main Searching for dependency: subversion
444:debug:main Found Dependency: receipt exists for subversion
445:debug:main Executing org.macports.main (medusa)
446:debug:main dropping privileges: euid changed to 503, egid changed to 501.
447:debug:archivefetch archivefetch phase started at Fri Jan 17 11:23:28 EST 2020
448:msg:archivefetch --->  Fetching archive for medusa
449:debug:archivefetch Executing org.macports.archivefetch (medusa)
450:debug:archivefetch euid/egid changed to: 0/0
451:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
452:debug:archivefetch euid/egid changed to: 503/501
453:info:archivefetch --->  medusa-2.1.1_2+subversion.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
454:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_17.x86_64.tbz2 from https://packages.macports.org/medusa
455:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
456:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_17.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/medusa
457:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
458:msg:archivefetch --->  Attempting to fetch medusa-2.1.1_2+subversion.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/medusa
459:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
460:debug:archivefetch Privilege de-escalation not attempted as not running as root.
461:debug:fetch fetch phase started at Fri Jan 17 11:23:28 EST 2020
462:notice:fetch --->  Fetching distfiles for medusa
463:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
464:debug:fetch dropping privileges: euid changed to 503, egid changed to 501.
465:debug:fetch Executing org.macports.fetch (medusa)
466:info:fetch --->  medusa-2.1.1.tar.gz does not exist in /opt/local/var/macports/distfiles/medusa
467:notice:fetch --->  Attempting to fetch medusa-2.1.1.tar.gz from https://distfiles.macports.org/medusa
468:debug:fetch Privilege de-escalation not attempted as not running as root.
469:debug:checksum checksum phase started at Fri Jan 17 11:23:29 EST 2020
470:notice:checksum --->  Verifying checksums for medusa
471:debug:checksum Executing org.macports.checksum (medusa)
472:info:checksum --->  Checksumming medusa-2.1.1.tar.gz
473:debug:checksum Calculated (rmd160) is 0638e4f9e1ce2df6351f98afd7ecdee10a7bbbfc
474:debug:checksum Correct (rmd160) checksum for medusa-2.1.1.tar.gz
475:debug:checksum Calculated (sha256) is c8f83f54f76f021f213007c1c83e659f30dd16de84046df2b50e3db2bb6a7ef2
476:debug:checksum Correct (sha256) checksum for medusa-2.1.1.tar.gz
477:debug:checksum Privilege de-escalation not attempted as not running as root.
478:debug:extract extract phase started at Fri Jan 17 11:23:29 EST 2020
479:notice:extract --->  Extracting medusa
480:debug:extract Executing org.macports.extract (medusa)
481:info:extract --->  Extracting medusa-2.1.1.tar.gz
482:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz'
483:debug:extract Environment:
484:debug:extract CC_PRINT_OPTIONS='YES'
485:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
486:debug:extract CPATH='/opt/local/include'
487:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
488:debug:extract LIBRARY_PATH='/opt/local/lib'
489:debug:extract MACOSX_DEPLOYMENT_TARGET='10.13'
490:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz' | /usr/bin/tar -xf -
491:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/medusa/medusa-2.1.1.tar.gz' | /usr/bin/tar -xf -
492:debug:extract euid/egid changed to: 0/0
493:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work to macports
494:debug:extract euid/egid changed to: 503/501
495:debug:extract Privilege de-escalation not attempted as not running as root.
496:debug:patch patch phase started at Fri Jan 17 11:23:30 EST 2020
497:debug:patch Executing org.macports.patch (medusa)
498:notice:patch --->  Applying patches to medusa
499:info:patch --->  Applying src_medusa.c.diff
500:debug:patch Environment:
501:debug:patch CC_PRINT_OPTIONS='YES'
502:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
503:debug:patch CPATH='/opt/local/include'
504:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
505:debug:patch LIBRARY_PATH='/opt/local/lib'
506:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
507:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/security/medusa/files/src_medusa.c.diff'
508:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/security/medusa/files/src_medusa.c.diff'
509:info:patch patching file src/medusa.c
510:debug:patch Privilege de-escalation not attempted as not running as root.
511:debug:configure configure phase started at Fri Jan 17 11:23:30 EST 2020
512:notice:configure --->  Configuring medusa
513:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
514:debug:configure Using compiler 'Xcode Clang'
515:debug:configure Executing org.macports.configure (medusa)
516:debug:configure Environment:
517:debug:configure CC='/usr/bin/clang'
518:debug:configure CC_PRINT_OPTIONS='YES'
519:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
520:debug:configure CFLAGS='-pipe -Os -arch x86_64'
521:debug:configure CPATH='/opt/local/include'
522:debug:configure CPPFLAGS='-I/opt/local/include'
523:debug:configure CXX='/usr/bin/clang++'
524:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
525:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
526:debug:configure F90FLAGS='-pipe -Os -m64'
527:debug:configure FCFLAGS='-pipe -Os -m64'
528:debug:configure FFLAGS='-pipe -Os -m64'
529:debug:configure INSTALL='/usr/bin/install -c'
530:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
531:debug:configure LIBRARY_PATH='/opt/local/lib'
532:debug:configure MACOSX_DEPLOYMENT_TARGET='10.13'
533:debug:configure OBJC='/usr/bin/clang'
534:debug:configure OBJCFLAGS='-pipe -Os -arch x86_64'
535:debug:configure OBJCXX='/usr/bin/clang++'
536:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64'
537:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && ./configure --prefix=/opt/local --enable-module-postgres=no --enable-module-svn=yes --with-subversion=/opt/local
538:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && ./configure --prefix=/opt/local --enable-module-postgres=no --enable-module-svn=yes --with-subversion=/opt/local
539:info:configure configure: WARNING: unrecognized options: --with-subversion
540:info:configure checking build system type... i686-apple-darwin17.7.0
541:info:configure checking host system type... i686-apple-darwin17.7.0
542:info:configure checking target system type... i686-apple-darwin17.7.0
543:info:configure checking for a BSD-compatible install... /usr/bin/install -c
544:info:configure checking whether build environment is sane... yes
545:info:configure checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
546:info:configure checking for gawk... gawk
547:info:configure checking whether make sets $(MAKE)... yes
548:info:configure checking for gcc... /usr/bin/clang
549:info:configure checking whether the C compiler works... yes
550:info:configure checking for C compiler default output file name... a.out
551:info:configure checking for suffix of executables...
552:info:configure checking whether we are cross compiling... no
553:info:configure checking for suffix of object files... o
554:info:configure checking whether we are using the GNU C compiler... yes
555:info:configure checking whether /usr/bin/clang accepts -g... yes
556:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
557:info:configure checking for style of include used by make... GNU
558:info:configure checking dependency style of /usr/bin/clang... gcc3
559:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
560:info:configure checking for grep that handles long lines and -e... /opt/local/bin/ggrep
561:info:configure checking for egrep... /opt/local/bin/ggrep -E
562:info:configure checking for ANSI C header files... yes
563:info:configure checking for sys/types.h... yes
564:info:configure checking for sys/stat.h... yes
565:info:configure checking for stdlib.h... yes
566:info:configure checking for string.h... yes
567:info:configure checking for memory.h... yes
568:info:configure checking for strings.h... yes
569:info:configure checking for inttypes.h... yes
570:info:configure checking for stdint.h... yes
571:info:configure checking for unistd.h... yes
572:info:configure checking size of int... 4
573:info:configure checking size of long... 8
574:info:configure checking size of long long... 8
575:info:configure checking size of short... 2
576:info:configure checking whether to enable debugging... yes
577:info:configure configure: checking for pthread support...
578:info:configure checking for main in -lpthread... yes
579:info:configure configure: checking for dlopen/dlclose...
580:info:configure checking for dlclose in -ldl... yes
581:info:configure checking for library containing clock_gettime... none required
582:info:configure checking for clock_gettime... yes
583:info:configure configure: checking for OpenSSL Library and Header files...
584:info:configure checking for CRYPTO_lock in -lcrypto... no
585:info:configure configure: WARNING:  *** LibCrypto may be required for *BSD ***
586:info:configure checking openssl/ssl.h usability... yes
587:info:configure checking openssl/ssl.h presence... yes
588:info:configure checking for openssl/ssl.h... yes
589:info:configure checking for main in -lssl... yes
590:info:configure configure: *** Checking module dependencies and enabling accordingly ***
591:info:configure configure: checking for AFPFS-NG Library and Header files...
592:info:configure checking afpfs-ng/afp_protocol.h usability... no
593:info:configure checking afpfs-ng/afp_protocol.h presence... no
594:info:configure checking for afpfs-ng/afp_protocol.h... no
595:info:configure configure: WARNING:  *** AFPFS-NG header files required for AFP module. ***
596:info:configure     The AFPFS-NG package must be installed for the AFP module to function. This includes
597:info:configure     both the library and header files. AFPFS-NG is available at the following site:
598:info:configure     http://alexthepuffin.googlepages.com/. The AFP module will NOT be built.
599:info:configure   
600:info:configure checking whether to enable AFP module... no
601:info:configure checking whether to enable CVS module... yes
602:info:configure checking whether to enable FTP module... yes
603:info:configure checking whether to enable HTTP module... yes
604:info:configure checking whether to enable IMAP module... yes
605:info:configure checking whether to enable MSSQL module... yes
606:info:configure checking whether to enable MYSQL module... yes
607:info:configure configure: checking for NCPFS Library and Header files...
608:info:configure checking ncp/nwcalls.h usability... no
609:info:configure checking ncp/nwcalls.h presence... no
610:info:configure checking for ncp/nwcalls.h... no
611:info:configure configure: WARNING:  *** NCPFS header files required for NCP module. ***
612:info:configure     The NCPFS package must be installed for the NCP module to function. This includes
613:info:configure     both the library and header files. If your distribution does not include these
614:info:configure     files or offer a ncpfs-devel package, the files can be manually installed using
615:info:configure     "make install-dev" within the NCPFS source. The NCP module will NOT be built.
616:info:configure   
617:info:configure checking whether to enable NCP module... no
618:info:configure checking whether to enable NNTP module... yes
619:info:configure checking whether to enable PCANYWHERE module... yes
620:info:configure checking whether to enable POP3 module... yes
621:info:configure configure: checking for PostgreSQL Library and Header files...
622:info:configure checking libpq-fe.h usability... no
623:info:configure checking libpq-fe.h presence... no
624:info:configure checking for libpq-fe.h... no
625:info:configure configure: WARNING:  *** LIBPQ header files required for PostgreSQL module. ***
626:info:configure       The PostgreSQL package must be installed for PostgreSQL module to function. This
627:info:configure       includes both the library and header files. Your distribution may offer a package
628:info:configure       such as libpq-devel or postgresql-devel, which will provide these files.
629:info:configure   
630:info:configure checking whether to enable POSTGRES module... no
631:info:configure checking whether to enable REXEC module... yes
632:info:configure checking whether to enable RLOGIN module... yes
633:info:configure checking whether to enable RSH module... yes
634:info:configure checking whether to enable SMBNT module... yes
635:info:configure checking whether to enable SMTP module... yes
636:info:configure checking whether to enable SMTP-VRFY module... yes
637:info:configure checking whether to enable SNMP module... yes
638:info:configure configure: checking for Libssh2 Library files...
639:info:configure checking for main in -lssh2... yes
640:info:configure checking whether to enable SSH module... yes
641:info:configure configure: checking for Subversion Library and Header files...
642:info:configure checking for apr-1-config... /opt/local/bin/apr-1-config
643:info:configure checking /opt/local/include/apr-1/apr_tables.h usability... yes
644:info:configure checking /opt/local/include/apr-1/apr_tables.h presence... yes
645:info:configure checking for /opt/local/include/apr-1/apr_tables.h... yes
646:info:configure checking subversion-1/svn_client.h usability... yes
647:info:configure checking subversion-1/svn_client.h presence... yes
648:info:configure checking for subversion-1/svn_client.h... yes
649:info:configure checking for main in -lsvn_client-1... yes
650:info:configure checking whether to enable SVN module... yes
651:info:configure checking whether to enable TELNET module... yes
652:info:configure checking whether to enable VMAUTHD module... yes
653:info:configure checking whether to enable VNC module... yes
654:info:configure checking whether to enable WRAPPER module... yes
655:info:configure checking whether to enable WEB-FORM module... yes
656:info:configure configure:
657:info:configure configure: *******************************************************
658:info:configure configure:     Medusa Module Build Summary
659:info:configure configure:
660:info:configure configure:     AFP             ** Disabled **
661:info:configure configure:     CVS             Enabled
662:info:configure configure:     FTP             Enabled
663:info:configure configure:     HTTP            Enabled
664:info:configure configure:     IMAP            Enabled
665:info:configure configure:     MSSQL           Enabled
666:info:configure configure:     MYSQL           Enabled
667:info:configure configure:     NCP             ** Disabled **
668:info:configure configure:     NNTP            Enabled
669:info:configure configure:     PCANYWHERE      Enabled
670:info:configure configure:     POP3            Enabled
671:info:configure configure:     POSTGRES        ** Disabled **
672:info:configure configure:     REXEC           Enabled
673:info:configure configure:     RLOGIN          Enabled
674:info:configure configure:     RSH             Enabled
675:info:configure configure:     SMBNT           Enabled
676:info:configure configure:     SMTP            Enabled
677:info:configure configure:     SMTP-VRFY       Enabled
678:info:configure configure:     SNMP            Enabled
679:info:configure configure:     SSH             Enabled
680:info:configure configure:     SVN             Enabled
681:info:configure configure:     TELNET          Enabled
682:info:configure configure:     VMAUTHD         Enabled
683:info:configure configure:     VNC             Enabled
684:info:configure configure:     WRAPPER         Enabled
685:info:configure configure:     WEB-FORM        Enabled
686:info:configure configure:
687:info:configure configure:  If a module is unexpectedly marked as disabled, check
688:info:configure configure:  above output and verify dependancies were satisfied.
689:info:configure configure:
690:info:configure configure:  It should also be noted that, by default, not all of
691:info:configure configure:  the modules are built. Incomplete modules or modules
692:info:configure configure:  which have not been sufficiently tested may be
693:info:configure configure:  disabled. To enable non-default modules, use the
694:info:configure configure:  "--enable-module-MODULE_NAME" configure option.
695:info:configure configure: *******************************************************
696:info:configure configure:
697:info:configure checking for strcasestr... yes
698:info:configure checking for asprintf... yes
699:info:configure checking for vasprintf... yes
700:info:configure configure: creating ./config.status
701:info:configure config.status: creating Makefile
702:info:configure config.status: creating src/Makefile
703:info:configure config.status: creating src/modsrc/Makefile
704:info:configure config.status: creating config.h
705:info:configure config.status: executing depfiles commands
706:info:configure configure: WARNING: unrecognized options: --with-subversion
707:debug:configure Privilege de-escalation not attempted as not running as root.
708:debug:build build phase started at Fri Jan 17 11:23:40 EST 2020
709:notice:build --->  Building medusa
710:debug:build Executing org.macports.build (medusa)
711:debug:build Environment:
712:debug:build CC_PRINT_OPTIONS='YES'
713:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/.CC_PRINT_OPTIONS'
714:debug:build CPATH='/opt/local/include'
715:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
716:debug:build LIBRARY_PATH='/opt/local/lib'
717:debug:build MACOSX_DEPLOYMENT_TARGET='10.13'
718:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j4 -w all
719:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j4 -w all
720:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
721:info:build /Library/Developer/CommandLineTools/usr/bin/make  all-recursive
722:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
723:info:build Making all in src
724:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src'
725:info:build Making all in modsrc
726:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src/modsrc'
727:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT cvs.o -MD -MP -MF .deps/cvs.Tpo -c -o cvs.o cvs.c
728:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT medusa-trace.o -MD -MP -MF .deps/medusa-trace.Tpo -c -o medusa-trace.o `test -f '../medusa-trace.c' || echo './'`../medusa-trace.c
729:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT ftp.o -MD -MP -MF .deps/ftp.Tpo -c -o ftp.o ftp.c
730:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c
731:info:build cvs.c:84:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
732:info:build ftp.c:92:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
733:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
734:info:build     ^
735:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
736:info:build     ^
737:info:build http.c:106:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
738:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
739:info:build     ^
740:info:build http.c:113:3: cvs.c:warning92: :3: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]warning
741:info:build : implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
742:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);  writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
743:info:build   ^
744:info:build   ^
745:info:build ftp.c:99:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
746:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
747:info:build   ^
748:info:build http.ccvs.c::136114::5: 5warning: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
749:info:build : implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
750:info:build ftp.c    writeError(ERR_ERROR, "%s: Incorrect number of parameters passed to module.", MODULE_NAME);
751:info:build     ^
752:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
753:info:build     ^
754:info:build cvs.chttp.c:142::5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
755:info:build 118:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]    writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
756:info:build     ^
757:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
758:info:build     ^
759:info:build :143:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
760:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
761:info:build     ^
762:info:build ftp.c:147:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
763:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
764:info:build     ^
765:info:build cvs.c:111:20: warning: ftp.c:140http.c:result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]133
766:info:build ::21: warning: result of comparison of constant 2 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
767:info:build   if ( !(0 <= argc <= 3) )
768:info:build          ~~~~~~~~~ ^  ~
769:info:build   if ( !( 0 <= argc <= 2) )
770:info:build           ~~~~~~~~~ ^  ~
771:info:build 20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
772:info:build   if ( !(0 <= argc <= 3) )
773:info:build          ~~~~~~~~~ ^  ~
774:info:build cvs.c:165:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
775:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
776:info:build       ^
777:info:build cvs.c:167:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
778:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
779:info:build     ^
780:info:build cvs.c:172:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
781:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
782:info:build     ^
783:info:build cvs.c:176:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
784:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
785:info:build     ^
786:info:build http.c:239:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
787:info:build   if (getNextCredSet(_psLogin, psCredSet) == FAILURE)
788:info:build       ^
789:info:build cvs.c:197:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
790:info:build http.c:241:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
791:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set directory name: %s", MODULE_NAME, _psSessionData->szDir);
792:info:build   ^
793:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
794:info:build     ^
795:info:build http.c:246:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
796:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, _psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
797:info:build     ^
798:info:build http.c:250:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
799:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME, _psLogin->psServer->pHostIP);
800:info:build     ^
801:info:build http.c:301:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
802:info:build         writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, _psLogin->psServer->pHostIP);
803:info:build         ^
804:info:build http.c:328:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
805:info:build           writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
806:info:build           ^
807:info:build http.c:335:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
808:info:build             writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
809:info:build             ^
810:info:build http.c:340:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
811:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
812:info:build             ^
813:info:build http.c:344:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
814:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
815:info:build             ^
816:info:build http.c:356:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
817:info:build       writeError(ERR_CRITICAL, "Unknown HTTP module state (%d). Exiting...", nState);
818:info:build       ^
819:info:build ftp.c:198:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
820:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
821:info:build       ^
822:info:build ftp.c:200:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
823:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
824:info:build     ^
825:info:build ftp.c:205:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
826:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
827:info:build     ^
828:info:build ftp.c:209:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
829:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
830:info:build     ^
831:info:build cvs.c:308:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
832:info:build     writeError(ERR_ERROR, "[%s] Password must be limited to 92 or less characters.", MODULE_NAME);
833:info:build     ^
834:info:build ftp.c:249:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
835:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, _psSessionData->params->nPort, psLogin->psServer->pHostIP);
836:info:build           ^
837:info:build ftp.c:265:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
838:info:build cvs.c:326:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
839:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
840:info:build     ^
841:info:build cvs.c:337:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
842:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt successful.", MODULE_NAME);
843:info:build     ^
844:info:build cvs.c:343:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
845:info:build     writeError(ERR_ERROR, "[%s] User (%s) does not exist.", MODULE_NAME, szLogin);
846:info:build     ^
847:info:build cvs.c:349:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
848:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
849:info:build     ^
850:info:build cvs.c:355:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
851:info:build     writeError(ERR_ERROR, "[%s] Unknown Error Message: %s", MODULE_NAME, bufReceive);
852:info:build     ^
853:info:build cvs.c:360:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
854:info:build   setPassResult((*psLogin), szPassword);
855:info:build   ^
856:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Retrieving FTP banner.", MODULE_NAME);
857:info:build         ^
858:info:build http.c:382:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
859:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\n\r\n",
860:info:build           ^~~~~~~
861:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
862:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
863:info:build                            ^~~
864:info:build http.c:385:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
865:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial non-authentication request: %s", MODULE_NAME, bufSend);
866:info:build   ^
867:info:build http.c:386:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
868:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
869:info:build                           ^~~~~~~
870:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
871:info:build extern int medusaSend(int socket, char *buf, int size, int options);
872:info:build                                         ^
873:info:build http.c:402:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
874:info:build   if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic")))
875:info:build                   ^~~~~~~~~~
876:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
877:info:build char    *strcasestr(const char *__big, const char *__little);
878:info:build                                 ^
879:info:build http.c:402:74: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
880:info:build   if ((strcasestr(bufReceive, "WWW-Authenticate: Basic")) || (strcasestr(bufReceive, "WWW-Authenticate:Basic")))
881:info:build                                                                          ^~~~~~~~~~
882:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
883:info:build char    *strcasestr(const char *__big, const char *__little);
884:info:build                                 ^
885:info:build http.c:407:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
886:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM")))
887:info:build                        ^~~~~~~~~~
888:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
889:info:build char    *strcasestr(const char *__big, const char *__little);
890:info:build                                 ^
891:info:build http.c:407:78: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
892:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: NTLM")) || (strcasestr(bufReceive, "WWW-Authenticate:NTLM")))
893:info:build                                                                              ^~~~~~~~~~
894:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
895:info:build char    *strcasestr(const char *__big, const char *__little);
896:info:build                                 ^
897:info:build http.c:412:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
898:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest"))
899:info:build                        ^~~~~~~~~~
900:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
901:info:build char    *strcasestr(const char *__big, const char *__little);
902:info:build                                 ^
903:info:build http.c:412:79: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
904:info:build   else if ((strcasestr(bufReceive, "WWW-Authenticate: Digest")) || strcasestr(bufReceive, "WWW-Authenticate:Digest"))
905:info:build                                                                               ^~~~~~~~~~
906:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
907:info:build char    *strcasestr(const char *__big, const char *__little);
908:info:build                                 ^
909:info:build http.c:417:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
910:info:build   else if (strcasestr(bufReceive, "WWW-Authenticate:"))
911:info:build                       ^~~~~~~~~~
912:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
913:info:build char    *strcasestr(const char *__big, const char *__little);
914:info:build                                 ^
915:info:build http.c:445:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
916:info:build     sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin);
917:info:build             ^~~~~~~~~~~~~
918:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
919:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
920:info:build                            ^~~
921:info:build http.c:448:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
922:info:build     szLoginDomain = szLogin;
923:info:build                   ^ ~~~~~~~
924:info:build http.c:450:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
925:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Base64 encoding: %s:%s", MODULE_NAME, szLoginDomain, szPassword);
926:info:build   ^
927:info:build http.c:451:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
928:info:build   szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword);
929:info:build                                               ^~~~~~~~~~~~~
930:info:build ./../medusa-utils.h:31:54: note: passing argument to parameter 'user' here
931:info:build extern char *basic_authentication_encode(const char *user, const char *passwd);
932:info:build                                                      ^
933:info:build http.c:451:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
934:info:build   szEncodedAuth = basic_authentication_encode(szLoginDomain, szPassword);
935:info:build                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
936:info:build http.c:458:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
937:info:build                     14 + strlen(_psSessionData->szUserAgent) + 23 + strlen(szEncodedAuth) + 4;
938:info:build                                                                            ^~~~~~~~~~~~~
939:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
940:info:build size_t   strlen(const char *__s);
941:info:build                             ^
942:info:build http.c:463:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
943:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: Basic %s\r\n\r\n",
944:info:build           ^~~~~~~
945:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
946:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
947:info:build                            ^~~
948:info:build http.c:466:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
949:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
950:info:build                           ^~~~~~~
951:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
952:info:build extern int medusaSend(int socket, char *buf, int size, int options);
953:info:build                                         ^
954:info:build ftp.c:277:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
955:info:build         if (strncmp(bufReceive, "220", 3) == 0)
956:info:build                     ^~~~~~~~~~
957:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
958:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
959:info:build                              ^
960:info:build ftp.c:282:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
961:info:build         else if (strncmp(bufReceive, "421", 3) == 0)
962:info:build                          ^~~~~~~~~~
963:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
964:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
965:info:build                              ^
966:info:build ftp.c:312:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
967:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
968:info:build              ^
969:info:build http.c:496:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
970:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
971:info:build                                                        ^~~~~~~~~~
972:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
973:info:build extern int base64_encode(const char *str, int length, char *b64store);
974:info:build                                                             ^
975:info:build http.c:497:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
976:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial challenge (B64 Encoded): %s", MODULE_NAME, szTmpBuf64);
977:info:build   ^
978:info:build http.c:500:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
979:info:build                     14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 28;
980:info:build                                                                            ^~~~~~~~~~
981:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
982:info:build size_t   strlen(const char *__s);
983:info:build                             ^
984:info:build http.c:505:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
985:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: NTLM %s\r\nConnection: keep-alive\r\n\r\n",
986:info:build           ^~~~~~~
987:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
988:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
989:info:build                            ^~~
990:info:build http.c:508:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
991:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
992:info:build                           ^~~~~~~
993:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
994:info:build extern int medusaSend(int socket, char *buf, int size, int options);
995:info:build                                         ^
996:info:build http.c:532:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
997:info:build   szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM ");
998:info:build                                   ^~~~~~~~~~
999:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1000:info:build char    *strcasestr(const char *__big, const char *__little);
1001:info:build                                 ^
1002:info:build http.c:532:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1003:info:build   szTmpBuf64 = (char *)strcasestr(bufReceive, "WWW-Authenticate: NTLM ");
1004:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1005:info:build ftp.c:379:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1006:info:build http.c:539:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1007:info:build   writeError(ERR_NOTICE, "[%s] Establishing Explicit FTPS (FTP/SSL) session.", MODULE_NAME);
1008:info:build   ^
1009:info:build   szTmpBuf = ((char*)index(szTmpBuf64, '\r'));
1010:info:build                            ^~~~~~~~~~
1011:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1012:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1013:info:build                            ^
1014:info:build http.c:539:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1015:info:build   szTmpBuf = ((char*)index(szTmpBuf64, '\r'));
1016:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1017:info:build http.c:543:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1018:info:build   base64_decode(szTmpBuf64 + 23, (char *)&sTmpChall);
1019:info:build                 ^~~~~~~~~~~~~~~
1020:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
1021:info:build extern int base64_decode(const char *base64, char *to);
1022:info:build                                      ^
1023:info:build ftp.c:382:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1024:info:build   sprintf(bufSend, "AUTH TLS\r\n");
1025:info:build           ^~~~~~~
1026:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1027:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1028:info:build                            ^~~
1029:info:build ftp.c:383:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1030:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1031:info:build                                           ^~~~~~~
1032:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1033:info:build size_t   strlen(const char *__s);
1034:info:build                             ^
1035:info:build ftp.c:383:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1036:info:build http.c:554:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1037:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
1038:info:build                                                          ^~~~~~~~~~
1039:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1040:info:build extern int base64_encode(const char *str, int length, char *b64store);
1041:info:build                                                             ^
1042:info:build http.c:558:  if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1043:info:build                     14 + strlen(_psSessionData->szUserAgent) + 22 + strlen(szTmpBuf64) + 23;
1044:info:build                                                                            ^~~~~~~~~~
1045:info:build /usr/include/string.h:82:
1046:info:build 28: note: passing argument to parameter '__s' here
1047:info:build size_t   strlen(const char *__s);
1048:info:build                             ^
1049:info:build http.c:563:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1050:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: NTLM %s\r\nConnection: close\r\n\r\n",
1051:info:build           ^~~~~~~
1052:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1053:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1054:info:build                            ^~~
1055:info:build http.c:566:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1056:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1057:info:build                           ^~~~~~~
1058:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1059:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1060:info:build                                         ^
1061:info:build                           ^~~~~~~
1062:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1063:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1064:info:build                                         ^
1065:info:build ftp.c:398:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1066:info:build   if (strncmp(bufReceive, "234 ", 4) == 0)
1067:info:build               ^~~~~~~~~~
1068:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1069:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1070:info:build                              ^
1071:info:build ftp.c:426:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1072:info:build   sprintf(bufSend, "USER %.250s\r\n", szLogin);
1073:info:build           ^~~~~~~
1074:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1075:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1076:info:build                            ^~~
1077:info:build ftp.c:428:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1078:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1079:info:build                                           ^~~~~~~
1080:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1081:info:build size_t   strlen(const char *__s);
1082:info:build                             ^
1083:info:build ftp.c:428:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1084:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1085:info:build                           ^~~~~~~
1086:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1087:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1088:info:build                                         ^
1089:info:build ftp.c:430:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1090:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1091:info:build     ^
1092:info:build ftp.c:436:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1093:info:build     writeError(ERR_ERROR, "[%s] failed: Server sent unknown or no response. Server may have dropped connection due to lack of encryption or due to anti-bruteforce measures. Enabling EXPLICIT mode may help with the former cause and increasing the socket check delay (e.g. -c 1000) may help with the later.", MODULE_NAME);
1094:info:build     ^
1095:info:build ftp.c:441:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1096:info:build   if ( (strstr(bufReceive, "530 Non-anonymous sessions must use encryption.") != NULL) ||
1097:info:build                ^~~~~~~~~~
1098:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1099:info:build char    *strstr(const char *__big, const char *__little);
1100:info:build                             ^
1101:info:build ftp.c:442:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1102:info:build        (strstr(bufReceive, "331 Non-anonymous sessions must use encryption.") != NULL) ||
1103:info:build                ^~~~~~~~~~
1104:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1105:info:build char    *strstr(const char *__big, const char *__little);
1106:info:build                             ^
1107:info:build ftp.c:443:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1108:info:build        (strstr(bufReceive, "331 Rejected--secure connection required") != NULL) )
1109:info:build                ^~~~~~~~~~
1110:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1111:info:build char    *strstr(const char *__big, const char *__little);
1112:info:build                             ^
1113:info:build ftp.c:445http.c::5620:: 3warning::  implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]warning
1114:info:build : implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1115:info:build     writeError(ERR_NOTICE, "[%s] FTP server (%s) appears to require SSL for specified user.", MODULE_NAME, (*psLogin)->psServer->pHostIP);
1116:info:build     ^
1117:info:build ftp.c:449:10: warning:   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial request for digest authentication.", MODULE_NAME);
1118:info:build   ^
1119:info:build implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1120:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
1121:info:build          ^
1122:info:build http.c:628:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1123:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nConnection: keep-alive\r\n\r\n",
1124:info:build           ^~~~~~~
1125:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1126:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1127:info:build                            ^~~
1128:info:build ftp.c:464:13:http.c :warning631: :passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]27
1129:info:build : warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1130:info:build     sprintf(bufSend, "USER %.250s\r\n", szLogin);
1131:info:build             ^~~~~~~
1132:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1133:info:build /usr/include/secure/_stdio.h                          ^~~~~~~:
1134:info:build 47:28: ../../src/medusa-net.hnote:: 86expanded from macro 'sprintf':
1135:info:build 41: note: passing argument to parameter 'buf' here
1136:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1137:info:build                            ^~~
1138:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1139:info:build                                         ^
1140:info:build ftp.c:466:45: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1141:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1142:info:build                                             ^~~~~~~
1143:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1144:info:build http.c:640:14size_t   strlen(const char *__s);:
1145:info:build                              ^
1146:info:build warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1147:info:build ftp.c:466:29: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1148:info:build   bufReceive = medusaReceiveLine(hSocket, &nReceiveBufferSize);
1149:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1150:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1151:info:build                             ^~~~~~~
1152:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1153:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1154:info:build                                         ^
1155:info:build ftp.c:481:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1156:info:build http.c:655:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1157:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
1158:info:build                                   ^~~~~~~~~~
1159:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1160:info:build char    *strcasestr(const char *__big, const char *__little);
1161:info:build                                 ^
1162:info:build http.c:655:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1163:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
1164:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1165:info:build http.c:655:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1166:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
1167:info:build        ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1168:info:build   if (strncmp(bufReceive, "530 ", 4) == 0)
1169:info:build               ^~~~~~~~~~
1170:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1171:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1172:info:build                              ^
1173:info:build ftp.c:483:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1174:info:build     writeError(ERR_ERROR, "[%s] Server sent 530 response (rejected username).", MODULE_NAME);
1175:info:build     ^
1176:info:build ftp.c:488:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1177:info:build   else if (strncmp(bufReceive, "421 ", 4) == 0)
1178:info:build                    ^~~~~~~~~~
1179:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1180:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1181:info:build                              ^
1182:info:build ftp.c:490:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1183:info:build     writeError(ERR_ERROR, "[%s] Server sent 421 response (too many connections).", MODULE_NAME);
1184:info:build     ^
1185:info:build ftp.c:495:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1186:info:build   else if (strncmp(bufReceive, "331 ", 4) != 0)
1187:info:build                    ^~~~~~~~~~
1188:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
1189:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
1190:info:build                              ^
1191:info:build ftp.c:497:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1192:info:build     writeError(ERR_ERROR, "[%s] failed: Server did not respond with a '331'.", MODULE_NAME);
1193:info:build     ^
1194:info:build ftp.c:506:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1195:info:build   sprintf(bufSend, "PASS %.250s\r\n", szPassword);
1196:info:build           ^~~~~~~
1197:info:build http.c:655:14: note: place parentheses around the assignment to silence this warning
1198:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
1199:info:build              ^
1200:info:build        (                                                                  )
1201:info:build http.c:655:14: note: use '==' to turn this assignment into an equality comparison
1202:info:build   if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate: Digest ") )
1203:info:build              ^
1204:info:build              ==
1205:info:build http.c:659:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1206:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
1207:info:build                                        ^~~~~~~~~~
1208:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1209:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1210:info:build char    *strcasestr(const char *__big, const char *__little);
1211:info:build                                 ^
1212:info:build http.c:659:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1213:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
1214:info:build                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1215:info:build http.c:659:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1216:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
1217:info:build             ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1218:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1219:info:build                            ^~~
1220:info:build ftp.c:508:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1221:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1222:info:build                                           ^~~~~~~
1223:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1224:info:build size_t   strlen(const char *__s);
1225:info:build                             ^
1226:info:build ftp.c:508:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1227:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1228:info:build                           ^~~~~~~
1229:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1230:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1231:info:build                                         ^
1232:info:build ftp.c:510:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1233:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1234:info:build     ^
1235:info:build ftp.c:516:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1236:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
1237:info:build     ^
1238:info:build ftp.c:522:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1239:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
1240:info:build     ^
1241:info:build ftp.c:528:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1242:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed.", MODULE_NAME);
1243:info:build     ^
1244:info:build ftp.c:535:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1245:info:build   setPassResult((*psLogin), szPassword);
1246:info:build   ^
1247:info:build http.c:659:19: note: place parentheses around the assignment to silence this warning
1248:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
1249:info:build                   ^
1250:info:build             (                                                                 )
1251:info:build http.c:659:19: note: use '==' to turn this assignment into an equality comparison
1252:info:build   else if ( szTmp = (char *)strcasestr(bufReceive, "WWW-Authenticate:Digest ") )
1253:info:build                   ^
1254:info:build                   ==
1255:info:build http.c:668:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1256:info:build   szTmp1 = ((char*)index(szTmp, '\r'));
1257:info:build                          ^~~~~
1258:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1259:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1260:info:build                            ^
1261:info:build http.c:668:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1262:info:build   szTmp1 = ((char*)index(szTmp, '\r'));
1263:info:build          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1264:info:build http.c:672:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1265:info:build   strncpy(szAuthenticate, szTmp, szTmp1 - szTmp);
1266:info:build           ^~~~~~~~~~~~~~
1267:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
1268:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1269:info:build                                          ^~~~
1270:info:build http.c:672:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1271:info:build   strncpy(szAuthenticate, szTmp, szTmp1 - szTmp);
1272:info:build                           ^~~~~
1273:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1274:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1275:info:build                                                ^~~~~~~~~~~
1276:info:build http.c:680:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1277:info:build   if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") )
1278:info:build                   ^~~~~~~~~~~~~~
1279:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1280:info:build char    *strcasestr(const char *__big, const char *__little);
1281:info:build                                 ^
1282:info:build http.c:680:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1283:info:build   if ( strcasestr(szAuthenticate, "algorithm=MD5-sess") || strcasestr(szAuthenticate, "algorithm=\"MD5-sess\"") )
1284:info:build                                                                       ^~~~~~~~~~~~~~
1285:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1286:info:build char    *strcasestr(const char *__big, const char *__little);
1287:info:build                                 ^
1288:info:build http.c:687:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1289:info:build   else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\""))
1290:info:build                        ^~~~~~~~~~~~~~
1291:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1292:info:build char    *strcasestr(const char *__big, const char *__little);
1293:info:build                                 ^
1294:info:build http.c:687:71: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1295:info:build   else if ( strcasestr(szAuthenticate, "algorithm=MD5") || strcasestr(szAuthenticate, "algorithm=\"MD5\""))
1296:info:build                                                                       ^~~~~~~~~~~~~~
1297:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1298:info:build char    *strcasestr(const char *__big, const char *__little);
1299:info:build                                 ^
1300:info:build http.c:694:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1301:info:build   else if ( strcasestr(szAuthenticate, "algorithm=") )
1302:info:build                        ^~~~~~~~~~~~~~
1303:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1304:info:build char    *strcasestr(const char *__big, const char *__little);
1305:info:build                                 ^
1306:info:build http.c:708:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1307:info:build   szTmp = (char *)strcasestr(szAuthenticate, "realm=\"");
1308:info:build                              ^~~~~~~~~~~~~~
1309:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1310:info:build char    *strcasestr(const char *__big, const char *__little);
1311:info:build                                 ^
1312:info:build http.c:708:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1313:info:build   szTmp = (char *)strcasestr(szAuthenticate, "realm=\"");
1314:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1315:info:build http.c:712:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1316:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1317:info:build                            ^~~~~
1318:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1319:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1320:info:build                            ^
1321:info:build http.c:712:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1322:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1323:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1324:info:build http.c:716:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1325:info:build     strncpy(szRealm, szTmp, szTmp1 - szTmp);
1326:info:build                      ^~~~~
1327:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1328:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1329:info:build                                                ^~~~~~~~~~~
1330:info:build http.c:727:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1331:info:build   szTmp = (char *)strcasestr(szAuthenticate, "nonce=\"");
1332:info:build                              ^~~~~~~~~~~~~~
1333:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1334:info:build char    *strcasestr(const char *__big, const char *__little);
1335:info:build                                 ^
1336:info:build http.c:727:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1337:info:build   szTmp = (char *)strcasestr(szAuthenticate, "nonce=\"");
1338:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1339:info:build http.c:731:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1340:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1341:info:build                            ^~~~~
1342:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1343:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1344:info:build                            ^
1345:info:build http.c:731:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1346:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1347:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1348:info:build http.c:735:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1349:info:build     strncpy(szNonce, szTmp, szTmp1 - szTmp);
1350:info:build                      ^~~~~
1351:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1352:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1353:info:build                                                ^~~~~~~~~~~
1354:info:build http.c:746:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1355:info:build   szTmp = (char *)strcasestr(szAuthenticate, "qop=\"");
1356:info:build                              ^~~~~~~~~~~~~~
1357:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1358:info:build char    *strcasestr(const char *__big, const char *__little);
1359:info:build                                 ^
1360:info:build http.c:746:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1361:info:build   szTmp = (char *)strcasestr(szAuthenticate, "qop=\"");
1362:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1363:info:build http.c:750:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1364:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1365:info:build                            ^~~~~
1366:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1367:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1368:info:build                            ^
1369:info:build http.c:750:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1370:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1371:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1372:info:build http.c:754:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1373:info:build     strncpy(szQop, szTmp, szTmp1 - szTmp);
1374:info:build                    ^~~~~
1375:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1376:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1377:info:build                                                ^~~~~~~~~~~
1378:info:build http.c:764:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1379:info:build   szTmp = (char *)strcasestr(szAuthenticate, "opaque=\"");
1380:info:build                              ^~~~~~~~~~~~~~
1381:info:build /usr/include/string.h:160:30: note: passing argument to parameter '__big' here
1382:info:build char    *strcasestr(const char *__big, const char *__little);
1383:info:build                                 ^
1384:info:build http.c:764:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1385:info:build   szTmp = (char *)strcasestr(szAuthenticate, "opaque=\"");
1386:info:build         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1387:info:build http.c:768:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1388:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1389:info:build                            ^~~~~
1390:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1391:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1392:info:build                            ^
1393:info:build http.c:768:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1394:info:build     szTmp1 = ((char*)index(szTmp, '"'));
1395:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
1396:info:build http.c:772:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1397:info:build     strncpy(szOpaque, szTmp, szTmp1 - szTmp);
1398:info:build                       ^~~~~
1399:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
1400:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
1401:info:build                                                ^~~~~~~~~~~
1402:info:build http.c:832:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1403:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", qop=%s, nc=00000001, cnonce=\"%s\", opaque=\"%s\"",
1404:info:build             ^~~~~~~~~~~~~~~
1405:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1406:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1407:info:build                            ^~~
1408:info:build http.c:835:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1409:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", qop=%s, nc=00000001, cnonce=\"%s\"",
1410:info:build             ^~~~~~~~~~~~~~~
1411:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1412:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1413:info:build                            ^~~
1414:info:build http.c:838:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1415:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\", opaque=\"%s\"",
1416:info:build             ^~~~~~~~~~~~~~~
1417:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1418:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1419:info:build                            ^~~
1420:info:build http.c:841:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1421:info:build     sprintf(szAuthorization, "Digest username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", algorithm=%s, response=\"%s\"",
1422:info:build             ^~~~~~~~~~~~~~~
1423:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1424:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1425:info:build                            ^~~
1426:info:build http.c:852:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1427:info:build                     14 + strlen(_psSessionData->szUserAgent) + 17 + strlen(szAuthorization) + 28;
1428:info:build                                                                            ^~~~~~~~~~~~~~~
1429:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1430:info:build size_t   strlen(const char *__s);
1431:info:build                             ^
1432:info:build http.c:857:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1433:info:build   sprintf(bufSend, "GET /%s HTTP/1.1\r\nHost: %s\r\nUser-Agent: %s\r\nAuthorization: %s\r\nConnection: keep-alive\r\n\r\n",
1434:info:build           ^~~~~~~
1435:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1436:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1437:info:build                            ^~~
1438:info:build http.c:860:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1439:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1440:info:build                           ^~~~~~~
1441:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1442:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1443:info:build                                         ^
1444:info:build http.c:868:1: warning: control may reach end of non-void function [-Wreturn-type]
1445:info:build }
1446:info:build ^
1447:info:build http.c:880:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1448:info:build       writeError(ERR_DEBUG_MODULE, "[%s] No authentication required.", MODULE_NAME);
1449:info:build       ^
1450:info:build http.c:882:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1451:info:build       setPassResult(*login, szPassword);
1452:info:build       ^
1453:info:build http.c:903:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1454:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
1455:info:build     ^
1456:info:build http.c:905:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1457:info:build     setPassResult(*login, szPassword);
1458:info:build     ^
1459:info:build http.c:909:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1460:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
1461:info:build   ^
1462:info:build http.c:917:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1463:info:build   pTemp = strstr(pReceiveBuffer, "HTTP/1.");
1464:info:build                  ^~~~~~~~~~~~~~
1465:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1466:info:build char    *strstr(const char *__big, const char *__little);
1467:info:build                             ^
1468:info:build http.c:965:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1469:info:build   setPassResult(*login, szPassword);
1470:info:build   ^
1471:info:build mv -f .deps/medusa-trace.Tpo .deps/medusa-trace.Po
1472:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT ntlm.o -MD -MP -MF .deps/ntlm.Tpo -c -o ntlm.o ntlm.c
1473:info:build 17 warnings generated.
1474:info:build mv -f .deps/cvs.Tpo .deps/cvs.Po
1475:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT http-digest.o -MD -MP -MF .deps/http-digest.Tpo -c -o http-digest.o http-digest.c
1476:info:build 46 warnings generated.
1477:info:build mv -f .deps/ftp.Tpo .deps/ftp.Po
1478:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c
1479:info:build http-digest.c:57:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1480:info:build       MD5_Final(HA1, &Md5Ctx);
1481:info:build                 ^~~
1482:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
1483:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
1484:info:build                              ^
1485:info:build http-digest.c:66:23: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1486:info:build             MD5_Final(HA1, &Md5Ctx);
1487:info:build                       ^~~
1488:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
1489:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
1490:info:build                              ^
1491:info:build http-digest.c:98:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1492:info:build       MD5_Final(HA2, &Md5Ctx);
1493:info:build                 ^~~
1494:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
1495:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
1496:info:build                              ^
1497:info:build http-digest.c:117:17: warning: passing 'HASH' (aka 'char [16]') to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1498:info:build       MD5_Final(RespHash, &Md5Ctx);
1499:info:build                 ^~~~~~~~
1500:info:build /opt/local/include/openssl/md5.h:42:30: note: passing argument to parameter 'md' here
1501:info:build int MD5_Final(unsigned char *md, MD5_CTX *c);
1502:info:build                              ^
1503:info:build 4 warnings generated.
1504:info:build mv -f .deps/http-digest.Tpo .deps/http-digest.Po
1505:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT mssql.o -MD -MP -MF .deps/mssql.Tpo -c -o mssql.o mssql.c
1506:info:build imap.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1507:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1508:info:build     ^
1509:info:build imap.c:109:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1510:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1511:info:build   ^
1512:info:build imap.c:146:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1513:info:build     writeError(ERR_ERROR, "%s: Incorrect number of parameters passed to module.", MODULE_NAME);
1514:info:build     ^
1515:info:build imap.c:152:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1516:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1517:info:build     ^
1518:info:build imap.c:143:20: warning: result of comparison of constant 2 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1519:info:build   if ( !(0 <= argc <= 2) )
1520:info:build          ~~~~~~~~~ ^  ~
1521:info:build imap.c:232:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1522:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1523:info:build       ^
1524:info:build imap.c:234:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1525:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1526:info:build     ^
1527:info:build imap.c:239:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1528:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1529:info:build     ^
1530:info:build imap.c:243:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1531:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1532:info:build     ^
1533:info:build imap.c:282:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1534:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
1535:info:build           ^
1536:info:build imap.c:293:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1537:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
1538:info:build         ^
1539:info:build imap.c:301:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1540:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
1541:info:build              ^
1542:info:build imap.c:371:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1543:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve IMAP server banner. Exiting...", MODULE_NAME);
1544:info:build     ^
1545:info:build imap.c:374:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1546:info:build   else if ((strstr(bufReceive,"* OK ") != NULL))
1547:info:build                    ^~~~~~~~~~
1548:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1549:info:build char    *strstr(const char *__big, const char *__little);
1550:info:build                             ^
1551:info:build imap.c:376:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1552:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Received IMAP server banner: %s", MODULE_NAME, bufReceive);
1553:info:build     ^
1554:info:build imap.c:379:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1555:info:build   else if ((strstr(bufReceive,"* BYE Connection refused") != NULL))
1556:info:build                    ^~~~~~~~~~
1557:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1558:info:build char    *strstr(const char *__big, const char *__little);
1559:info:build                             ^
1560:info:build imap.c:381:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1561:info:build     writeError(ERR_ERROR, "[%s] IMAP server refused connection. Is SSL required?", MODULE_NAME);
1562:info:build     ^
1563:info:build imap.c:387:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1564:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve IMAP server banner.", MODULE_NAME);
1565:info:build     ^
1566:info:build imap.c:393:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1567:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending IMAP CAPABILITIES request.", MODULE_NAME);
1568:info:build   ^
1569:info:build imap.c:397:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1570:info:build   sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag);
1571:info:build           ^~~~~~~
1572:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1573:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1574:info:build                            ^~~
1575:info:build imap.c:399:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1576:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1577:info:build                                           ^~~~~~~
1578:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1579:info:build size_t   strlen(const char *__s);
1580:info:build                             ^
1581:info:build imap.c:399:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1582:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1583:info:build                           ^~~~~~~
1584:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1585:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1586:info:build                                         ^
1587:info:build imap.c:415:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1588:info:build   if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL))
1589:info:build                                         ^~~~~~~~~~
1590:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1591:info:build char    *strstr(const char *__big, const char *__little);
1592:info:build                             ^
1593:info:build imap.c:423:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1594:info:build     sprintf(bufSend, "%s STARTTLS\r\n", _psSessionData->szTag);
1595:info:build             ^~~~~~~
1596:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1597:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1598:info:build                            ^~~
1599:info:build imap.c:424:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1600:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1601:info:build                                             ^~~~~~~
1602:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1603:info:build size_t   strlen(const char *__s);
1604:info:build                             ^
1605:info:build imap.c:424:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1606:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1607:info:build                             ^~~~~~~
1608:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1609:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1610:info:build                                         ^
1611:info:build imap.c:455:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1612:info:build       sprintf(bufSend, "%s CAPABILITY\r\n", _psSessionData->szTag);
1613:info:build               ^~~~~~~
1614:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1615:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1616:info:build                            ^~~
1617:info:build imap.c:457:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1618:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1619:info:build                                               ^~~~~~~
1620:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1621:info:build size_t   strlen(const char *__s);
1622:info:build                             ^
1623:info:build imap.c:457:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1624:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1625:info:build                               ^~~~~~~
1626:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1627:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1628:info:build                                         ^
1629:info:build imap.c:479:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1630:info:build   else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL))
1631:info:build                    ^~~~~~~~~~
1632:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1633:info:build char    *strstr(const char *__big, const char *__little);
1634:info:build                             ^
1635:info:build imap.c:484:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1636:info:build   else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL))
1637:info:build                    ^~~~~~~~~~
1638:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1639:info:build char    *strstr(const char *__big, const char *__little);
1640:info:build                             ^
1641:info:build imap.c:489:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1642:info:build   else if ((strstr(bufReceive,"AUTH=NTLM") != NULL))
1643:info:build                    ^~~~~~~~~~
1644:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1645:info:build char    *strstr(const char *__big, const char *__little);
1646:info:build                             ^
1647:info:build imap.c:518:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1648:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate login value: %s\\\\%s %s", MODULE_NAME, _psSessionData->szDomain, szLogin, szPassword);
1649:info:build     ^
1650:info:build imap.c:519:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1651:info:build     sprintf(bufSend, "%s LOGIN \"%s\\\\%s\" \"%s\"\r\n", _psSessionData->szTag, _psSessionData->szDomain, szLogin, szPassword);
1652:info:build             ^~~~~~~
1653:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1654:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1655:info:build                            ^~~
1656:info:build imap.c:523:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1657:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate login value: %s %s", MODULE_NAME, szLogin, szPassword);
1658:info:build     ^
1659:info:build imap.c:524:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1660:info:build     sprintf(bufSend, "%s LOGIN \"%s\" \"%s\"\r\n", _psSessionData->szTag, szLogin, szPassword);
1661:info:build             ^~~~~~~
1662:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1663:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1664:info:build                            ^~~
1665:info:build imap.c:527:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1666:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1667:info:build                                           ^~~~~~~
1668:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1669:info:build size_t   strlen(const char *__s);
1670:info:build                             ^
1671:info:build imap.c:527:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1672:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1673:info:build                           ^~~~~~~
1674:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1675:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1676:info:build                                         ^
1677:info:build imap.c:529:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1678:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1679:info:build     ^
1680:info:build imap.c:551:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1681:info:build   sprintf(bufSend, "%s AUTHENTICATE PLAIN\r\n", _psSessionData->szTag);
1682:info:build           ^~~~~~~
1683:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1684:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1685:info:build                            ^~~
1686:info:build imap.c:553:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1687:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1688:info:build                                           ^~~~~~~
1689:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1690:info:build size_t   strlen(const char *__s);
1691:info:build                             ^
1692:info:build imap.c:553:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1693:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1694:info:build                           ^~~~~~~
1695:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1696:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1697:info:build                                         ^
1698:info:build imap.c:555:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1699:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1700:info:build     ^
1701:info:build imap.c:562:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1702:info:build     writeError(ERR_ERROR, "[%s] IMAP server did not respond with \"+\" to AUTHENTICATE PLAIN request.", MODULE_NAME);
1703:info:build     ^
1704:info:build imap.c:580:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1705:info:build   base64_encode(szTmp, nSendBufferSize, szEncodedAuth);
1706:info:build                 ^~~~~
1707:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
1708:info:build extern int base64_encode(const char *str, int length, char *b64store);
1709:info:build                                      ^
1710:info:build imap.c:580:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1711:info:build   base64_encode(szTmp, nSendBufferSize, szEncodedAuth);
1712:info:build                                         ^~~~~~~~~~~~~
1713:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1714:info:build extern int base64_encode(const char *str, int length, char *b64store);
1715:info:build                                                             ^
1716:info:build imap.c:583:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1717:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending authenticate plain value: %s", MODULE_NAME, szEncodedAuth);
1718:info:build   ^
1719:info:build imap.c:584:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1720:info:build   nSendBufferSize = strlen(szEncodedAuth) + 2;
1721:info:build                            ^~~~~~~~~~~~~
1722:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1723:info:build size_t   strlen(const char *__s);
1724:info:build                             ^
1725:info:build imap.c:587:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1726:info:build   sprintf(bufSend, "%s\r\n", szEncodedAuth);
1727:info:build           ^~~~~~~
1728:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1729:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1730:info:build                            ^~~
1731:info:build imap.c:590:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1732:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1733:info:build                                           ^~~~~~~
1734:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1735:info:build size_t   strlen(const char *__s);
1736:info:build                             ^
1737:info:build imap.c:590:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1738:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1739:info:build                           ^~~~~~~
1740:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1741:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1742:info:build                                         ^
1743:info:build imap.c:624:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1744:info:build   sprintf(bufSend, "%s AUTHENTICATE NTLM\r\n", _psSessionData->szTag);
1745:info:build           ^~~~~~~
1746:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1747:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1748:info:build                            ^~~
1749:info:build imap.c:626:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1750:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1751:info:build                                           ^~~~~~~
1752:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1753:info:build size_t   strlen(const char *__s);
1754:info:build                             ^
1755:info:build imap.c:626:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1756:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1757:info:build                           ^~~~~~~
1758:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1759:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1760:info:build                                         ^
1761:info:build imap.c:628:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1762:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1763:info:build     ^
1764:info:build imap.c:636:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1765:info:build     writeError(ERR_ERROR, "[%s] IMAP server did not respond with \"+\" to AUTHENTICATE NTLM request.", MODULE_NAME);
1766:info:build     ^
1767:info:build imap.c:648:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1768:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
1769:info:build                                                        ^~~~~~~~~~
1770:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1771:info:build extern int base64_encode(const char *str, int length, char *b64store);
1772:info:build                                                             ^
1773:info:build imap.c:649:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1774:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending initial challenge (B64 Encoded): %s", MODULE_NAME, szTmpBuf64);
1775:info:build   ^
1776:info:build imap.c:651:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1777:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
1778:info:build                            ^~~~~~~~~~
1779:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1780:info:build size_t   strlen(const char *__s);
1781:info:build                             ^
1782:info:build imap.c:654:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1783:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
1784:info:build           ^~~~~~~
1785:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1786:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1787:info:build                            ^~~
1788:info:build imap.c:658:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1789:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1790:info:build                                           ^~~~~~~
1791:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1792:info:build size_t   strlen(const char *__s);
1793:info:build                             ^
1794:info:build imap.c:658:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1795:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
1796:info:build                           ^~~~~~~
1797:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1798:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1799:info:build                                         ^
1800:info:build imap.c:674:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1801:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
1802:info:build                            ^~~~~~~~~~
1803:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
1804:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
1805:info:build                            ^
1806:info:build imap.c:674:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1807:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
1808:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809:info:build imap.c:678:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1810:info:build   base64_decode(bufReceive + 2, (char *)&sTmpChall);
1811:info:build                 ^~~~~~~~~~~~~~
1812:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
1813:info:build extern int base64_decode(const char *base64, char *to);
1814:info:build                                      ^
1815:info:build imap.c:689:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1816:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
1817:info:build                                                          ^~~~~~~~~~
1818:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
1819:info:build extern int base64_encode(const char *str, int length, char *b64store);
1820:info:build                                                             ^
1821:info:build imap.c:692:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1822:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
1823:info:build                            ^~~~~~~~~~
1824:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
1825:info:build size_t   strlen(const char *__s);
1826:info:build                             ^
1827:info:build imap.c:695:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1828:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
1829:info:build           ^~~~~~~
1830:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
1831:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
1832:info:build                            ^~~
1833:info:build imap.c:697:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1834:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
1835:info:build                           ^~~~~~~
1836:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1837:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1838:info:build                                         ^
1839:info:build imap.c:721:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1840:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending LOGIN Authentication.", MODULE_NAME);
1841:info:build       ^
1842:info:build imap.c:738:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1843:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
1844:info:build     ^
1845:info:build imap.c:740:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1846:info:build     setPassResult(*psLogin, szPassword);
1847:info:build     ^
1848:info:build imap.c:753:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1849:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
1850:info:build   ^
1851:info:build imap.c:764:10: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
1852:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
1853:info:build          ^
1854:info:build imap.c:778:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1855:info:build   else if (strstr(bufReceive,"OK") != NULL)
1856:info:build                   ^~~~~~~~~~
1857:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1858:info:build char    *strstr(const char *__big, const char *__little);
1859:info:build                             ^
1860:info:build imap.c:784:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1861:info:build   else if (strstr(bufReceive,"NO Clear text passwords have been disabled for this protocol.") != NULL)
1862:info:build                   ^~~~~~~~~~
1863:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1864:info:build char    *strstr(const char *__big, const char *__little);
1865:info:build                             ^
1866:info:build imap.c:790:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1867:info:build   else if (strstr(bufReceive,"NO Cleartext login on this server requires the use of transport level security (SSL/TLS)") != NULL)
1868:info:build                   ^~~~~~~~~~
1869:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1870:info:build char    *strstr(const char *__big, const char *__little);
1871:info:build                             ^
1872:info:build imap.c:796:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1873:info:build   else if (strstr(bufReceive,"NO The specified authentication package is not supported.") != NULL)
1874:info:build                   ^~~~~~~~~~
1875:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1876:info:build char    *strstr(const char *__big, const char *__little);
1877:info:build                             ^
1878:info:build imap.c:802:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1879:info:build   else if (strstr(bufReceive,"NO") != NULL)
1880:info:build                   ^~~~~~~~~~
1881:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1882:info:build char    *strstr(const char *__big, const char *__little);
1883:info:build                             ^
1884:info:build imap.c:809:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1885:info:build     if (strstr(bufReceive,"* BYE ") != NULL)
1886:info:build                ^~~~~~~~~~
1887:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1888:info:build char    *strstr(const char *__big, const char *__little);
1889:info:build                             ^
1890:info:build imap.c:815:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1891:info:build   else if (strstr(bufReceive,"BAD") != NULL)
1892:info:build                   ^~~~~~~~~~
1893:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
1894:info:build char    *strstr(const char *__big, const char *__little);
1895:info:build                             ^
1896:info:build imap.c:829:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1897:info:build   setPassResult((*psLogin), szPassword);
1898:info:build   ^
1899:info:build mssql.c:103:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1900:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
1901:info:build     ^
1902:info:build mssql.c:110:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1903:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
1904:info:build   ^
1905:info:build mssql.c:129:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1906:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
1907:info:build     ^
1908:info:build mssql.c:133:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1909:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
1910:info:build     ^
1911:info:build mssql.c:126:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
1912:info:build   if ( !(0 <= argc <= 3) )
1913:info:build          ~~~~~~~~~ ^  ~
1914:info:build mssql.c:154:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
1915:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
1916:info:build       ^
1917:info:build mssql.c:156:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1918:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1919:info:build     ^
1920:info:build mssql.c:161:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1921:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
1922:info:build     ^
1923:info:build mssql.c:165:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1924:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
1925:info:build     ^
1926:info:build mssql.c:177:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1927:info:build           writeError(ERR_ERROR, "[%s] Failed to establish MS-SQL connection.", MODULE_NAME);
1928:info:build           ^
1929:info:build mssql.c:190:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1930:info:build             writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
1931:info:build             ^
1932:info:build mssql.c:197:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1933:info:build               writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
1934:info:build               ^
1935:info:build mssql.c:202:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1936:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
1937:info:build               ^
1938:info:build mssql.c:206:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1939:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
1940:info:build               ^
1941:info:build mssql.c:217:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1942:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
1943:info:build         ^
1944:info:build mssql.c:259:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1945:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Querying MS-SQL monitor port to enumerate MS-SQL server TCP port.", MODULE_NAME);
1946:info:build   ^
1947:info:build mssql.c:300:29: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1948:info:build     if (medusaSend(hSocket, pkt_sqlping, 1, 0) < 0)
1949:info:build                             ^~~~~~~~~~~
1950:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1951:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1952:info:build                                         ^
1953:info:build mssql.c:324:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1954:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1955:info:build              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1956:info:build mssql.c:324:20: note: place parentheses around the assignment to silence this warning
1957:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1958:info:build                    ^
1959:info:build              (                                   )
1960:info:build mssql.c:324:20: note: use '==' to turn this assignment into an equality comparison
1961:info:build       while (szTmp = strstr(szTmp, "ServerName;"))
1962:info:build                    ^
1963:info:build                    ==
1964:info:build mssql.c:342:11: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1965:info:build           writeVerbose(VB_NONE_FILE, "[%s] Internal database (SQL Server Embedded Edition) identified (NOT TESTED) - server %s\n", MODULE_NAME, _psLogin->psServer->psHost->pHost);
1966:info:build           ^
1967:info:build mssql.c:348:11: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1968:info:build           writeVerbose(VB_NONE_FILE, "[%s] Internal or hidden database identified (NOT TESTED) - server %s. (Default hidden value is 2433/tcp)\n", MODULE_NAME, _psLogin->psServer->psHost->pHost);
1969:info:build           ^
1970:info:build mssql.c:366:13: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
1971:info:build             writeVerbose(VB_NONE_FILE, "[%s] Additional SQL server identified (NOT TESTED) - server %s on port %d/tcp\n", MODULE_NAME, _psLogin->psServer->psHost->pHost, nPortTmp);
1972:info:build             ^
1973:info:build mssql.c:506:27: warning: passing 'unsigned char [513]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1974:info:build   if (medusaSend(hSocket, bufSend, MSLEN + 1 + 39 + MSLEN + 1 + 110 + 1 + MSLEN + 270, 0) < 0)
1975:info:build                           ^~~~~~~
1976:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1977:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1978:info:build                                         ^
1979:info:build mssql.c:508:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1980:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1981:info:build     ^
1982:info:build mssql.c:511:27: warning: passing 'unsigned char [71]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1983:info:build   if (medusaSend(hSocket, pkt_langp, 71, 0) < 0)
1984:info:build                           ^~~~~~~~~
1985:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
1986:info:build extern int medusaSend(int socket, char *buf, int size, int options);
1987:info:build                                         ^
1988:info:build mssql.c:513:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1989:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
1990:info:build     ^
1991:info:build mssql.c:517:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
1992:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
1993:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1994:info:build mssql.c:523:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
1995:info:build   writeError(ERR_DEBUG_MODULE, "[tryLogin] medusaReceiveRaw set nReceiveBufferSize: %d", nReceiveBufferSize);
1996:info:build   ^
1997:info:build mssql.c:536:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
1998:info:build   setPassResult((*psLogin), szPassword);
1999:info:build   ^
2000:info:build 101 warnings generated.
2001:info:build mv -f .deps/http.Tpo .deps/http.Po
2002:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT mysql.o -MD -MP -MF .deps/mysql.Tpo -c -o mysql.o mysql.c
2003:info:build 28 warnings generated.
2004:info:build mv -f .deps/mssql.Tpo .deps/mssql.Po
2005:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT sha1.o -MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.c
2006:info:build mysql.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2007:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2008:info:build     ^
2009:info:build mysql.c:107:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2010:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2011:info:build   ^
2012:info:build mysql.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2013:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2014:info:build     ^
2015:info:build mysql.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2016:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2017:info:build     ^
2018:info:build mysql.c:135:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2019:info:build   if ( !(0 <= argc <= 3) )
2020:info:build          ~~~~~~~~~ ^  ~
2021:info:build mysql.c:188:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2022:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2023:info:build       ^
2024:info:build mysql.c:190:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2025:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2026:info:build     ^
2027:info:build mysql.c:195:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2028:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2029:info:build     ^
2030:info:build mysql.c:199:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2031:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2032:info:build     ^
2033:info:build mysql.c:226:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2034:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2035:info:build           ^
2036:info:build mysql.c:231:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2037:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
2038:info:build         ^
2039:info:build mysql.c:289:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2040:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
2041:info:build     ^
2042:info:build mysql.c:409:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2043:info:build         writeError(ERR_ERROR, "[%s] Invalid Hash Type (Old Style Hash Required)", MODULE_NAME);
2044:info:build         ^
2045:info:build mysql.c:433:3: warning: implicit declaration of function 'sha1_reset' is invalid in C99 [-Wimplicit-function-declaration]
2046:info:build   sha1_reset(&sha1_context);
2047:info:build   ^
2048:info:build mysql.c:442:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2049:info:build       writeError(ERR_ERROR, "[%s] MySQL 4.1 and above use a SHA1-based authentication scheme which does not appear to be susceptible to pass-the-hash style attacks.", MODULE_NAME);
2050:info:build       ^
2051:info:build mysql.c:445:3: warning: implicit declaration of function 'sha1_input' is invalid in C99 [-Wimplicit-function-declaration]
2052:info:build   sha1_input(&sha1_context, (uint8 *) password, strlen(password));
2053:info:build   ^
2054:info:build mysql.c:446:3: warning: implicit declaration of function 'sha1_result' is invalid in C99 [-Wimplicit-function-declaration]
2055:info:build   sha1_result(&sha1_context, hash_stage1);
2056:info:build   ^
2057:info:build mysql.c:490:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2058:info:build   strncpy(response + 9, szLogin, login_len);
2059:info:build           ^~~~~~~~~~~~
2060:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2061:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2062:info:build                                          ^~~~
2063:info:build mysql.c:569:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2064:info:build   strncpy(response + 36, szLogin, login_len);  /* NULL terminated username */
2065:info:build           ^~~~~~~~~~~~~
2066:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2067:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2068:info:build                                          ^~~~
2069:info:build mysql.c:595:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2070:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2071:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2072:info:build mysql.c:598:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2073:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
2074:info:build     ^
2075:info:build mysql.c:605:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2076:info:build     if (strstr(bufReceive + 7, "is not allowed to connect to this MySQL server"))
2077:info:build                ^~~~~~~~~~~~~~
2078:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2079:info:build char    *strstr(const char *__big, const char *__little);
2080:info:build                             ^
2081:info:build mysql.c:607:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2082:info:build       writeError(ERR_WARNING, "%s: Server responded that host is not allowed to connect to MySQL service.", MODULE_NAME);
2083:info:build       ^
2084:info:build mysql.c:613:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2085:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve server version: %s", MODULE_NAME, bufReceive + 7);
2086:info:build       ^
2087:info:build mysql.c:621:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2088:info:build     writeError(ERR_ERROR, "%s: Server responded requesting protocol version (%d). Version 10 support required.", MODULE_NAME, bufReceive[4]);
2089:info:build     ^
2090:info:build mysql.c:627:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2091:info:build     writeError(ERR_WARNING, "%s: Server responded requesting protocol version (%d). Support for versions >10 is unknown.", MODULE_NAME, bufReceive[4]);
2092:info:build     ^
2093:info:build mysql.c:633:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2094:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2095:info:build                ^~~~~~~~~~~~~~~
2096:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2097:info:build char    *strstr(const char *__big, const char *__little);
2098:info:build                             ^
2099:info:build mysql.c:633:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2100:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2101:info:build                                                 ^~~~~~~~~~~~~~~
2102:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2103:info:build char    *strstr(const char *__big, const char *__little);
2104:info:build                             ^
2105:info:build mysql.c:633:82: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2106:info:build   if (!(strstr(szServerVersion, "3.") || strstr(szServerVersion, "4.") || strstr(szServerVersion, "5.") ))
2107:info:build                                                                                  ^~~~~~~~~~~~~~~
2108:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2109:info:build char    *strstr(const char *__big, const char *__little);
2110:info:build                             ^
2111:info:build mysql.c:635:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2112:info:build     writeError(ERR_ERROR, "%s: Server responded requesting version (%d). Only versions 3.x, 4.x, and 5.x are currently supported.", MODULE_NAME, szServerVersion);
2113:info:build     ^
2114:info:build mysql.c:640:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2115:info:build   if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") ))
2116:info:build               ^~~~~~~~~~~~~~~
2117:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2118:info:build char    *strstr(const char *__big, const char *__little);
2119:info:build                             ^
2120:info:build mysql.c:640:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2121:info:build   if ((strstr(szServerVersion, "4.1") || strstr(szServerVersion, "5.") ))
2122:info:build                                                 ^~~~~~~~~~~~~~~
2123:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2124:info:build char    *strstr(const char *__big, const char *__little);
2125:info:build                             ^
2126:info:build mysql.c:643:6: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2127:info:build      writeError(ERR_DEBUG_MODULE, "%s: Server version %s is using newer auth method.", MODULE_NAME, szServerVersion);
2128:info:build      ^
2129:info:build mysql.c:651:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2130:info:build     memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9);
2131:info:build                                                ^~~~~~~~~~~~~~~
2132:info:build /usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2133:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2134:info:build                                               ^~~~~~~~~~~
2135:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2136:info:build size_t   strlen(const char *__s);
2137:info:build                             ^
2138:info:build mysql.c:652:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2139:info:build     memcpy(*szSessionSalt+8 , bufReceive + strlen(szServerVersion) + 37 , 12);
2140:info:build                                                   ^~~~~~~~~~~~~~~
2141:info:build /usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2142:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2143:info:build                                               ^~~~~~~~~~~
2144:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2145:info:build size_t   strlen(const char *__s);
2146:info:build                             ^
2147:info:build mysql.c:654:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2148:info:build     if (strlen(*szSessionSalt) != 20)
2149:info:build                ^~~~~~~~~~~~~~
2150:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2151:info:build size_t   strlen(const char *__s);
2152:info:build                             ^
2153:info:build mysql.c:656:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2154:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve valid session salt.", MODULE_NAME);
2155:info:build       ^
2156:info:build mysql.c:662:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2157:info:build       writeError(ERR_DEBUG_MODULE, "%s: Retrieved session salt: %s", MODULE_NAME, *szSessionSalt);
2158:info:build       ^
2159:info:build mysql.c:670:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2160:info:build     memcpy(*szSessionSalt, bufReceive + strlen(szServerVersion) + 10, 9);
2161:info:build                                                ^~~~~~~~~~~~~~~
2162:info:build /usr/include/secure/_string.h:62:33: note: expanded from macro 'memcpy'
2163:info:build                 __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2164:info:build                                               ^~~~~~~~~~~
2165:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2166:info:build size_t   strlen(const char *__s);
2167:info:build                             ^
2168:info:build mysql.c:672:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2169:info:build     if (strlen(*szSessionSalt) != 8) {
2170:info:build                ^~~~~~~~~~~~~~
2171:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2172:info:build size_t   strlen(const char *__s);
2173:info:build                             ^
2174:info:build mysql.c:673:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2175:info:build       writeError(ERR_ERROR, "%s: Failed to retrieve valid session salt.", MODULE_NAME);
2176:info:build       ^
2177:info:build mysql.c:679:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2178:info:build       writeError(ERR_DEBUG_MODULE, "%s: Retrieved session salt: %s.", MODULE_NAME, *szSessionSalt);
2179:info:build       ^
2180:info:build mysql.c:700:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2181:info:build     writeError(ERR_ERROR, "[%s] Failed to initialize MySQL connection (%s).", MODULE_NAME, (*psLogin)->psServer->pHostIP);
2182:info:build     ^
2183:info:build mysql.c:706:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2184:info:build   if (strlen(szSessionSalt) == 8 || _psSessionData->protoFlag == PROTO_OLD)
2185:info:build              ^~~~~~~~~~~~~
2186:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2187:info:build size_t   strlen(const char *__s);
2188:info:build                             ^
2189:info:build mysql.c:709:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2190:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Using older style authentication based on previous server response.", MODULE_NAME);
2191:info:build       ^
2192:info:build mysql.c:712:69: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2193:info:build     iRet = MySQLPrepareAuthOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2194:info:build                                                                     ^~~~~~~~~~~~~
2195:info:build mysql.c:462:93: note: passing argument to parameter 'szSessionSalt' here
2196:info:build int MySQLPrepareAuthOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2197:info:build                                                                                             ^
2198:info:build mysql.c:715:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2199:info:build       writeError(ERR_ERROR, "[%s] Failed to create client authentication packet.", MODULE_NAME);
2200:info:build       ^
2201:info:build mysql.c:721:66: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2202:info:build     iRet = MySQLPrepareAuth(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2203:info:build                                                                  ^~~~~~~~~~~~~
2204:info:build mysql.c:530:90: note: passing argument to parameter 'szSessionSalt' here
2205:info:build int MySQLPrepareAuth(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2206:info:build                                                                                          ^
2207:info:build mysql.c:724:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2208:info:build       writeError(ERR_ERROR, "%s: Failed to create client authentication packet.", MODULE_NAME);
2209:info:build       ^
2210:info:build mysql.c:730:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2211:info:build   if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0)
2212:info:build                           ^~~~~~~~~~
2213:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2214:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2215:info:build                                         ^
2216:info:build mysql.c:732:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2217:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
2218:info:build     ^
2219:info:build mysql.c:740:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2220:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2221:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2222:info:build mysql.c:743:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2223:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
2224:info:build     ^
2225:info:build mysql.c:758:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2226:info:build       writeError(ERR_ERROR, "[%s] failed: MYSQL VERSION IS NEWER\n", MODULE_NAME);
2227:info:build       ^
2228:info:build mysql.c:773:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2229:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server requested older authentication type. It is likely the remote account exists and has an older style password hash.", MODULE_NAME);
2230:info:build     ^
2231:info:build mysql.c:779:72: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2232:info:build     iRet = MySQLPrepareAuthNewOld(_psSessionData, szLogin, szPassword, szSessionSalt, &szResponse, &iResponseLength);
2233:info:build                                                                        ^~~~~~~~~~~~~
2234:info:build mysql.c:508:96: note: passing argument to parameter 'szSessionSalt' here
2235:info:build int MySQLPrepareAuthNewOld(_MYSQL_DATA *_psSessionData, char* szLogin, char* szPassword, char* szSessionSalt, unsigned char** szResponse, unsigned long* iResponseLength)
2236:info:build                                                                                                ^
2237:info:build mysql.c:787:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2238:info:build     if (medusaSend(hSocket, szResponse, iResponseLength, 0) < 0)
2239:info:build                             ^~~~~~~~~~
2240:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2241:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2242:info:build                                         ^
2243:info:build mysql.c:798:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2244:info:build     bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2245:info:build                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2246:info:build mysql.c:826:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2247:info:build     writeError(ERR_ERROR, "%s: Unknown response code received from server: %X", MODULE_NAME, bufReceive[4]);
2248:info:build     ^
2249:info:build mysql.c:835:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2250:info:build     writeError(ERR_ERROR, "%s: Failed to terminate MySQL connection.", MODULE_NAME);
2251:info:build     ^
2252:info:build mysql.c:840:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
2253:info:build   setPassResult((*psLogin), szPassword);
2254:info:build   ^
2255:info:build 82 warnings generated.
2256:info:build mv -f .deps/imap.Tpo .deps/imap.Po
2257:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT nntp.o -MD -MP -MF .deps/nntp.Tpo -c -o nntp.o nntp.c
2258:info:build mv -f .deps/sha1.Tpo .deps/sha1.Po
2259:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT pcanywhere.o -MD -MP -MF .deps/pcanywhere.Tpo -c -o pcanywhere.o pcanywhere.c
2260:info:build nntp.c:89:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2261:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2262:info:build     ^
2263:info:build nntp.c:96:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2264:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2265:info:build   ^
2266:info:build nntp.c:113:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2267:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2268:info:build     ^
2269:info:build nntp.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2270:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2271:info:build     ^
2272:info:build nntp.c:110:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2273:info:build   if ( !(0 <= argc <= 3) )
2274:info:build          ~~~~~~~~~ ^  ~
2275:info:build nntp.c:135:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2276:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2277:info:build       ^
2278:info:build nntp.c:137:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2279:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2280:info:build     ^
2281:info:build nntp.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2282:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2283:info:build     ^
2284:info:build nntp.c:146:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2285:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2286:info:build     ^
2287:info:build nntp.c:175:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2288:info:build           writeError(ERR_NOTICE, "[%s] failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2289:info:build           ^
2290:info:build nntp.c:190:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2291:info:build             writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2292:info:build             ^
2293:info:build nntp.c:197:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2294:info:build               writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
2295:info:build               ^
2296:info:build nntp.c:202:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2297:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
2298:info:build               ^
2299:info:build nntp.c:206:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2300:info:build               writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
2301:info:build               ^
2302:info:build nntp.c:217:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2303:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
2304:info:build         ^
2305:info:build nntp.c:236:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2306:info:build   sprintf(bufSend, "QUIT\r\n");
2307:info:build           ^~~~~~~
2308:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2309:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2310:info:build                            ^~~
2311:info:build nntp.c:238:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2312:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2313:info:build                                           ^~~~~~~
2314:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2315:info:build size_t   strlen(const char *__s);
2316:info:build                             ^
2317:info:build nntp.c:238:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2318:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2319:info:build                           ^~~~~~~
2320:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2321:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2322:info:build                                         ^
2323:info:build nntp.c:240:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2324:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2325:info:build     ^
2326:info:build nntp.c:256:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2327:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2328:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2329:info:build nntp.c:259:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2330:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data. Exiting...", MODULE_NAME);
2331:info:build     ^
2332:info:build nntp.c:263:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2333:info:build   else if ((strstr(bufReceive,"200") != NULL))
2334:info:build                    ^~~~~~~~~~
2335:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2336:info:build char    *strstr(const char *__big, const char *__little);
2337:info:build                             ^
2338:info:build nntp.c:265:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2339:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Retrieved NNTP service banner.", MODULE_NAME);
2340:info:build     ^
2341:info:build nntp.c:268:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2342:info:build   else if ((strstr(bufReceive,"400") != NULL))
2343:info:build                    ^~~~~~~~~~
2344:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2345:info:build char    *strstr(const char *__big, const char *__little);
2346:info:build                             ^
2347:info:build nntp.c:270:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2348:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Too many connections from host recieved by server.", MODULE_NAME);
2349:info:build     ^
2350:info:build nntp.c:276:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2351:info:build     writeError(ERR_ERROR, "[%s] Failed to retrieve NNTP service banner.", MODULE_NAME);
2352:info:build     ^
2353:info:build nntp.c:283:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2354:info:build   sprintf(bufSend, "HELP\r\n");
2355:info:build           ^~~~~~~
2356:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2357:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2358:info:build                            ^~~
2359:info:build nntp.c:285:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2360:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2361:info:build                                           ^~~~~~~
2362:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2363:info:build size_t   strlen(const char *__s);
2364:info:build                             ^
2365:info:build nntp.c:285:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2366:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2367:info:build                           ^~~~~~~
2368:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2369:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2370:info:build                                         ^
2371:info:build nntp.c:287:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2372:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2373:info:build     ^
2374:info:build nntp.c:293:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2375:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2376:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2377:info:build nntp.c:296:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2378:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2379:info:build     ^
2380:info:build nntp.c:301:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2381:info:build   else if (strstr(bufReceive,"480") != NULL)
2382:info:build                   ^~~~~~~~~~
2383:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2384:info:build char    *strstr(const char *__big, const char *__little);
2385:info:build                             ^
2386:info:build nntp.c:303:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2387:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server requires authentication.", MODULE_NAME);
2388:info:build     ^
2389:info:build nntp.c:308:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2390:info:build     writeError(ERR_ERROR, "[%s] Server does not appear to require authentication.", MODULE_NAME);
2391:info:build     ^
2392:info:build nntp.c:326:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2393:info:build   sprintf(bufSend, "AUTHINFO USER %.250s\r\n", szLogin);
2394:info:build           ^~~~~~~
2395:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2396:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2397:info:build                            ^~~
2398:info:build nntp.c:328:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2399:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2400:info:build                                           ^~~~~~~
2401:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2402:info:build size_t   strlen(const char *__s);
2403:info:build                             ^
2404:info:build nntp.c:328:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2405:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2406:info:build                           ^~~~~~~
2407:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2408:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2409:info:build                                         ^
2410:info:build nntp.c:330:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2411:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2412:info:build     ^
2413:info:build nntp.c:334:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2414:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2415:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2416:info:build nntp.c:337:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2417:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2418:info:build     ^
2419:info:build nntp.c:341:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2420:info:build   else if (strstr(bufReceive,"381") != NULL)
2421:info:build                   ^~~~~~~~~~
2422:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2423:info:build char    *strstr(const char *__big, const char *__little);
2424:info:build                             ^
2425:info:build nntp.c:343:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2426:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Receive 381 response requesting user password.", MODULE_NAME);
2427:info:build     ^
2428:info:build nntp.c:347:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2429:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Server did not send a 381 response. Password authentication for user may not be required.", MODULE_NAME);
2430:info:build     ^
2431:info:build nntp.c:356:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2432:info:build     sprintf(bufSend, "AUTHINFO PASS \"\"\r\n");
2433:info:build             ^~~~~~~
2434:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2435:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2436:info:build                            ^~~
2437:info:build nntp.c:358:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2438:info:build     sprintf(bufSend, "AUTHINFO PASS %.250s\r\n", szPassword);
2439:info:build             ^~~~~~~
2440:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2441:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2442:info:build                            ^~~
2443:info:build nntp.c:360:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2444:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2445:info:build                                           ^~~~~~~
2446:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2447:info:build size_t   strlen(const char *__s);
2448:info:build                             ^
2449:info:build nntp.c:360:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2450:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2451:info:build                           ^~~~~~~
2452:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2453:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2454:info:build                                         ^
2455:info:build nntp.c:362:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2456:info:build     writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2457:info:build     ^
2458:info:build nntp.c:366:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2459:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2460:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2461:info:build nntp.c:369:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2462:info:build     writeError(ERR_ERROR, "[%s] failed: medusaReceive returned no data.", MODULE_NAME);
2463:info:build     ^
2464:info:build nntp.c:373:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2465:info:build   else if (strstr(bufReceive,"281") != NULL)
2466:info:build                   ^~~~~~~~~~
2467:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2468:info:build char    *strstr(const char *__big, const char *__little);
2469:info:build                             ^
2470:info:build nntp.c:375:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2471:info:build     writeError(ERR_ERROR, "[%s] Login attempt successful.", MODULE_NAME);
2472:info:build     ^
2473:info:build nntp.c:380:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2474:info:build   else if (strstr(bufReceive,"482") != NULL)
2475:info:build                   ^~~~~~~~~~
2476:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2477:info:build char    *strstr(const char *__big, const char *__little);
2478:info:build                             ^
2479:info:build nntp.c:382:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2480:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt rejected.", MODULE_NAME);
2481:info:build     ^
2482:info:build nntp.c:387:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2483:info:build   else if (strstr(bufReceive,"501") != NULL)
2484:info:build                   ^~~~~~~~~~
2485:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2486:info:build char    *strstr(const char *__big, const char *__little);
2487:info:build                             ^
2488:info:build nntp.c:389:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2489:info:build     writeError(ERR_ERROR, "[%s] Bad command usage.", MODULE_NAME);
2490:info:build     ^
2491:info:build nntp.c:394:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2492:info:build   else if (strstr(bufReceive,"502") != NULL)
2493:info:build                   ^~~~~~~~~~
2494:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2495:info:build char    *strstr(const char *__big, const char *__little);
2496:info:build                             ^
2497:info:build nntp.c:396:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2498:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
2499:info:build     ^
2500:info:build nntp.c:402:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2501:info:build     writeError(ERR_ERROR, "[%s] Unknown server response.", MODULE_NAME);
2502:info:build     ^
2503:info:build nntp.c:408:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
2504:info:build   setPassResult((*psLogin), szPassword);
2505:info:build   ^
2506:info:build pcanywhere.c:106:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2507:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2508:info:build     ^
2509:info:build pcanywhere.c:113:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2510:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2511:info:build   ^
2512:info:build pcanywhere.c:136:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2513:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2514:info:build     ^
2515:info:build pcanywhere.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2516:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2517:info:build     ^
2518:info:build pcanywhere.c:158:49: warning: passing 'unsigned char [17]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2519:info:build           memset(psSessionData->domain + strlen(psSessionData->domain) + 1, 0x5C, 1); // '\'
2520:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~
2521:info:build /usr/include/secure/_string.h:76:27: note: expanded from macro 'memset'
2522:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2523:info:build                                         ^~~~
2524:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2525:info:build size_t   strlen(const char *__s);
2526:info:build                             ^
2527:info:build pcanywhere.c:158:49: warning: passing 'unsigned char [17]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2528:info:build           memset(psSessionData->domain + strlen(psSessionData->domain) + 1, 0x5C, 1); // '\'
2529:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~
2530:info:build /usr/include/secure/_string.h:76:62: note: expanded from macro 'memset'
2531:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
2532:info:build                                                                            ^~~~
2533:info:build /usr/include/secure/_common.h:38:55: note: expanded from macro '__darwin_obsz0'
2534:info:build #define __darwin_obsz0(object) __builtin_object_size (object, 0)
2535:info:build                                                       ^~~~~~
2536:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2537:info:build size_t   strlen(const char *__s);
2538:info:build                             ^
2539:info:build pcanywhere.c:133:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2540:info:build   if ( !(0 <= argc <= 3) )
2541:info:build          ~~~~~~~~~ ^  ~
2542:info:build pcanywhere.c:189:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2543:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2544:info:build       ^
2545:info:build pcanywhere.c:191:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2546:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2547:info:build     ^
2548:info:build pcanywhere.c:196:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2549:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2550:info:build     ^
2551:info:build pcanywhere.c:200:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2552:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2553:info:build     ^
2554:info:build pcanywhere.c:235:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2555:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2556:info:build           ^
2557:info:build pcanywhere.c:240:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2558:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
2559:info:build         ^
2560:info:build pcanywhere.c:298:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2561:info:build   writeError(ERR_DEBUG_MODULE, "pcaEncrypt [plaintext]: %s", plaintext);
2562:info:build   ^
2563:info:build pcanywhere.c:329:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2564:info:build   writeError(ERR_DEBUG_MODULE, "%s: Retrieving login prompt.", MODULE_NAME);
2565:info:build   ^
2566:info:build pcanywhere.c:330:27: warning: passing 'unsigned char [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2567:info:build   if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0)
2568:info:build                           ^~~~~~~~
2569:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2570:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2571:info:build                                         ^
2572:info:build pcanywhere.c:344:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2573:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2574:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2575:info:build pcanywhere.c:350:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2576:info:build   else if (strstr(bufReceive + 6, "Enter login name:"))
2577:info:build                   ^~~~~~~~~~~~~~
2578:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2579:info:build char    *strstr(const char *__big, const char *__little);
2580:info:build                             ^
2581:info:build pcanywhere.c:359:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2582:info:build     strncpy(bufSend + 2, clogin, BUF_SIZE - 3);
2583:info:build             ^~~~~~~~~~~
2584:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2585:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2586:info:build                                          ^~~~
2587:info:build pcanywhere.c:362:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2588:info:build   else if (strstr(bufReceive + 6, "Enter user name:"))
2589:info:build                   ^~~~~~~~~~~~~~
2590:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2591:info:build char    *strstr(const char *__big, const char *__little);
2592:info:build                             ^
2593:info:build pcanywhere.c:373:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2594:info:build       strncpy(szTmp, szDomain, strlen(szDomain));
2595:info:build               ^~~~~
2596:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2597:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2598:info:build                                          ^~~~
2599:info:build pcanywhere.c:375:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2600:info:build       strncpy(szTmp + strlen(szDomain) + 1, szLogin, strlen(szLogin));
2601:info:build               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2602:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2603:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2604:info:build                                          ^~~~
2605:info:build pcanywhere.c:376:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2606:info:build       pcaEncrypt(szTmp, clogin, 0xAB, 1);
2607:info:build                  ^~~~~
2608:info:build pcanywhere.c:294:23: note: passing argument to parameter 'plaintext' here
2609:info:build void pcaEncrypt(char *plaintext, char *ciphertext, int key, int offset)
2610:info:build                       ^
2611:info:build pcanywhere.c:383:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2612:info:build       strncpy(bufSend + 2, clogin, BUF_SIZE - 3);
2613:info:build               ^~~~~~~~~~~
2614:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2615:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2616:info:build                                          ^~~~
2617:info:build pcanywhere.c:394:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2618:info:build       strncpy(bufSend + 3, clogin, BUF_SIZE - 4);
2619:info:build               ^~~~~~~~~~~
2620:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2621:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2622:info:build                                          ^~~~
2623:info:build pcanywhere.c:417:27: warning: passing 'unsigned char [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2624:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2625:info:build                           ^~~~~~~
2626:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2627:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2628:info:build                                         ^
2629:info:build pcanywhere.c:427:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2630:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2631:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2632:info:build pcanywhere.c:433:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2633:info:build   else if (strstr(bufReceive + 6, "Enter password:"))
2634:info:build                   ^~~~~~~~~~~~~~
2635:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2636:info:build char    *strstr(const char *__big, const char *__little);
2637:info:build                             ^
2638:info:build pcanywhere.c:450:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2639:info:build   strncpy(bufSend + 2, cpass, BUF_SIZE - 3);
2640:info:build           ^~~~~~~~~~~
2641:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2642:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2643:info:build                                          ^~~~
2644:info:build pcanywhere.c:454:27: warning: passing 'unsigned char [16384]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2645:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2646:info:build                           ^~~~~~~
2647:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2648:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2649:info:build                                         ^
2650:info:build pcanywhere.c:459:1: warning: control may reach end of non-void function [-Wreturn-type]
2651:info:build }
2652:info:build ^
2653:info:build pcanywhere.c:471:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2654:info:build   writeError(ERR_DEBUG_MODULE, "%s: Checking encryption level.", MODULE_NAME);
2655:info:build   ^
2656:info:build pcanywhere.c:472:27: warning: passing 'unsigned char [14]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2657:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
2658:info:build                           ^~~~~~~
2659:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2660:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2661:info:build                                         ^
2662:info:build pcanywhere.c:479:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2663:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2664:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2665:info:build pcanywhere.c:485:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2666:info:build   else if (strstr(bufReceive + 28, "Host is denying connection"))
2667:info:build                   ^~~~~~~~~~~~~~~
2668:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2669:info:build char    *strstr(const char *__big, const char *__little);
2670:info:build                             ^
2671:info:build pcanywhere.c:508:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2672:info:build   writeError(ERR_DEBUG_MODULE, "%s: Retrieving RCA banner.", MODULE_NAME);
2673:info:build   ^
2674:info:build pcanywhere.c:509:27: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2675:info:build   if (medusaSend(hSocket, bufSend1, nSendBufferSize1, 0) < 0)
2676:info:build                           ^~~~~~~~
2677:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2678:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2679:info:build                                         ^
2680:info:build pcanywhere.c:516:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2681:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2682:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2683:info:build pcanywhere.c:523:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2684:info:build   else if (strstr(bufReceive + 11, "Please press <Enter>..."))
2685:info:build                   ^~~~~~~~~~~~~~~
2686:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2687:info:build char    *strstr(const char *__big, const char *__little);
2688:info:build                             ^
2689:info:build pcanywhere.c:540:27: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2690:info:build   if (medusaSend(hSocket, bufSend2, nSendBufferSize2, 0) < 0)
2691:info:build                           ^~~~~~~~
2692:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2693:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2694:info:build                                         ^
2695:info:build pcanywhere.c:547:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2696:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2697:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2698:info:build pcanywhere.c:566:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2699:info:build   writeError(ERR_DEBUG_MODULE, "%s: Initializing PcAnywhere connection.", MODULE_NAME);
2700:info:build   ^
2701:info:build pcanywhere.c:600:31: warning: passing 'unsigned char [17]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2702:info:build   iRet = pcaUserAuth(hSocket, _psSessionData->domain, szLogin, szPassword);
2703:info:build                               ^~~~~~~~~~~~~~~~~~~~~~
2704:info:build pcanywhere.c:311:36: note: passing argument to parameter 'szDomain' here
2705:info:build int pcaUserAuth(int hSocket, char* szDomain, char* szLogin, char* szPassword)
2706:info:build                                    ^
2707:info:build pcanywhere.c:610:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2708:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
2709:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2710:info:build pcanywhere.c:618:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2711:info:build   else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password"))
2712:info:build                   ^~~~~~~~~~~~~~
2713:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2714:info:build char    *strstr(const char *__big, const char *__little);
2715:info:build                             ^
2716:info:build pcanywhere.c:618:62: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2717:info:build   else if (strstr(bufReceive + 5, "Invalid login") || strstr(bufReceive + 6, "Enter password"))
2718:info:build                                                              ^~~~~~~~~~~~~~
2719:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2720:info:build char    *strstr(const char *__big, const char *__little);
2721:info:build                             ^
2722:info:build pcanywhere.c:633:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
2723:info:build   setPassResult((*psLogin), szPassword);
2724:info:build   ^
2725:info:build 61 warnings generated.
2726:info:build mv -f .deps/nntp.Tpo .deps/nntp.Po
2727:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT pop3.o -MD -MP -MF .deps/pop3.Tpo -c -o pop3.o pop3.c
2728:info:build 61 warnings generated.
2729:info:build mv -f .deps/mysql.Tpo .deps/mysql.Po
2730:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT rexec.o -MD -MP -MF .deps/rexec.Tpo -c -o rexec.o rexec.c
2731:info:build 47 warnings generated.
2732:info:build mv -f .deps/pcanywhere.Tpo .deps/pcanywhere.Po
2733:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT rlogin.o -MD -MP -MF .deps/rlogin.Tpo -c -o rlogin.o rlogin.c
2734:info:build pop3.c:97:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2735:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2736:info:build     ^
2737:info:build pop3.c:104:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2738:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2739:info:build   ^
2740:info:build pop3.c:136:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2741:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2742:info:build     ^
2743:info:build pop3.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2744:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2745:info:build     ^
2746:info:build pop3.c:133:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2747:info:build   if ( !(0 <= argc <= 3) )
2748:info:build          ~~~~~~~~~ ^  ~
2749:info:build pop3.c:220:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2750:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2751:info:build       ^
2752:info:build pop3.c:222:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2753:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2754:info:build     ^
2755:info:build pop3.c:227:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2756:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2757:info:build     ^
2758:info:build pop3.c:231:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2759:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
2760:info:build     ^
2761:info:build pop3.c:260:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2762:info:build           writeError(ERR_NOTICE, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
2763:info:build           ^
2764:info:build pop3.c:269:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2765:info:build           writeError(ERR_DEBUG_MODULE, "%s failed: Server did not respond with '+OK'. Exiting...", MODULE_NAME);
2766:info:build           ^
2767:info:build pop3.c:275:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2768:info:build           writeError(ERR_DEBUG_MODULE, "Connected");
2769:info:build           ^
2770:info:build pop3.c:292:19: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2771:info:build           sprintf(bufSend, "STLS\r\n");
2772:info:build                   ^~~~~~~
2773:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2774:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2775:info:build                            ^~~
2776:info:build pop3.c:293:51: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2777:info:build           if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2778:info:build                                                   ^~~~~~~
2779:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2780:info:build size_t   strlen(const char *__s);
2781:info:build                             ^
2782:info:build pop3.c:293:35: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2783:info:build           if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2784:info:build                                   ^~~~~~~
2785:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2786:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2787:info:build                                         ^
2788:info:build pop3.c:295:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2789:info:build             writeError(ERR_ERROR, "[%s] failed: medusaSend was not successful", MODULE_NAME);
2790:info:build             ^
2791:info:build pop3.c:302:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2792:info:build             writeError(ERR_ERROR, "[%s] Failed: Unexpected or no data received: %s", MODULE_NAME, bufReceive);
2793:info:build             ^
2794:info:build pop3.c:310:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2795:info:build           else if (strstr(bufReceive, "+OK") != NULL)
2796:info:build                           ^~~~~~~~~~
2797:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2798:info:build char    *strstr(const char *__big, const char *__little);
2799:info:build                             ^
2800:info:build pop3.c:314:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2801:info:build             writeError(ERR_DEBUG_MODULE, "[%s] Starting TLS negotiation.", MODULE_NAME);
2802:info:build             ^
2803:info:build pop3.c:324:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2804:info:build             writeError(ERR_DEBUG_MODULE, "[%s] TLS negotiation not available.", MODULE_NAME);
2805:info:build             ^
2806:info:build pop3.c:346:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
2807:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
2808:info:build              ^
2809:info:build pop3.c:354:15: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2810:info:build               writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2811:info:build               ^
2812:info:build pop3.c:361:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2813:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] No more available credential sets to test.", MODULE_NAME);
2814:info:build                 ^
2815:info:build pop3.c:366:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2816:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] Starting testing for new user: %s.", MODULE_NAME, psCredSet->psUser->pUser);
2817:info:build                 ^
2818:info:build pop3.c:370:17: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2819:info:build                 writeError(ERR_DEBUG_MODULE, "[%s] Next credential set - user: %s password: %s", MODULE_NAME, psCredSet->psUser->pUser, psCredSet->pPass);
2820:info:build                 ^
2821:info:build pop3.c:376:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2822:info:build           writeError(ERR_NOTICE, "[%s] Socket is no longer valid. Server likely dropped connection. Establishing new session.", MODULE_NAME);
2823:info:build           ^
2824:info:build pop3.c:391:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2825:info:build         writeError(ERR_CRITICAL, "Unknown %s module state %d", MODULE_NAME, nState);
2826:info:build         ^
2827:info:build pop3.c:415:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2828:info:build   sprintf(bufSend, "CAPA\r\n");
2829:info:build           ^~~~~~~
2830:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2831:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2832:info:build                            ^~~
2833:info:build pop3.c:417:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2834:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2835:info:build                                           ^~~~~~~
2836:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2837:info:build size_t   strlen(const char *__s);
2838:info:build                             ^
2839:info:build pop3.c:417:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2840:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2841:info:build                           ^~~~~~~
2842:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2843:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2844:info:build                                         ^
2845:info:build pop3.c:419:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2846:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
2847:info:build     ^
2848:info:build pop3.c:426:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2849:info:build     writeError(ERR_ERROR, "[%s] Failed: Server did not respond that it supported any of the authentication types we handle (USER, LOGIN, and NTLM). Use the AUTH module option to force the use of an authentication type: %s", MODULE_NAME, bufReceive);
2850:info:build     ^
2851:info:build pop3.c:429:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2852:info:build   else if ((strstr(bufReceive,"USER") != NULL))
2853:info:build                    ^~~~~~~~~~
2854:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2855:info:build char    *strstr(const char *__big, const char *__little);
2856:info:build                             ^
2857:info:build pop3.c:431:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2858:info:build     writeError(ERR_DEBUG_MODULE, "Server requested authentication type: USER (clear-text)");
2859:info:build     ^
2860:info:build pop3.c:434:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2861:info:build   else if ((strstr(bufReceive,"SASL") != NULL))
2862:info:build                    ^~~~~~~~~~
2863:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2864:info:build char    *strstr(const char *__big, const char *__little);
2865:info:build                             ^
2866:info:build pop3.c:436:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2867:info:build     if ((strstr(bufReceive,"PLAIN") != NULL))
2868:info:build                 ^~~~~~~~~~
2869:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2870:info:build char    *strstr(const char *__big, const char *__little);
2871:info:build                             ^
2872:info:build pop3.c:438:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2873:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL PLAIN");
2874:info:build       ^
2875:info:build pop3.c:441:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2876:info:build     else if ((strstr(bufReceive,"LOGIN") != NULL))
2877:info:build                      ^~~~~~~~~~
2878:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2879:info:build char    *strstr(const char *__big, const char *__little);
2880:info:build                             ^
2881:info:build pop3.c:443:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2882:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL LOGIN");
2883:info:build       ^
2884:info:build pop3.c:446:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2885:info:build     else if ((strstr(bufReceive,"NTLM") != NULL))
2886:info:build                      ^~~~~~~~~~
2887:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2888:info:build char    *strstr(const char *__big, const char *__little);
2889:info:build                             ^
2890:info:build pop3.c:448:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2891:info:build       writeError(ERR_DEBUG_MODULE, "Server requested authentication type: SASL NTLM");
2892:info:build       ^
2893:info:build pop3.c:453:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2894:info:build       writeError(ERR_ERROR, "[%s] Server requested unsupported SASL method.", MODULE_NAME);
2895:info:build       ^
2896:info:build pop3.c:457:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2897:info:build   else if ((strstr(bufReceive,"-ERR") != NULL))
2898:info:build                    ^~~~~~~~~~
2899:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2900:info:build char    *strstr(const char *__big, const char *__little);
2901:info:build                             ^
2902:info:build pop3.c:459:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2903:info:build     writeError(ERR_ERROR, "[%s] Server did not understand CAPA request. Defaulting to USER authentication type, use \"-m AUTH\" option to specify alternative method.", MODULE_NAME);
2904:info:build     ^
2905:info:build pop3.c:473:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2906:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating USER (clear-text) Authentication Attempt.", MODULE_NAME);
2907:info:build   ^
2908:info:build pop3.c:479:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2909:info:build     sprintf(bufSend, "USER %.100s@%.150s\r\n", szLogin, _psSessionData->szDomain);
2910:info:build             ^~~~~~~
2911:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2912:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2913:info:build                            ^~~
2914:info:build pop3.c:481:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2915:info:build     sprintf(bufSend, "USER %.250s\r\n", szLogin);
2916:info:build             ^~~~~~~
2917:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2918:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2919:info:build                            ^~~
2920:info:build pop3.c:483:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2921:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2922:info:build                                           ^~~~~~~
2923:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2924:info:build size_t   strlen(const char *__s);
2925:info:build                             ^
2926:info:build pop3.c:483:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2927:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2928:info:build                           ^~~~~~~
2929:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2930:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2931:info:build                                         ^
2932:info:build pop3.c:494:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2933:info:build   else if (strstr(bufReceive, " signing off."))
2934:info:build                   ^~~~~~~~~~
2935:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2936:info:build char    *strstr(const char *__big, const char *__little);
2937:info:build                             ^
2938:info:build pop3.c:500:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2939:info:build   else if (strstr(bufReceive, "ERR Cleartext login on this server requires the use of transport level security (SSL/TLS)"))
2940:info:build                   ^~~~~~~~~~
2941:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2942:info:build char    *strstr(const char *__big, const char *__little);
2943:info:build                             ^
2944:info:build pop3.c:505:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2945:info:build   else if (strstr(bufReceive, "ERR Clear text passwords have been disabled for this protocol."))
2946:info:build                   ^~~~~~~~~~
2947:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
2948:info:build char    *strstr(const char *__big, const char *__little);
2949:info:build                             ^
2950:info:build pop3.c:513:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2951:info:build   sprintf(bufSend, "PASS %.250s\r\n", szPassword);
2952:info:build           ^~~~~~~
2953:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
2954:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
2955:info:build                            ^~~
2956:info:build pop3.c:515:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2957:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2958:info:build                                           ^~~~~~~
2959:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
2960:info:build size_t   strlen(const char *__s);
2961:info:build                             ^
2962:info:build pop3.c:515:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2963:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
2964:info:build                           ^~~~~~~
2965:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
2966:info:build extern int medusaSend(int socket, char *buf, int size, int options);
2967:info:build                                         ^
2968:info:build pop3.c:541:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2969:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating PLAIN Authentication Attempt.", MODULE_NAME);
2970:info:build   ^
2971:info:build pop3.c:547:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
2972:info:build   strncpy(szTmpBuf, szLogin, strlen(szLogin));
2973:info:build           ^~~~~~~~
2974:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
2975:info:build rexec.c:80:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2976:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
2977:info:build     ^
2978:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
2979:info:build                                          ^~~~rexec.c:87:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
2980:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
2981:info:build   ^
2982:info:build rexec.c:98:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2983:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
2984:info:build     ^
2985:info:build rexec.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2986:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
2987:info:build     ^
2988:info:build rexec.c:95:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
2989:info:build   if ( !(0 <= argc <= 3) )
2990:info:build          ~~~~~~~~~ ^  ~
2991:info:build rexec.c:120:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
2992:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
2993:info:build       ^
2994:info:build rexec.c:122:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2995:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
2996:info:build     ^
2997:info:build rexec.c:127:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
2998:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
2999:info:build     ^
3000:info:build rexec.c:131:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3001:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3002:info:build     ^
3003:info:build rexec.c:139:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3004:info:build     writeError(ERR_ERROR, "[%s] module asked for REXEC with SSL. Don't know if such a thing exists...\n");
3005:info:build     ^
3006:info:build rexec.c:229:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3007:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3008:info:build           ^~~~~~~~~
3009:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3010:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3011:info:build                                          ^~~~
3012:info:build rexec.c:231:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3013:info:build   strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword));
3014:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3015:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3016:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3017:info:build                                          ^~~~
3018:info:build rexec.c:233:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3019:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3);
3020:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3021:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3022:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3023:info:build                                          ^~~~
3024:info:build rexec.c:236:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3025:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0)
3026:info:build                           ^~~~~~~
3027:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3028:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3029:info:build                                         ^
3030:info:build rexec.c:238:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3031:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3032:info:build     ^
3033:info:build rexec.c:242:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3034:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3035:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3036:info:build rexec.c:245:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3037:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3038:info:build     ^
3039:info:build rexec.c:248:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3040:info:build   else if (strstr(bufReceive,"Login incorrect") != NULL)
3041:info:build                   ^~~~~~~~~~
3042:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3043:info:build char    *strstr(const char *__big, const char *__little);
3044:info:build                             ^
3045:info:build rexec.c:250:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3046:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed up here.", MODULE_NAME);
3047:info:build     ^
3048:info:build rexec.c:256:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3049:info:build     setPassResult((*psLogin), szPassword);
3050:info:build     ^
3051:info:build pop3.c:548:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3052:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin));
3053:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3054:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3055:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3056:info:build                                          ^~~~
3057:info:build pop3.c:549:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3058:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword));
3059:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3060:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3061:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3062:info:build                                          ^~~~
3063:info:build pop3.c:553:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3064:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
3065:info:build                 ^~~~~~~~
3066:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
3067:info:build extern int base64_encode(const char *str, int length, char *b64store);
3068:info:build                                      ^
3069:info:build pop3.c:553:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3070:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
3071:info:build                                            ^~~~~~~~~~
3072:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3073:info:build extern int base64_encode(const char *str, int length, char *b64store);
3074:info:build                                                             ^
3075:info:build pop3.c:556:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3076:info:build   bufSend = malloc(11 + strlen(szTmpBuf64) + 2 + 1);
3077:info:build                                ^~~~~~~~~~
3078:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3079:info:build size_t   strlen(const char *__s);
3080:info:build                             ^
3081:info:build pop3.c:557:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3082:info:build   memset(bufSend, 0, 11 + strlen(szTmpBuf64) + 2 + 1);
3083:info:build                                  ^~~~~~~~~~
3084:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
3085:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
3086:info:build                                               ^~~~~~~~~~~
3087:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3088:info:build size_t   strlen(const char *__s);
3089:info:build                             ^
3090:info:build pop3.c:559:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3091:info:build   sprintf(bufSend, "AUTH PLAIN %s\r\n", szTmpBuf64);
3092:info:build           ^~~~~~~
3093:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3094:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3095:info:build                            ^~~
3096:info:build pop3.c:562:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3097:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3098:info:build                                           ^~~~~~~
3099:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3100:info:build size_t   strlen(const char *__s);
3101:info:build                             ^
3102:info:build pop3.c:562:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3103:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3104:info:build                           ^~~~~~~
3105:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3106:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3107:info:build                                         ^
3108:info:build rexec.c:259:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3109:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3110:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3111:info:build rexec.c:262:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3112:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3113:info:build     ^
3114:info:build rexec.c:265:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3115:info:build   else if (strstr(bufReceive,"uid") != NULL)
3116:info:build                   ^~~~~~~~~~
3117:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3118:info:build char    *strstr(const char *__big, const char *__little);
3119:info:build                             ^
3120:info:build pop3.c:590:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3121:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating LOGIN Authentication Attempt.", MODULE_NAME);
3122:info:build   ^
3123:info:build pop3.c:595:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3124:info:build   sprintf(bufSend, "AUTH LOGIN\r\n");
3125:info:build           ^~~~~~~
3126:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3127:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3128:info:build                            ^~~
3129:info:build pop3.c:597:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3130:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3131:info:build                                           ^~~~~~~
3132:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3133:info:build size_t   strlen(const char *__s);
3134:info:build                             ^
3135:info:build pop3.c:597:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3136:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3137:info:build                           ^~~~~~~
3138:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3139:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3140:info:build                                         ^
3141:info:build pop3.c:610:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3142:info:build   else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL)
3143:info:build                   ^~~~~~~~~~
3144:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3145:info:build char    *strstr(const char *__big, const char *__little);
3146:info:build                             ^
3147:info:build pop3.c:616:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3148:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3149:info:build                            ^~~~~~~~~~
3150:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
3151:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
3152:info:build                            ^
3153:info:build pop3.c:616:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3154:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3155:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3156:info:build pop3.c:618:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3157:info:build   szPrompt = malloc(strlen(bufReceive + 2) + 1);
3158:info:build                            ^~~~~~~~~~~~~~
3159:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3160:info:build size_t   strlen(const char *__s);
3161:info:build                             ^
3162:info:build pop3.c:619:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3163:info:build   memset(szPrompt, 0, strlen(bufReceive + 2) + 1);
3164:info:build                              ^~~~~~~~~~~~~~
3165:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
3166:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
3167:info:build                                               ^~~~~~~~~~~
3168:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3169:info:build size_t   strlen(const char *__s);
3170:info:build                             ^
3171:info:build pop3.c:621:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3172:info:build   base64_decode(bufReceive + 2, szPrompt);
3173:info:build                 ^~~~~~~~~~~~~~
3174:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3175:info:build extern int base64_decode(const char *base64, char *to);
3176:info:build                                      ^
3177:info:build pop3.c:621:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3178:info:build   base64_decode(bufReceive + 2, szPrompt);
3179:info:build                                 ^~~~~~~~
3180:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
3181:info:build extern int base64_decode(const char *base64, char *to);
3182:info:build                                                    ^
3183:info:build pop3.c:632:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3184:info:build   base64_encode(szLogin, strlen(szLogin), bufSend);
3185:info:build                                           ^~~~~~~
3186:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3187:info:build extern int base64_encode(const char *str, int length, char *b64store);
3188:info:build                                                             ^
3189:info:build pop3.c:633:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3190:info:build   strncat(bufSend, "\r\n", 2);   
3191:info:build           ^~~~~~~
3192:info:build /usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
3193:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3194:info:build                                          ^~~~
3195:info:build pop3.c:635:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3196:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3197:info:build                                           ^~~~~~~
3198:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3199:info:build size_t   strlen(const char *__s);
3200:info:build                             ^
3201:info:build pop3.c:635:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3202:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3203:info:build                           ^~~~~~~
3204:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3205:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3206:info:build                                         ^
3207:info:build pop3.c:648:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3208:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3209:info:build                            ^~~~~~~~~~
3210:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
3211:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
3212:info:build                            ^
3213:info:build pop3.c:648:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3214:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3215:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3216:info:build pop3.c:650:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3217:info:build   szPrompt = malloc(strlen(bufReceive + 2) + 1);
3218:info:build                            ^~~~~~~~~~~~~~
3219:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3220:info:build size_t   strlen(const char *__s);
3221:info:build                             ^
3222:info:build pop3.c:651:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3223:info:build   memset(szPrompt, 0, strlen(bufReceive + 2) + 1);
3224:info:build                              ^~~~~~~~~~~~~~
3225:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
3226:info:build rexec.c:267:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3227:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
3228:info:build     ^
3229:info:build rexec.c:271:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3230:info:build   else if (strstr(bufReceive,"Command ID in library") != NULL)
3231:info:build                   ^~~~~~~~~~
3232:info:build /usr/include/string.h:                __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
3233:info:build                                               ^~~~~~~~~~~
3234:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3235:info:build size_t   strlen(const char *__s);
3236:info:build                             ^
3237:info:build pop3.c:653:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3238:info:build   base64_decode(bufReceive + 2, szPrompt);
3239:info:build                 ^~~~~~~~~~~~~~
3240:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3241:info:build extern int base64_decode(const char *base64, char *to);
3242:info:build                                      ^
3243:info:build pop3.c:653:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3244:info:build   base64_decode(bufReceive + 2, szPrompt);
3245:info:build                                 ^~~~~~~~
3246:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
3247:info:build extern int base64_decode(const char *base64, char *to);
3248:info:build                                                    ^
3249:info:build 89:26: note: passing argument to parameter '__big' here
3250:info:build char    *strstr(const char *__big, const char *__little);
3251:info:build                             ^
3252:info:build rexec.c:273:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3253:info:build pop3.c:664:49:     writeError(ERR_DEBUG_MODULE, "%s : AS/400 Login attempt successful.", MODULE_NAME);warning
3254:info:build :     ^passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3255:info:build   base64_encode(szPassword, strlen(szPassword), bufSend);
3256:info:build                                                 ^~~~~~~
3257:info:build ./../medusa-utils.h:rexec.c29::27961::5 :note:  warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3258:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed down here.", MODULE_NAME);
3259:info:build     ^
3260:info:build rexec.c:285:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3261:info:build   setPassResult((*psLogin), szPassword);
3262:info:build   ^
3263:info:build passing argument to parameter 'b64store' here
3264:info:build extern int base64_encode(const char *str, int length, char *b64store);
3265:info:build                                                             ^
3266:info:build pop3.c:665:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3267:info:build   strncat(bufSend, "\r\n", 2);   
3268:info:build           ^~~~~~~
3269:info:build /usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
3270:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3271:info:build                                          ^~~~
3272:info:build pop3.c:667:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3273:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3274:info:build                                           ^~~~~~~
3275:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3276:info:build size_t   strlen(const char *__s);
3277:info:build                             ^
3278:info:build pop3.c:667:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3279:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3280:info:build                           ^~~~~~~
3281:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3282:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3283:info:build                                         ^
3284:info:build pop3.c:693:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3285:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating NTLM Authentication Attempt.", MODULE_NAME);
3286:info:build   ^
3287:info:build pop3.c:698:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3288:info:build   sprintf(bufSend, "AUTH NTLM\r\n");
3289:info:build           ^~~~~~~
3290:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3291:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3292:info:build                            ^~~
3293:info:build pop3.c:700:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3294:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3295:info:build                                           ^~~~~~~
3296:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3297:info:build size_t   strlen(const char *__s);
3298:info:build                             ^
3299:info:build pop3.c:700:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3300:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3301:info:build                           ^~~~~~~
3302:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3303:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3304:info:build                                         ^
3305:info:build pop3.c:721:56: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3306:info:build   base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
3307:info:build                                                        ^~~~~~~~~~
3308:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3309:info:build extern int base64_encode(const char *str, int length, char *b64store);
3310:info:build                                                             ^
3311:info:build pop3.c:724:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3312:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
3313:info:build                            ^~~~~~~~~~
3314:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3315:info:build size_t   strlen(const char *__s);
3316:info:build                             ^
3317:info:build pop3.c:727:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3318:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
3319:info:build           ^~~~~~~
3320:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3321:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3322:info:build                            ^~~
3323:info:build pop3.c:731:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3324:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3325:info:build                                           ^~~~~~~
3326:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3327:info:build size_t   strlen(const char *__s);
3328:info:build                             ^
3329:info:build pop3.c:731:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3330:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3331:info:build                           ^~~~~~~
3332:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3333:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3334:info:build                                         ^
3335:info:build pop3.c:747:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3336:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3337:info:build                            ^~~~~~~~~~
3338:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
3339:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
3340:info:build                            ^
3341:info:build pop3.c:747:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3342:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
3343:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3344:info:build pop3.c:751:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3345:info:build   base64_decode(bufReceive + 2, (char *)&sTmpChall);
3346:info:build                 ^~~~~~~~~~~~~~
3347:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
3348:info:build extern int base64_decode(const char *base64, char *to);
3349:info:build                                      ^
3350:info:build pop3.c:761:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3351:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
3352:info:build                                                          ^~~~~~~~~~
3353:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
3354:info:build extern int base64_encode(const char *str, int length, char *b64store);
3355:info:build                                                             ^
3356:info:build pop3.c:764:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3357:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
3358:info:build                            ^~~~~~~~~~
3359:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3360:info:build size_t   strlen(const char *__s);
3361:info:build                             ^
3362:info:build pop3.c:767:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3363:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
3364:info:build           ^~~~~~~
3365:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3366:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3367:info:build                            ^~~
3368:info:build pop3.c:769:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3369:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
3370:info:build                           ^~~~~~~
3371:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3372:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3373:info:build                                         ^
3374:info:build pop3.c:793:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3375:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending USER (clear-text) Authentication.", MODULE_NAME);
3376:info:build       ^
3377:info:build pop3.c:814:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3378:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
3379:info:build     ^
3380:info:build pop3.c:816:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3381:info:build     setPassResult(*psLogin, szPassword);
3382:info:build     ^
3383:info:build pop3.c:820:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3384:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
3385:info:build   ^
3386:info:build pop3.c:832:10: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
3387:info:build     if ( medusaCheckSocket(hSocket, (*psLogin)->psServer->psAudit->iSocketWait) )
3388:info:build          ^
3389:info:build rlogin.c:79:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3390:info:build pop3.c:851:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3391:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3392:info:build     ^
3393:info:build rlogin.c:86:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3394:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3395:info:build   ^
3396:info:build rlogin.c:97:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3397:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3398:info:build     ^
3399:info:build rlogin.c:101:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3400:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3401:info:build     ^
3402:info:build rlogin.c:94:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3403:info:build   if ( !(0 <= argc <= 3) )
3404:info:build          ~~~~~~~~~ ^  ~
3405:info:build   else if (strstr(bufReceive,"-ERR The specified authentication package is not supported.") != NULL)
3406:info:build                   ^~~~~~~~~~
3407:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3408:info:build char    *strstr(const char *__big, const char *__little);
3409:info:build                             ^
3410:info:build rlogin.c:119:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3411:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3412:info:build       ^
3413:info:build rlogin.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3414:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3415:info:build     ^
3416:info:build rlogin.c:126:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3417:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3418:info:build     ^
3419:info:build rlogin.c:130:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3420:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3421:info:build     ^
3422:info:build rlogin.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3423:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module asked for RLOGIN/SSL. Don't know if such a thing exists...\n");
3424:info:build     ^
3425:info:build pop3.c:865:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3426:info:build       if (strstr(bufReceive, "CPF2204"))
3427:info:build                  ^~~~~~~~~~
3428:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3429:info:build char    *strstr(const char *__big, const char *__little);
3430:info:build                             ^
3431:info:build pop3.c:871:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3432:info:build       else if (strstr(bufReceive, "CPF22E2"))
3433:info:build                       ^~~~~~~~~~
3434:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3435:info:build char    *strstr(const char *__big, const char *__little);
3436:info:build                             ^
3437:info:build pop3.c:877:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3438:info:build       else if (strstr(bufReceive, "CPF22E3"))
3439:info:build                       ^~~~~~~~~~
3440:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3441:info:build char    *strstr(const char *__big, const char *__little);
3442:info:build                             ^
3443:info:build pop3.c:883:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3444:info:build       else if (strstr(bufReceive, "CPF22E4"))
3445:info:build                       ^~~~~~~~~~
3446:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3447:info:build char    *strstr(const char *__big, const char *__little);
3448:info:build                             ^
3449:info:build pop3.c:889:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3450:info:build       else if (strstr(bufReceive, "CPF22E5"))
3451:info:build                       ^~~~~~~~~~
3452:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3453:info:build char    *strstr(const char *__big, const char *__little);
3454:info:build                             ^
3455:info:build pop3.c:895:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3456:info:build       else if (strstr(bufReceive, "-ERR Logon attempt invalid"))
3457:info:build                       ^~~~~~~~~~
3458:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3459:info:build char    *strstr(const char *__big, const char *__little);
3460:info:build                             ^
3461:info:build pop3.c:918:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3462:info:build   setPassResult((*psLogin), szPassword);
3463:info:build   ^
3464:info:build rlogin.c:228:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3465:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3466:info:build           ^~~~~~~~~
3467:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3468:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3469:info:build                                          ^~~~
3470:info:build rlogin.c:230:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3471:info:build   strncpy(bufSend+2+strlen(szLogin), szLogin, strlen(szLogin));
3472:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3473:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3474:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3475:info:build                                          ^~~~
3476:info:build rlogin.c:232:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3477:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szLogin)+1, "xterm", 5);
3478:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3479:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3480:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3481:info:build                                          ^~~~
3482:info:build rlogin.c:235:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3483:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szLogin)+1+7 , 0) < 0)
3484:info:build                           ^~~~~~~
3485:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3486:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3487:info:build                                         ^
3488:info:build rlogin.c:237:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3489:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3490:info:build     ^
3491:info:build rlogin.c:241:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3492:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3493:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3494:info:build rlogin.c:244:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3495:info:build       writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3496:info:build       ^
3497:info:build rlogin.c:248:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3498:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3499:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3500:info:build rlogin.c:251:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3501:info:build       writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
3502:info:build       ^
3503:info:build rlogin.c:254:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3504:info:build   else if (strstr(bufReceive,"Incorrect") != NULL)
3505:info:build                   ^~~~~~~~~~
3506:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3507:info:build char    *strstr(const char *__big, const char *__little);
3508:info:build                             ^
3509:info:build rlogin.c:256:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3510:info:build       writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed here.", MODULE_NAME);
3511:info:build       ^
3512:info:build rlogin.c:260:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3513:info:build   else if (strstr(bufReceive,"Password") != NULL)
3514:info:build                   ^~~~~~~~~~
3515:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3516:info:build char    *strstr(const char *__big, const char *__little);
3517:info:build                             ^
3518:info:build rlogin.c:262:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3519:info:build       writeError(ERR_DEBUG_MODULE, "%s : Login attempt asked for password.", MODULE_NAME);
3520:info:build       ^
3521:info:build rlogin.c:263:15: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3522:info:build       sprintf(bufSend,"%s\r",szPassword);
3523:info:build               ^~~~~~~
3524:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3525:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3526:info:build                            ^~~
3527:info:build rlogin.c:264:47: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3528:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0)
3529:info:build                                               ^~~~~~~
3530:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3531:info:build size_t   strlen(const char *__s);
3532:info:build                             ^
3533:info:build rlogin.c:264:31: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3534:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend) , 0) < 0)
3535:info:build                               ^~~~~~~
3536:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3537:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3538:info:build                                         ^
3539:info:build rlogin.c:270:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3540:info:build       bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3541:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3542:info:build rlogin.c:276:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3543:info:build       else if (strstr(bufReceive,"incorrect") != NULL)
3544:info:build                       ^~~~~~~~~~
3545:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3546:info:build char    *strstr(const char *__big, const char *__little);
3547:info:build                             ^
3548:info:build rlogin.c:292:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3549:info:build       writeError(ERR_INFO, "%s : Login attempt succeeded via .rhosts", MODULE_NAME);
3550:info:build       ^
3551:info:build rlogin.c:298:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3552:info:build   setPassResult((*psLogin), szPassword);
3553:info:build   ^
3554:info:build mv -f .deps/ntlm.Tpo .deps/ntlm.Po
3555:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT rsh.o -MD -MP -MF .deps/rsh.Tpo -c -o rsh.o rsh.c
3556:info:build 28 warnings generated.
3557:info:build mv -f .deps/rexec.Tpo .deps/rexec.Po
3558:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT smbnt.o -MD -MP -MF .deps/smbnt.Tpo -c -o smbnt.o smbnt.c
3559:info:build 30 warnings generated.
3560:info:build mv -f .deps/rlogin.Tpo .deps/rlogin.Po
3561:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT hmacmd5.o -MD -MP -MF .deps/hmacmd5.Tpo -c -o hmacmd5.o hmacmd5.c
3562:info:build rsh.c:80:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3563:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3564:info:build     ^
3565:info:build rsh.c:87:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3566:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3567:info:build   ^
3568:info:build rsh.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3569:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3570:info:build     ^
3571:info:build rsh.c:103:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3572:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3573:info:build     ^
3574:info:build rsh.c:96:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3575:info:build   if ( !(0 <= argc <= 3) )
3576:info:build          ~~~~~~~~~ ^  ~
3577:info:build rsh.c:121:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3578:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3579:info:build       ^
3580:info:build rsh.c:123:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3581:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3582:info:build     ^
3583:info:build rsh.c:128:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3584:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3585:info:build     ^
3586:info:build rsh.c:132:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3587:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3588:info:build     ^
3589:info:build rsh.c:140:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3590:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module asked for SSL but don't even know if such a thing exists\n");
3591:info:build     ^
3592:info:build rsh.c:233:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3593:info:build   strncpy(bufSend+1, szLogin, strlen(szLogin));
3594:info:build           ^~~~~~~~~
3595:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3596:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3597:info:build                                          ^~~~
3598:info:build rsh.c:235:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3599:info:build   strncpy(bufSend+2+strlen(szLogin), szPassword, strlen(szPassword));
3600:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~
3601:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3602:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3603:info:build                                          ^~~~
3604:info:build rsh.c:237:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3605:info:build   strncpy(bufSend+1+strlen(szLogin)+1+strlen(szPassword)+1, "id", 3);
3606:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3607:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3608:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3609:info:build                                          ^~~~
3610:info:build rsh.c:240:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3611:info:build   if (medusaSend(hSocket, bufSend, strlen(szLogin)+1+strlen(szPassword)+1+4 , 0) < 0)
3612:info:build                           ^~~~~~~
3613:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3614:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3615:info:build                                         ^
3616:info:build rsh.c:242:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3617:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3618:info:build     ^
3619:info:build rsh.c:248:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3620:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3621:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3622:info:build rsh.c:251:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3623:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data. Which ends rsh test.", MODULE_NAME);
3624:info:build     ^
3625:info:build rsh.c:254:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3626:info:build   bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize);
3627:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3628:info:build rsh.c:257:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3629:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data. Exiting...", MODULE_NAME);
3630:info:build     ^
3631:info:build rsh.c:260:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3632:info:build   else if (strstr(bufReceive,"uid") != NULL)
3633:info:build                   ^~~~~~~~~~
3634:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3635:info:build char    *strstr(const char *__big, const char *__little);
3636:info:build                             ^
3637:info:build rsh.c:262:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3638:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
3639:info:build     ^
3640:info:build rsh.c:268:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3641:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt failed.", MODULE_NAME);
3642:info:build     ^
3643:info:build rsh.c:274:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3644:info:build   setPassResult((*psLogin), szPassword);
3645:info:build   ^
3646:info:build smbnt.c:193:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3647:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3648:info:build     ^
3649:info:build smbnt.c:200:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3650:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3651:info:build   ^
3652:info:build smbnt.c:259:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3653:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3654:info:build     ^
3655:info:build smbnt.c:263:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3656:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3657:info:build     ^
3658:info:build smbnt.c:256:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3659:info:build   if ( !(0 <= argc <= 3) )
3660:info:build          ~~~~~~~~~ ^  ~
3661:info:build mv -f .deps/hmacmd5.Tpo .deps/hmacmd5.Po
3662:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT smtp.o -MD -MP -MF .deps/smtp.Tpo -c -o smtp.o smtp.c
3663:info:build smbnt.c:371:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3664:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3665:info:build       ^
3666:info:build smbnt.c:373:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3667:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3668:info:build     ^
3669:info:build smbnt.c:378:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3670:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3671:info:build     ^
3672:info:build smbnt.c:383:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3673:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3674:info:build     ^
3675:info:build smbnt.c:408:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3676:info:build             writeError(ERR_NOTICE, "%s Failed to establish WIN2000_NATIVE mode. Attempting WIN_NETBIOS mode.)", MODULE_NAME);
3677:info:build             ^
3678:info:build smbnt.c:420:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3679:info:build           writeError(ERR_ERROR, "%s: failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
3680:info:build           ^
3681:info:build smbnt.c:425:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3682:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
3683:info:build         ^
3684:info:build smbnt.c:427:13: warning: implicit declaration of function 'NBSSessionRequest' is invalid in C99 [-Wimplicit-function-declaration]
3685:info:build         if (NBSSessionRequest(hSocket, _psSessionData) < 0) {
3686:info:build             ^
3687:info:build smbnt.c:433:13: warning: implicit declaration of function 'SMBNegProt' is invalid in C99 [-Wimplicit-function-declaration]
3688:info:build         if (SMBNegProt(hSocket, _psSessionData) < 0)
3689:info:build             ^
3690:info:build smbnt.c:489:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3691:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Exiting module...", MODULE_NAME);
3692:info:build   ^
3693:info:build smbnt.c:508:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3694:info:build       writeError(ERR_NOTICE, "[%s] Using the DOMAIN\\USER format with the GROUP/GROUP_OTHER module options is redundant.", MODULE_NAME);
3695:info:build       ^
3696:info:build smbnt.c:514:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3697:info:build     writeError(ERR_DEBUG_MODULE, "Processing domain and username: %s", pOptTmp);
3698:info:build     ^
3699:info:build smbnt.c:535:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3700:info:build     writeError(ERR_DEBUG_MODULE, "Processing username: %s", szUser);
3701:info:build     ^
3702:info:build smbnt.c:617:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3703:info:build       writeError(ERR_ERROR, "Error reading PwDump file.");
3704:info:build       ^
3705:info:build smbnt.c:621:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3706:info:build       writeError(ERR_DEBUG_MODULE, "Found \"NO PASSWORD\" for LM Hash.");
3707:info:build       ^
3708:info:build smbnt.c:628:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3709:info:build       writeError(ERR_DEBUG_MODULE, "Convert ASCII PwDump LM Hash (%s).", p);
3710:info:build       ^
3711:info:build smbnt.c:664:13: warning: passing 'unsigned char [15]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3712:info:build     strncpy(password, pass, 14);
3713:info:build             ^~~~~~~~
3714:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3715:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3716:info:build                                          ^~~~
3717:info:build smbnt.c:664:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3718:info:build     strncpy(password, pass, 14);
3719:info:build                       ^~~~
3720:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
3721:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3722:info:build                                                ^~~~~~~~~~~
3723:info:build smbnt.c:722:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3724:info:build       writeError(ERR_ERROR, "Error reading PwDump file.");
3725:info:build       ^
3726:info:build smbnt.c:726:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3727:info:build       writeError(ERR_DEBUG_MODULE, "Found \"NO PASSWORD\" for NTLM Hash.");
3728:info:build       ^
3729:info:build smbnt.c:727:12: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
3730:info:build       pass = "";
3731:info:build            ^ ~~
3732:info:build smbnt.c:741:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3733:info:build       writeError(ERR_DEBUG_MODULE, "Convert ASCII PwDump NTLM Hash (%s).", p);
3734:info:build       ^
3735:info:build smbnt.c:889:3: warning: implicit declaration of function 'hmac_md5_init_limK_to_64' is invalid in C99 [-Wimplicit-function-declaration]
3736:info:build   hmac_md5_init_limK_to_64(ntlm_hash, 16, &ctx);
3737:info:build   ^
3738:info:build smbnt.c:890:3: warning: implicit declaration of function 'hmac_md5_update' is invalid in C99 [-Wimplicit-function-declaration]
3739:info:build   hmac_md5_update((const unsigned char *)unicodeUsername, 2 * strlen((char *)szLogin), &ctx);
3740:info:build   ^
3741:info:build smbnt.c:892:3: warning: implicit declaration of function 'hmac_md5_final' is invalid in C99 [-Wimplicit-function-declaration]
3742:info:build   hmac_md5_final(kr_buf, &ctx);
3743:info:build   ^
3744:info:build smbnt.c:1010:3: warning: implicit declaration of function 'hmac_md5_init_limK_to_64' is invalid in C99 [-Wimplicit-function-declaration]
3745:info:build   hmac_md5_init_limK_to_64(ntlm_hash, 16, &ctx);
3746:info:build   ^
3747:info:build smbnt.c:1011:3: warning: implicit declaration of function 'hmac_md5_update' is invalid in C99 [-Wimplicit-function-declaration]
3748:info:build   hmac_md5_update((const unsigned char *)unicodeUsername, 2 * strlen((char *)szLogin), &ctx);
3749:info:build   ^
3750:info:build smbnt.c:1013:3: warning: implicit declaration of function 'hmac_md5_final' is invalid in C99 [-Wimplicit-function-declaration]
3751:info:build   hmac_md5_final(kr_buf, &ctx);
3752:info:build   ^
3753:info:build smbnt.c:1033:25: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
3754:info:build   else if (ts.tv_sec == TIME_T_MAX)
3755:info:build                         ^~~~~~~~~~
3756:info:build smbnt.c:134:36: note: expanded from macro 'TIME_T_MAX'
3757:info:build #define TIME_T_MAX (~ (time_t) 0 - TIME_T_MIN)
3758:info:build                                    ^~~~~~~~~~
3759:info:build smbnt.c:131:24: note: expanded from macro 'TIME_T_MIN'
3760:info:build         : ~ (time_t) 0 << (sizeof (time_t) * CHAR_BIT - 1))
3761:info:build           ~~~~~~~~~~~~ ^
3762:info:build smbnt.c:1130:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3763:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3764:info:build     ^
3765:info:build smbnt.c:1190:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3766:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Setting Negotiate Protocol Response for LM.", MODULE_NAME);
3767:info:build     ^
3768:info:build smbnt.c:1199:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3769:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
3770:info:build     ^
3771:info:build smbnt.c:1221:7: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3772:info:build       writeVerbose(VB_GENERAL, "%s: Server requested PLAINTEXT password.", MODULE_NAME);
3773:info:build       ^
3774:info:build smbnt.c:1226:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3775:info:build         writeError(ERR_ERROR, "%s: Server requested PLAINTEXT password. HASH password mode not supported for this configuration.", MODULE_NAME);
3776:info:build         ^
3777:info:build smbnt.c:1231:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3778:info:build         writeError(ERR_ERROR, "%s: Server requested PLAINTEXT password. MACHINE password mode not supported for this configuration.", MODULE_NAME);
3779:info:build         ^
3780:info:build smbnt.c:1246:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3781:info:build       writeError(ERR_ERROR, "%s: Unknown security mode request: %2.2X. Proceeding using ENCRYPTED password mode.", MODULE_NAME, bufReceive[39]);
3782:info:build       ^
3783:info:build smbnt.c:1268:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3784:info:build   writeVerbose(VB_GENERAL, "%s: Server machine name: %s", MODULE_NAME, _psSessionData->machine_name);
3785:info:build   ^
3786:info:build smbnt.c:1298:49: warning: passing 'unsigned char [16]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3787:info:build     strncpy((char *) _psSessionData->workgroup, _psSessionData->workgroup_other, 16);
3788:info:build                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3789:info:build /usr/include/secure/_string.h:124:34: note: expanded from macro 'strncpy'
3790:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3791:info:build                                                ^~~~~~~~~~~
3792:info:build smbnt.c23 warnings generated.
3793:info:build mv -f .deps/rsh.Tpo .deps/rsh.Po
3794:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT smtp-vrfy.o -MD -MP -MF .deps/smtp-vrfy.Tpo -c -o smtp-vrfy.o smtp-vrfy.c
3795:info:build :1332:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3796:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LM password authentication.", MODULE_NAME);
3797:info:build       ^
3798:info:build smbnt.c:1368:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3799:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting NTLM password authentication.", MODULE_NAME);
3800:info:build       ^
3801:info:build smbnt.c:1406:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3802:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LMv2 password authentication.", MODULE_NAME);
3803:info:build       ^
3804:info:build smbnt.c:1443:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3805:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Attempting LMv2/NTLMv2 password authentication.", MODULE_NAME);
3806:info:build       ^
3807:info:build smbnt.c:1491:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3808:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Attempting PLAINTEXT password authentication.", MODULE_NAME);
3809:info:build     ^
3810:info:build smbnt.c:1530:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3811:info:build     strncpy(buf + iOffset, szPassword, 256);
3812:info:build             ^~~~~~~~~~~~~
3813:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
3814:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
3815:info:build                                          ^~~~
3816:info:build smbnt.c:1534:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3817:info:build     writeError(ERR_ERROR, "%s: security_mode was not properly set. This should not happen.", MODULE_NAME);
3818:info:build     ^
3819:info:build smbnt.c:1545:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3820:info:build   sprintf(buf + iOffset + iByteCount, "Unix");
3821:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~
3822:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3823:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3824:info:build                            ^~~
3825:info:build smbnt.c:1547:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3826:info:build   sprintf(buf + iOffset + iByteCount, "Samba");
3827:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~
3828:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3829:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3830:info:build                            ^~~
3831:info:build smbnt.c:1553:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3832:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set NBSS header length: %2.2X", MODULE_NAME, buf[3]);
3833:info:build   ^
3834:info:build smbnt.c:1638:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3835:info:build   writeError(ERR_DEBUG_MODULE, "SMBSessionRet: %8.8X SMBerr: %4.4X SMBaction: %2.2X", SMBSessionRet, SMBerr, SMBaction);
3836:info:build   ^
3837:info:build smbnt.c:1713:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3838:info:build     setPassResult((*psLogin), _psSessionData->machine_name);
3839:info:build     ^
3840:info:build smbnt.c:1717:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
3841:info:build     setPassResult((*psLogin), szPassword);
3842:info:build     ^
3843:info:build smtp.c:99:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3844:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
3845:info:build     ^
3846:info:build smtp.c:106:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
3847:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
3848:info:build   ^
3849:info:build smtp.c:138:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3850:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
3851:info:build     ^
3852:info:build smtp.c:142:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3853:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
3854:info:build     ^
3855:info:build smtp.c:135:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
3856:info:build   if ( !(0 <= argc <= 3) )
3857:info:build          ~~~~~~~~~ ^  ~
3858:info:build smtp.c:219:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
3859:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
3860:info:build       ^
3861:info:build smtp.c:221:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3862:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
3863:info:build     ^
3864:info:build smtp.c:226:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3865:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
3866:info:build     ^
3867:info:build smtp.c:230:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3868:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
3869:info:build     ^
3870:info:build smtp.c:266:11: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3871:info:build           writeError(ERR_NOTICE, "[%s] failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, psLogin->psServer->pHostIP);
3872:info:build           ^
3873:info:build smtp.c:277:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3874:info:build         writeError(ERR_DEBUG_MODULE, "Connected");
3875:info:build         ^
3876:info:build smtp.c:282:14: warning: implicit declaration of function 'medusaCheckSocket' is invalid in C99 [-Wimplicit-function-declaration]
3877:info:build         if ( medusaCheckSocket(hSocket, psLogin->psServer->psAudit->iSocketWait) )
3878:info:build              ^
3879:info:build smtp.c:351:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3880:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving SMTP banner.", MODULE_NAME); 
3881:info:build   ^
3882:info:build smtp.c:365:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3883:info:build   sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO);
3884:info:build           ^~~~~~~
3885:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3886:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3887:info:build                            ^~~
3888:info:build smtp.c:367:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3889:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3890:info:build                                           ^~~~~~~
3891:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3892:info:build size_t   strlen(const char *__s);
3893:info:build                             ^
3894:info:build smtp.c:367:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3895:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3896:info:build                           ^~~~~~~
3897:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3898:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3899:info:build                                         ^
3900:info:build smtp.c:384:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3901:info:build   if ((params->nUseSSL == 0) && (strstr(bufReceive, "STARTTLS") != NULL))
3902:info:build                                         ^~~~~~~~~~
3903:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3904:info:build char    *strstr(const char *__big, const char *__little);
3905:info:build                             ^
3906:info:build smtp.c:392:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3907:info:build     sprintf(bufSend, "STARTTLS\r\n");
3908:info:build             ^~~~~~~
3909:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3910:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3911:info:build                            ^~~
3912:info:build smtp.c:393:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3913:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3914:info:build                                             ^~~~~~~
3915:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3916:info:build size_t   strlen(const char *__s);
3917:info:build                             ^
3918:info:build smtp.c:393:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3919:info:build     if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3920:info:build                             ^~~~~~~
3921:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3922:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3923:info:build                                         ^
3924:info:build 120 warnings generated.
3925:info:build mv -f .deps/pop3.Tpo .deps/pop3.Po
3926:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT snmp.o -MD -MP -MF .deps/snmp.Tpo -c -o snmp.o snmp.c
3927:info:build smtp.c:424:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3928:info:build       sprintf(bufSend, "EHLO %s\r\n", _psSessionData->szEHLO);
3929:info:build               ^~~~~~~
3930:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3931:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3932:info:build                            ^~~
3933:info:build smtp.c:426:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3934:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3935:info:build                                               ^~~~~~~
3936:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3937:info:build size_t   strlen(const char *__s);
3938:info:build                             ^
3939:info:build smtp.c:426:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3940:info:build       if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3941:info:build                               ^~~~~~~
3942:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
3943:info:build extern int medusaSend(int socket, char *buf, int size, int options);
3944:info:build                                         ^
3945:info:build smtp.c:449:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3946:info:build   else if ((strstr(bufReceive,"AUTH=LOGIN") != NULL))
3947:info:build                    ^~~~~~~~~~
3948:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3949:info:build char    *strstr(const char *__big, const char *__little);
3950:info:build                             ^
3951:info:build smtp.c:454:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3952:info:build   else if ((strstr(bufReceive,"AUTH=PLAIN") != NULL))
3953:info:build                    ^~~~~~~~~~
3954:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3955:info:build char    *strstr(const char *__big, const char *__little);
3956:info:build                             ^
3957:info:build smtp.c:459:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3958:info:build   else if ((strstr(bufReceive,"AUTH ") != NULL))
3959:info:build                    ^~~~~~~~~~
3960:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3961:info:build char    *strstr(const char *__big, const char *__little);
3962:info:build                             ^
3963:info:build smtp.c:461:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3964:info:build     if ((strstr(bufReceive,"LOGIN") != NULL))
3965:info:build                 ^~~~~~~~~~
3966:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3967:info:build char    *strstr(const char *__big, const char *__little);
3968:info:build                             ^
3969:info:build smtp.c:466:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3970:info:build     else if ((strstr(bufReceive,"PLAIN") != NULL))
3971:info:build                      ^~~~~~~~~~
3972:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3973:info:build char    *strstr(const char *__big, const char *__little);
3974:info:build                             ^
3975:info:build smtp.c:471:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3976:info:build     else if ((strstr(bufReceive,"NTLM") != NULL))
3977:info:build                      ^~~~~~~~~~
3978:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
3979:info:build char    *strstr(const char *__big, const char *__little);
3980:info:build                             ^
3981:info:build smtp.c:505:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
3982:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating PLAIN Authentication Attempt.", MODULE_NAME);
3983:info:build   ^
3984:info:build smtp.c:510:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3985:info:build   sprintf(bufSend, "AUTH PLAIN\r\n");
3986:info:build           ^~~~~~~
3987:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
3988:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
3989:info:build                            ^~~
3990:info:build smtp.c:512:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3991:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3992:info:build                                           ^~~~~~~
3993:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
3994:info:build size_t   strlen(const char *__s);
3995:info:build                             ^
3996:info:build smtp.c:512:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
3997:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
3998:info:build                           ^~~~~~~
3999:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4000:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4001:info:build                                         ^
4002:info:build smtp-vrfy.c:88:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4003:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4004:info:build     ^
4005:info:build smtp.c:531:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4006:info:build   strncpy(szTmpBuf, szLogin, strlen(szLogin));
4007:info:build           ^~~~~~~~
4008:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4009:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4010:info:build                                          ^~~~
4011:info:build smtp.c:532:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4012:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1, szLogin, strlen(szLogin));
4013:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4014:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4015:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4016:info:build                                          ^~~~
4017:info:build smtp.c:533:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4018:info:build   strncpy(szTmpBuf + strlen(szLogin) + 1 + strlen(szLogin) + 1, szPassword, strlen(szPassword));
4019:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4020:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4021:info:build smtp-vrfy.c:95:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4022:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4023:info:build                                          ^~~~
4024:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4025:info:build   ^
4026:info:build smtp.c:537:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4027:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
4028:info:build                 ^~~~~~~~
4029:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
4030:info:build extern int base64_encode(const char *str, int length, char *b64store);
4031:info:build                                      ^
4032:info:build smtp.c:537:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4033:info:build   base64_encode(szTmpBuf, nSendBufferSize, szTmpBuf64);
4034:info:build                                            ^~~~~~~~~~
4035:info:build smtp-vrfy.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4036:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
4037:info:build     ^
4038:info:build smtp-vrfy.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4039:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4040:info:build     ^
4041:info:build smtp-vrfy.c:114:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
4042:info:build   if ( !(0 <= argc <= 3) )
4043:info:build          ~~~~~~~~~ ^  ~
4044:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4045:info:build extern int base64_encode(const char *str, int length, char *b64store);
4046:info:build                                                             ^
4047:info:build smtp.c:540:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4048:info:build   bufSend = malloc(strlen(szTmpBuf64) + 2 + 1);
4049:info:build                           ^~~~~~~~~~
4050:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4051:info:build size_t   strlen(const char *__s);
4052:info:build                             ^
4053:info:build smtp-vrfy.c:172:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4054:info:build smtp.c:541:29: warning:   if (getNextCredSet(psLogin, psCredSet) == FAILURE)passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4055:info:build       ^
4056:info:build   memset(bufSend, 0, strlen(szTmpBuf64) + 2 + 1);
4057:info:build                             ^~~~~~~~~~
4058:info:build /usr/include/secure/_string.h:76:smtp-vrfy.c33::174 :note5: :expanded from macro 'memset'
4059:info:build warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4060:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4061:info:build                                               ^~~~~~~~~~~    writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4062:info:build     ^
4063:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4064:info:build size_t   strlen(const char *__s);
4065:info:build                             ^
4066:info:build smtp-vrfy.c:179:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4067:info:build smtp.c:543:11: warning:     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4068:info:build     ^
4069:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
4070:info:build           ^~~~~~~
4071:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4072:info:build smtp-vrfy.c:183:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4073:info:build                            ^~~
4074:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
4075:info:build     ^
4076:info:build smtp.c:546:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4077:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4078:info:build                                           ^~~~~~~
4079:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4080:info:build size_t   strlen(const char *__s);
4081:info:build                             ^
4082:info:build smtp.c:546:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4083:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4084:info:build                           ^~~~~~~
4085:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4086:info:build smtp-vrfy.c:198:3: warning: extern int medusaSend(int socket, char *buf, int size, int options);
4087:info:build                                         ^
4088:info:build implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4089:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set HELO value: %s", MODULE_NAME, _psSessionData->szHELO);
4090:info:build   ^
4091:info:build smtp-vrfy.c:225:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
4092:info:build smtp.c:577:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4093:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4094:info:build                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4095:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating LOGIN Authentication Attempt.", MODULE_NAME);
4096:info:build   ^
4097:info:build smtp.c:582:11:smtp-vrfy.c:225:27: note: place parentheses around the assignment to silence this warning
4098:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4099:info:build                           ^
4100:info:build                (                                                          )
4101:info:build smtp-vrfy.c:225:27: note: use '==' to turn this assignment into an equality comparison
4102:info:build         while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4103:info:build                           ^
4104:info:build                           ==
4105:info:build  warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4106:info:build   sprintf(bufSend, "AUTH LOGIN\r\n");
4107:info:build           ^~~~~~~
4108:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4109:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4110:info:build                            ^~~
4111:info:build smtp.c:584:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4112:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4113:info:build                                           ^~~~~~~
4114:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4115:info:build size_t   strlen(const char *__s);
4116:info:build                             ^
4117:info:build smtp.c:584:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4118:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4119:info:build                           ^~~~~~~
4120:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4121:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4122:info:build                                         ^
4123:info:build smtp.c:599:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4124:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4125:info:build                                  ^~~~~~~~~~
4126:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4127:info:build char    *strstr(const char *__big, const char *__little);
4128:info:build                             ^
4129:info:build smtp.c:599:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4130:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4131:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4132:info:build smtp.c:599:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4133:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4134:info:build                                                                                              ^~~~~~~~
4135:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
4136:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4137:info:build                            ^
4138:info:build smtp.c:599:79: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4139:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4140:info:build                                                                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4141:info:build smtp.c:608:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4142:info:build   szPrompt = malloc(strlen(szTmpBuf) + 1);
4143:info:build                            ^~~~~~~~
4144:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4145:info:build size_t   strlen(const char *__s);
4146:info:build                             ^
4147:info:build smtp.c:609:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4148:info:build   memset(szPrompt, 0, strlen(szTmpBuf) + 1);
4149:info:build                              ^~~~~~~~
4150:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4151:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4152:info:build                                               ^~~~~~~~~~~
4153:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4154:info:build size_t   strlen(const char *__s);
4155:info:build                             ^
4156:info:build smtp.c:611:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4157:info:build   base64_decode(szTmpBuf, szPrompt);
4158:info:build                 ^~~~~~~~
4159:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4160:info:build extern int base64_decode(const char *base64, char *to);
4161:info:build                                      ^
4162:info:build smtp.c:611:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4163:info:build   base64_decode(szTmpBuf, szPrompt);
4164:info:build                           ^~~~~~~~
4165:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
4166:info:build extern int base64_decode(const char *base64, char *to);
4167:info:build                                                    ^
4168:info:build smtp.c:625:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4169:info:build     sprintf(szLoginDomain, "%s\\%s", _psSessionData->szDomain, szLogin);
4170:info:build             ^~~~~~~~~~~~~
4171:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4172:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4173:info:build                            ^~~
4174:info:build smtp.c:628:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4175:info:build     szLoginDomain = szLogin;
4176:info:build                   ^ ~~~~~~~
4177:info:build smtp.c:632:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4178:info:build   bufSend = malloc((2 * strlen(szLoginDomain) + 2) + 2 + 1);
4179:info:build                                ^~~~~~~~~~~~~
4180:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4181:info:build size_t   strlen(const char *__s);
4182:info:build                             ^
4183:info:build smtp.c:633:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4184:info:build   memset(bufSend, 0, (2 * strlen(szLoginDomain) + 2) + 2 + 1);
4185:info:build                                  ^~~~~~~~~~~~~
4186:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4187:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4188:info:build                                               ^~~~~~~~~~~
4189:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4190:info:build size_t   strlen(const char *__s);
4191:info:build                             ^
4192:info:build smtp.c:634:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4193:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4194:info:build                                       ^~~~~~~~~~~~~
4195:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4196:info:build size_t   strlen(const char *__s);
4197:info:build                             ^
4198:info:build smtp.c:634:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4199:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4200:info:build                 ^~~~~~~~~~~~~
4201:info:build ./../medusa-utils.h:29:38: note: passing argument to parameter 'str' here
4202:info:build extern int base64_encode(const char *str, int length, char *b64store);
4203:info:build                                      ^
4204:info:build smtp.c:634:55: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4205:info:build   base64_encode(szLoginDomain, strlen(szLoginDomain), bufSend);
4206:info:build                                                       ^~~~~~~
4207:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4208:info:build extern int base64_encode(const char *str, int length, char *b64store);
4209:info:build                                                             ^
4210:info:build smtp.c:635:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4211:info:build   strncat(bufSend, "\r\n", 2);
4212:info:build           ^~~~~~~
4213:info:build /usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
4214:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4215:info:build                                          ^~~~
4216:info:build smtp.c:640:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4217:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4218:info:build                                           ^~~~~~~
4219:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4220:info:build size_t   strlen(const char *__s);
4221:info:build                             ^
4222:info:build smtp.c:640:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4223:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4224:info:build                           ^~~~~~~
4225:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4226:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4227:info:build                                         ^
4228:info:build smtp.c:654:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4229:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4230:info:build                                  ^~~~~~~~~~
4231:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4232:info:build char    *strstr(const char *__big, const char *__little);
4233:info:build                             ^
4234:info:build smtp.c:654:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4235:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4236:info:build                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4237:info:build smtp.c:654:94: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4238:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4239:info:build                                                                                              ^~~~~~~~
4240:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
4241:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4242:info:build                            ^
4243:info:build smtp.c:654:79: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4244:info:build   if (((szTmpBuf = (char*)strstr(bufReceive, "334 ")) == NULL) || ((szTmpBuf2 = (char*)index(szTmpBuf, '\r')) == NULL))
4245:info:build                                                                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4246:info:build smtp.c:663:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4247:info:build   szPrompt = malloc(strlen(szTmpBuf) + 1);
4248:info:build                            ^~~~~~~~
4249:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4250:info:build size_t   strlen(const char *__s);
4251:info:build                             ^
4252:info:build smtp.c:664:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4253:info:build   memset(szPrompt, 0, strlen(szTmpBuf) + 1);
4254:info:build                              ^~~~~~~~
4255:info:build /usr/include/secure/_string.h:76:33: note: expanded from macro 'memset'
4256:info:build                 __builtin___memset_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
4257:info:build                                               ^~~~~~~~~~~
4258:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4259:info:build size_t   strlen(const char *__s);
4260:info:build                             ^
4261:info:build smtp.c:666:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4262:info:build   base64_decode(szTmpBuf, szPrompt);
4263:info:build                 ^~~~~~~~
4264:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4265:info:build extern int base64_decode(const char *base64, char *to);
4266:info:build                                      ^
4267:info:build smtp.c:666:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4268:info:build   base64_decode(szTmpBuf, szPrompt);
4269:info:build                           ^~~~~~~~
4270:info:build ./../medusa-utils.h:30:52: note: passing argument to parameter 'to' here
4271:info:build extern int base64_decode(const char *base64, char *to);
4272:info:build                                                    ^
4273:info:build smtp.c:677:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4274:info:build   base64_encode(szPassword, strlen(szPassword), bufSend);
4275:info:build                                                 ^~~~~~~
4276:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4277:info:build extern int base64_encode(const char *str, int length, char *b64store);
4278:info:build                                                             ^
4279:info:build smtp.c:678:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4280:info:build   strncat(bufSend, "\r\n", 2);
4281:info:build           ^~~~~~~
4282:info:build /usr/include/secure/_string.h:139:28: note: expanded from macro 'strncat'
4283:info:build                 __builtin___strncat_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4284:info:build                                          ^~~~
4285:info:build smtp.c:680:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4286:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4287:info:build                                           ^~~~~~~
4288:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4289:info:build size_t   strlen(const char *__s);
4290:info:build                             ^
4291:info:build smtp.c:680:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4292:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4293:info:build                           ^~~~~~~
4294:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4295:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4296:info:build                                         ^
4297:info:build smtp-vrfy.c:335:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4298:info:build smtp.c:703:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4299:info:build   sprintf(bufSend, "HELO %.250s\r\n", _psSessionData->szHELO);
4300:info:build           ^~~~~~~
4301:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4302:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Initiating NTLM Authentication Attempt.", MODULE_NAME);
4303:info:build   ^
4304:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4305:info:build                            ^~~
4306:info:build smtp-vrfy.c:337:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4307:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4308:info:build                                           ^~~~~~~
4309:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4310:info:build size_t   strlen(const char *__s);
4311:info:build                             ^
4312:info:build smtp-vrfy.c:337:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4313:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4314:info:build                           ^~~~~~~
4315:info:build ../../src/medusa-net.hsmtp.c::86712::4156::  notewarning: : passing argument to parameter 'buf' herepassing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4316:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4317:info:build                                         ^  base64_encode((char *)&sTmpReq, SmbLength(&sTmpReq), szTmpBuf64);
4318:info:build                                                        ^~~~~~~~~~
4319:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4320:info:build smtp-vrfy.c:339:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4321:info:build extern int base64_encode(const char *str, int length, char *b64store);
4322:info:build                                                             ^
4323:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4324:info:build     ^
4325:info:build smtp.c:715:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4326:info:build smtp-vrfy.c:346:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4327:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4328:info:build                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4329:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
4330:info:build                            ^~~~~~~~~~
4331:info:build /usr/include/string.h:smtp-vrfy.c82::28346:: 21note::  passing argument to parameter '__s' herewarning
4332:info:build : using the result of an assignment as a condition without parentheses [-Wparentheses]
4333:info:build size_t   strlen(const char *__s);
4334:info:build                             ^
4335:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4336:info:build          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4337:info:build smtp-vrfy.c:346:21: note: place parentheses around the assignment to silence this warning
4338:info:build smtp.c:718:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4339:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4340:info:build                     ^
4341:info:build          (                                                          )
4342:info:build   sprintf(bufSend, "AUTH NTLM %s\r\n", szTmpBuf64);
4343:info:build           ^~~~~~~
4344:info:build /usr/include/secure/_stdio.h:47:28: note: smtp-vrfy.cexpanded from macro 'sprintf':
4345:info:build 346:21: note: use '==' to turn this assignment into an equality comparison
4346:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4347:info:build                            ^~~
4348:info:build   while (bufReceive = medusaReceiveRaw(hSocket, &nReceiveBufferSize))
4349:info:build                     ^
4350:info:build                     ==
4351:info:build smtp-vrfy.c:359:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4352:info:build     if (strstr(bufReceive, "250 ") != NULL)smtp.c:
4353:info:build                ^~~~~~~~~~
4354:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4355:info:build char    *strstr(const char *__big, const char *__little);
4356:info:build                             ^
4357:info:build smtp-vrfy.c:362:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4358:info:build     if (nBannerStatus > 0 && (strstr(bufReceive, "\r\n") != NULL))
4359:info:build                                      ^~~~~~~~~~
4360:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4361:info:build char    *strstr(const char *__big, const char *__little);
4362:info:build                             ^
4363:info:build smtp-vrfy.c:367:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4364:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Server sent '250' code.", MODULE_NAME);
4365:info:build       ^
4366:info:build smtp-vrfy.c:385:11: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4367:info:build   sprintf(bufSend, "QUIT\r\n");
4368:info:build           ^~~~~~~
4369:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4370:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4371:info:build                            ^~~
4372:info:build smtp-vrfy.c:387:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4373:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4374:info:build                                           ^~~~~~~
4375:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4376:info:build size_t   strlen(const char *__s);
4377:info:build                             ^
4378:info:build smtp-vrfy.c:387:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4379:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4380:info:build                           ^~~~~~~
4381:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4382:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4383:info:build                                         ^
4384:info:build smtp-vrfy.c:389:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4385:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4386:info:build     ^
4387:info:build smtp-vrfy.c:419:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4388:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending: VRFY %.250s@%.250s\r\n", MODULE_NAME, szAccount, szDomain);
4389:info:build     ^
4390:info:build smtp-vrfy.c:420:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4391:info:build     sprintf(bufSend, "VRFY %.250s@%.250s\r\n", szAccount, szDomain);
4392:info:build             ^~~~~~~
4393:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4394:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4395:info:build                            ^~~
4396:info:build smtp-vrfy.c:424:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4397:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Sending: VRFY %.250s\r\n", MODULE_NAME, szAccount);
4398:info:build     ^
4399:info:build smtp-vrfy.c:425:13: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4400:info:build     sprintf(bufSend, "VRFY %.250s\r\n", szAccount);
4401:info:build             ^~~~~~~
4402:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4403:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4404:info:build                            ^~~
4405:info:build smtp-vrfy.c:428:43: warning: passing 'unsigned char [300]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4406:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4407:info:build                                           ^~~~~~~
4408:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4409:info:build size_t   strlen(const char *__s);
4410:info:build                             ^
4411:info:build smtp-vrfy.c:428:27: warning: passing 'unsigned char [300]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4412:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4413:info:build                           ^~~~~~~
4414:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4415:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4416:info:build                                         ^
4417:info:build smtp-vrfy.c:430:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4418:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4419:info:build     ^
4420:info:build smtp-vrfy.c:434:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4421:info:build   bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2);
4422:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4423:info:build 722:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4424:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4425:info:build                                           ^~~~~~~
4426:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4427:info:build size_t   strlen(const char *__s);
4428:info:build                             ^
4429:info:build smtp.c:722:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4430:info:build   if (medusaSend(hSocket, bufSend, strlen(bufSend), 0) < 0)
4431:info:build                           ^~~~~~~
4432:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4433:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4434:info:build                                         ^
4435:info:build smtp.c:739:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4436:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
4437:info:build                            ^~~~~~~~~~
4438:info:build /usr/include/strings.h:73:25: note: passing argument to parameter here
4439:info:build char    *index(const char *, int) __POSIX_C_DEPRECATED(200112L);
4440:info:build                            ^
4441:info:build smtp.c:739:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4442:info:build   szTmpBuf = ((char*)index(bufReceive, '\r'));
4443:info:build            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4444:info:build smtp.c:743:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4445:info:build   base64_decode(bufReceive + 4, (char *)&sTmpChall);
4446:info:build                 ^~~~~~~~~~~~~~
4447:info:build ./../medusa-utils.h:30:38: note: passing argument to parameter 'base64' here
4448:info:build extern int base64_decode(const char *base64, char *to);
4449:info:build                                      ^
4450:info:build smtp-vrfy.c:437:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4451:info:build     writeError(ERR_ERROR, "%s failed: medusaReceive returned no data.", MODULE_NAME);
4452:info:build     ^
4453:info:build smtp-vrfy.c:440:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4454:info:build   else if (strncmp(bufReceive, "250 ", 4) == 0) /* valid account */
4455:info:build                    ^~~~~~~~~~
4456:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4457:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4458:info:build                              ^
4459:info:build smtp-vrfy.c:442:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4460:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Found valid account: %s", MODULE_NAME, szAccount);
4461:info:build     ^
4462:info:build smtp-vrfy.c:446:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4463:info:build   else if (strncmp(bufReceive, "252 ", 4) == 0) /* valid account */
4464:info:build                    ^~~~~~~~~~
4465:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4466:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4467:info:build                              ^
4468:info:build smtp-vrfy.c:448:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4469:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Found valid account: %s", MODULE_NAME, szAccount);
4470:info:build     ^
4471:info:build smtp-vrfy.c:452:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4472:info:build   else if (strncmp(bufReceive, "550 ", 4) == 0) /* non-existant account */
4473:info:build                    ^~~~~~~~~~
4474:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4475:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4476:info:build                              ^
4477:info:build smtp-vrfy.c:454:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4478:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Non-existant account: %s", MODULE_NAME, szAccount);
4479:info:build     ^
4480:info:build smtp-vrfy.c:458:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4481:info:build   else if (strncmp(bufReceive, "557 ", 4) == 0) /* 557 5.5.2 String does not match anything. */
4482:info:build                    ^~~~~~~~~~
4483:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4484:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4485:info:build                              ^
4486:info:build smtp-vrfy.c:460:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4487:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Non-existant account: %s", MODULE_NAME, szAccount);
4488:info:build     ^
4489:info:build smtp-vrfy.c:464:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4490:info:build   else if (strncmp(bufReceive, "554 ", 4) == 0) /* invalid domain name */
4491:info:build                    ^~~~~~~~~~
4492:info:build /usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
4493:info:build int      strncmp(const char *__s1, const char *__s2, size_t __n);
4494:info:build                              ^
4495:info:build smtp-vrfy.c:466:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4496:info:build     writeError(ERR_ERROR, "[%s] Invalid domain name: %s", MODULE_NAME, szDomain);
4497:info:build     ^
4498:info:build smtp-vrfy.c:472:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4499:info:build     writeError(ERR_ERROR, "[%s] Unknown response code: %s", MODULE_NAME, bufReceive);
4500:info:build     ^
4501:info:build smtp-vrfy.c:479:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4502:info:build     bufReceive = medusaReceiveLineDelay(hSocket, &nReceiveBufferSize, RECEIVE_DELAY_1, RECEIVE_DELAY_2);
4503:info:build                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4504:info:build smtp-vrfy.c:481:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4505:info:build   if (strstr(bufReceive, "421 Error: too many errors"))
4506:info:build              ^~~~~~~~~~
4507:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4508:info:build char    *strstr(const char *__big, const char *__little);
4509:info:build                             ^
4510:info:build smtp-vrfy.c:483:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4511:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Too many errors. Restarting connection.", MODULE_NAME);
4512:info:build     ^
4513:info:build smtp-vrfy.c:487:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4514:info:build   setPassResult((*psLogin), szDomain);
4515:info:build   ^
4516:info:build smtp.c:753:58: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4517:info:build   base64_encode((char *)&sTmpResp, SmbLength(&sTmpResp), szTmpBuf64);
4518:info:build                                                          ^~~~~~~~~~
4519:info:build ./../medusa-utils.h:29:61: note: passing argument to parameter 'b64store' here
4520:info:build extern int base64_encode(const char *str, int length, char *b64store);
4521:info:build                                                             ^
4522:info:build smtp.c:756:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4523:info:build   nSendBufferSize = strlen(szTmpBuf64) + 2;
4524:info:build                            ^~~~~~~~~~
4525:info:build /usr/include/string.h:82:28: note: passing argument to parameter '__s' here
4526:info:build size_t   strlen(const char *__s);
4527:info:build                             ^
4528:info:build smtp.c:759:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4529:info:build   sprintf(bufSend, "%s\r\n", szTmpBuf64);
4530:info:build           ^~~~~~~
4531:info:build /usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
4532:info:build   __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
4533:info:build                            ^~~
4534:info:build smtp.c:761:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4535:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize, 0) < 0)
4536:info:build                           ^~~~~~~
4537:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4538:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4539:info:build                                         ^
4540:info:build smtp.c:782:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4541:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Sending PLAIN Authentication.", MODULE_NAME);
4542:info:build       ^
4543:info:build smtp.c:799:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4544:info:build     writeError(ERR_ERROR, "[%s] Failed during sending of authentication data.", MODULE_NAME);
4545:info:build     ^
4546:info:build smtp.c:801:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4547:info:build     setPassResult(*psLogin, szPassword);
4548:info:build     ^
4549:info:build smtp.c:805:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4550:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Retrieving server response.", MODULE_NAME);
4551:info:build   ^
4552:info:build smtp.c:815:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4553:info:build   if (strstr(bufReceive,"235 ") != NULL)
4554:info:build              ^~~~~~~~~~
4555:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4556:info:build char    *strstr(const char *__big, const char *__little);
4557:info:build                             ^
4558:info:build smtp.c:822:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4559:info:build   else if (strstr(bufReceive,"435 ") != NULL)
4560:info:build                   ^~~~~~~~~~
4561:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4562:info:build char    *strstr(const char *__big, const char *__little);
4563:info:build                             ^
4564:info:build smtp.c:829:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4565:info:build   else if (strstr(bufReceive,"501 ") != NULL)
4566:info:build                   ^~~~~~~~~~
4567:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4568:info:build char    *strstr(const char *__big, const char *__little);
4569:info:build                             ^
4570:info:build smtp.c:835:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4571:info:build   else if (strstr(bufReceive,"535 ") != NULL)
4572:info:build                   ^~~~~~~~~~
4573:info:build /usr/include/string.h:89:26: note: passing argument to parameter '__big' here
4574:info:build char    *strstr(const char *__big, const char *__little);
4575:info:build                             ^
4576:info:build smtp.c:849:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4577:info:build   setPassResult((*psLogin), szPassword);
4578:info:build   ^
4579:info:build snmp.c:100:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4580:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4581:info:build     ^
4582:info:build snmp.c:107:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4583:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4584:info:build   ^
4585:info:build snmp.c:157:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4586:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
4587:info:build     ^
4588:info:build snmp.c:161:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4589:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4590:info:build     ^
4591:info:build snmp.c:154:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
4592:info:build   if ( !(0 <= argc <= 3) )
4593:info:build          ~~~~~~~~~ ^  ~
4594:info:build snmp.c:247:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4595:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
4596:info:build       ^
4597:info:build snmp.c:249:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4598:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4599:info:build     ^
4600:info:build snmp.c:254:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4601:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4602:info:build     ^
4603:info:build snmp.c:258:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4604:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
4605:info:build     ^
4606:info:build snmp.c:266:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4607:info:build   writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s", MODULE_NAME, psLogin->psServer->pHostIP);
4608:info:build   ^
4609:info:build snmp.c:301:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4610:info:build         setPassResult(psLogin, psCredSet->pPass);
4611:info:build         ^
4612:info:build snmp.c:377:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4613:info:build         setPassResult(psLogin, arrszPassList[i]);
4614:info:build         ^
4615:info:build snmp.c:383:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4616:info:build         setPassResult(psLogin, arrszPassList[i]);
4617:info:build         ^
4618:info:build snmp.c:391:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4619:info:build       setPassResult(psLogin, arrszPassList[i]);
4620:info:build       ^
4621:info:build snmp.c:289:20: warning: result of comparison of constant 4294967295 with expression of type 'enum MODULE_STATE' is always false [-Wtautological-constant-out-of-range-compare]
4622:info:build         if (nState == FAILURE)
4623:info:build             ~~~~~~ ^  ~~~~~~~
4624:info:build snmp.c:449:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4625:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Multi-octet mode length: %d", MODULE_NAME, nLength);
4626:info:build         ^
4627:info:build snmp.c:459:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4628:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Single octet mode length: %d", MODULE_NAME, nLength);
4629:info:build       ^
4630:info:build snmp.c:463:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4631:info:build       writeError(ERR_ERROR, "[%s] Failed to parse length or SNMP version.", MODULE_NAME);
4632:info:build       ^
4633:info:build snmp.c:484:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4634:info:build         writeError(ERR_DEBUG_MODULE, "[%s] Located start of SNMP response (%d bytes).", MODULE_NAME, nLength);
4635:info:build         ^
4636:info:build snmp.c:497:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4637:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Parsing SNMP response data.", MODULE_NAME);
4638:info:build   ^
4639:info:build snmp.c:605:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4640:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending GET request for system.sysLocation.", MODULE_NAME);
4641:info:build   ^
4642:info:build snmp.c:606:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4643:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0)
4644:info:build                           ^~~~~~~
4645:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4646:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4647:info:build                                         ^
4648:info:build snmp.c:675:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4649:info:build   strncpy(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation));
4650:info:build           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4651:info:build /usr/include/secure/_string.h:124:28: note: expanded from macro 'strncpy'
4652:info:build                 __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest))
4653:info:build                                          ^~~~
4654:info:build snmp.c:677:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4655:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending SET request for system.sysLocation.", MODULE_NAME);
4656:info:build   ^
4657:info:build snmp.c:678:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4658:info:build   if (medusaSend(hSocket, bufSend, nSendBufferSize - 1, 0) < 0)
4659:info:build                           ^~~~~~~
4660:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
4661:info:build extern int medusaSend(int socket, char *buf, int size, int options);
4662:info:build                                         ^
4663:info:build snmp.c:698:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
4664:info:build   bufReceive = medusaReceiveRawDelay(hSocket, &nReceiveBufferSize, _psSessionData->nReadTimeout, _psSessionData->nReadTimeout);
4665:info:build              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4666:info:build snmp.c:701:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4667:info:build     writeError(ERR_DEBUG_MODULE, "[%s] No data received. Possible incorrect community string.", MODULE_NAME);
4668:info:build     ^
4669:info:build snmp.c:708:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4670:info:build     writeError(ERR_ERROR, "[%s] Responses received, however, no community strings were located.", MODULE_NAME);
4671:info:build     ^
4672:info:build snmp.c:713:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4673:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Creating password array for %d entries.", MODULE_NAME, *nPassCount);
4674:info:build     ^
4675:info:build snmp.c:722:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4676:info:build     writeError(ERR_DEBUG_MODULE, "[%s] Retrieving data for response: %d.", MODULE_NAME, i+1);
4677:info:build     ^
4678:info:build 48 warnings generated.
4679:info:build mv -f .deps/smtp-vrfy.Tpo .deps/smtp-vrfy.Po
4680:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT ssh.o -MD -MP -MF .deps/ssh.Tpo -c -o ssh.o ssh.c
4681:info:build 99 warnings generated.
4682:info:build mv -f .deps/smtp.Tpo .deps/smtp.Po
4683:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT svn.o -MD -MP -MF .deps/svn.Tpo -c -o svn.o svn.c
4684:info:build ssh.c:102:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4685:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4686:info:build     ^
4687:info:build ssh.c:109:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4688:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4689:info:build   ^
4690:info:build ssh.c:128:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4691:info:build     writeError(ERR_ERROR, "%s is expecting 0/1 parameters, but it was passed %d", MODULE_NAME, argc);
4692:info:build     ^
4693:info:build ssh.c:132:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4694:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4695:info:build     ^
4696:info:build ssh.c:125:20: warning: result of comparison of constant 1 with boolean expression is always true [-Wtautological-constant-compare]
4697:info:build   if ( !(0 <= argc <= 1) )
4698:info:build          ~~~~~~~~~ ^  ~
4699:info:build ssh.c:200:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4700:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
4701:info:build       ^
4702:info:build ssh.c:202:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4703:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4704:info:build     ^
4705:info:build ssh.c:207:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4706:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4707:info:build     ^
4708:info:build ssh.c:211:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4709:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME, psLogin->psServer->pHostIP);
4710:info:build     ^
4711:info:build In file included from ssh.c:227:
4712:info:build In file included from /opt/local/include/openssl/evp.h:16:
4713:info:build In file included from /opt/local/include/openssl/bio.h:20:
4714:info:build In file included from /opt/local/include/openssl/crypto.h:23:
4715:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4716:info:build DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING, char)
4717:info:build ^
4718:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4719:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4720:info:build                                          ^
4721:info:build /opt/local/include/openssl/safestack.h:28:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4722:info:build     { \
4723:info:build     ^
4724:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4725:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4726:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4727:info:build                                          ^
4728:info:build /opt/local/include/openssl/safestack.h:32:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4729:info:build     { \
4730:info:build     ^
4731:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4732:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4733:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4734:info:build                                          ^
4735:info:build /opt/local/include/openssl/safestack.h:36:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4736:info:build     { \
4737:info:build     ^
4738:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4739:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4740:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4741:info:build                                          ^
4742:info:build /opt/local/include/openssl/safestack.h:40:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4743:info:build     { \
4744:info:build     ^
4745:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4746:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4747:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4748:info:build                                          ^
4749:info:build /opt/local/include/openssl/safestack.h:44:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4750:info:build     { \
4751:info:build     ^
4752:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4753:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4754:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4755:info:build                                          ^
4756:info:build /opt/local/include/openssl/safestack.h:48:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4757:info:build     { \
4758:info:build     ^
4759:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4760:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4761:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4762:info:build                                          ^
4763:info:build /opt/local/include/openssl/safestack.h:52:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4764:info:build     { \
4765:info:build     ^
4766:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4767:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4768:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4769:info:build                                          ^
4770:info:build /opt/local/include/openssl/safestack.h:56:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4771:info:build     { \
4772:info:build     ^
4773:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4774:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4775:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4776:info:build                                          ^
4777:info:build /opt/local/include/openssl/safestack.h:60:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4778:info:build     { \
4779:info:build     ^
4780:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4781:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4782:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4783:info:build                                          ^
4784:info:build /opt/local/include/openssl/safestack.h:64:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4785:info:build     { \
4786:info:build     ^
4787:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4788:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4789:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4790:info:build                                          ^
4791:info:build /opt/local/include/openssl/safestack.h:69:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4792:info:build     { \
4793:info:build     ^
4794:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4795:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4796:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4797:info:build                                          ^
4798:info:build /opt/local/include/openssl/safestack.h:73:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4799:info:build     { \
4800:info:build     ^
4801:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4802:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4803:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4804:info:build                                          ^
4805:info:build /opt/local/include/openssl/safestack.h:77:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4806:info:build     { \
4807:info:build     ^
4808:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4809:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4810:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4811:info:build                                          ^
4812:info:build /opt/local/include/openssl/safestack.h:81:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4813:info:build     { \
4814:info:build     ^
4815:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4816:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4817:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4818:info:build                                          ^
4819:info:build /opt/local/include/openssl/safestack.h:85:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4820:info:build     { \
4821:info:build     ^
4822:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4823:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4824:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4825:info:build                                          ^
4826:info:build /opt/local/include/openssl/safestack.h:89:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4827:info:build     { \
4828:info:build     ^
4829:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4830:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4831:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4832:info:build                                          ^
4833:info:build /opt/local/include/openssl/safestack.h:93:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4834:info:build     { \
4835:info:build     ^
4836:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4837:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4838:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4839:info:build                                          ^
4840:info:build /opt/local/include/openssl/safestack.h:97:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4841:info:build     { \
4842:info:build     ^
4843:info:build /opt/local/include/openssl/safestack.h:159:1: error: function definition is not allowed here
4844:info:build /opt/local/include/openssl/safestack.h:129:42: note: expanded from macro 'DEFINE_SPECIAL_STACK_OF'
4845:info:build # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
4846:info:build                                          ^
4847:info:build /opt/local/include/openssl/safestack.h:101:5: note: expanded from macro 'SKM_DEFINE_STACK_OF'
4848:info:build     { \
4849:info:build     ^
4850:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
4851:info:build 30 warnings generated.
4852:info:build mv -f .deps/snmp.Tpo .deps/snmp.Po
4853:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I../.. -I../../src   -I/opt/local/include -g -DDEBUG -fPIC -I/usr/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/include/postgresql -I/usr/include/pgsql -I/usr/include/afpfs-ng -I/opt/local/include  -I/opt/local/include/apr-1   -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10  -pipe -Os -arch x86_64 -MT telnet.o -MD -MP -MF .deps/telnet.Tpo -c -o telnet.o telnet.c
4854:info:build 9 warnings and 20 errors generated.
4855:info:build make[3]: *** [ssh.o] Error 1
4856:info:build make[3]: *** Waiting for unfinished jobs....
4857:info:build telnet.c:117:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4858:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
4859:info:build     ^
4860:info:build telnet.c:124:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4861:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
4862:info:build   ^
4863:info:build telnet.c:146:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4864:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
4865:info:build     ^
4866:info:build telnet.c:151:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4867:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
4868:info:build     ^
4869:info:build telnet.c:143:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
4870:info:build   if ( !(0 <= argc <= 3) )
4871:info:build          ~~~~~~~~~ ^  ~
4872:info:build telnet.c:199:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
4873:info:build   if (getNextCredSet(_psLogin, psCredSet) == FAILURE)
4874:info:build       ^
4875:info:build telnet.c:201:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4876:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
4877:info:build     ^
4878:info:build telnet.c:206:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4879:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, _psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
4880:info:build     ^
4881:info:build telnet.c:210:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4882:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
4883:info:build     ^
4884:info:build telnet.c:239:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4885:info:build         writeError(ERR_ERROR, "[%s] Failed to connect, port %d was not open on %s", MODULE_NAME, params.nPort, _psLogin->psServer->pHostIP);
4886:info:build         ^
4887:info:build telnet.c:241:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4888:info:build         setPassResult(_psLogin, psCredSet->pPass);
4889:info:build         ^
4890:info:build telnet.c:245:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4891:info:build       writeError(ERR_DEBUG_MODULE, "Connected");
4892:info:build       ^
4893:info:build telnet.c:259:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4894:info:build         setPassResult(_psLogin, psCredSet->pPass);
4895:info:build         ^
4896:info:build telnet.c:326:19: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
4897:info:build                   writeVerbose(VB_NONE_FILE, "Password Prompt Only: %s\n", _psLogin->psServer->pHostIP);
4898:info:build                   ^
4899:info:build telnet.c:354:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4900:info:build         setPassResult(_psLogin, psCredSet->pPass);
4901:info:build         ^
4902:info:build telnet.c:433:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4903:info:build     writeError(ERR_ERROR, "%s failed: socket was invalid", MODULE_NAME);
4904:info:build     ^
4905:info:build telnet.c:435:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4906:info:build     setPassResult(*login, szPassword);
4907:info:build     ^
4908:info:build telnet.c:448:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4909:info:build       writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4910:info:build       ^
4911:info:build telnet.c:450:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4912:info:build       setPassResult(*login, szPassword);
4913:info:build       ^
4914:info:build telnet.c:461:9: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4915:info:build         writeError(ERR_ERROR, "%s: Telnet did not respond to the sending of the user name '%s' in a timely fashion - is it down or refusing connections?", MODULE_NAME, szLogin);
4916:info:build         ^
4917:info:build telnet.c:463:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4918:info:build         setPassResult(*login, szPassword);
4919:info:build         ^
4920:info:build telnet.c:473:9: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4921:info:build         setPassResult(*login, szPassword);
4922:info:build         ^
4923:info:build telnet.c:499:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4924:info:build             setPassResult(*login, szPassword);
4925:info:build             ^
4926:info:build telnet.c:511:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4927:info:build     writeError(ERR_DEBUG_MODULE, "[%s] we are skipping a username", MODULE_NAME);
4928:info:build     ^
4929:info:build telnet.c:515:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4930:info:build     writeError(ERR_ERROR, "[%s] No login prompt detected.", MODULE_NAME);
4931:info:build     ^
4932:info:build telnet.c:526:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4933:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4934:info:build     ^
4935:info:build telnet.c:528:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4936:info:build     setPassResult(*login, szPassword);
4937:info:build     ^
4938:info:build telnet.c:536:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4939:info:build     writeError(ERR_ERROR, "timeout waiting for response from server after sending password");
4940:info:build     ^
4941:info:build telnet.c:538:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4942:info:build     setPassResult(*login, szPassword);
4943:info:build     ^
4944:info:build telnet.c:557:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4945:info:build       writeError(ERR_DEBUG_MODULE, "Server responded with Cisco \"Authentication failed.\" message.");
4946:info:build       ^
4947:info:build telnet.c:559:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4948:info:build       setPassResult(*login, szPassword);
4949:info:build       ^
4950:info:build telnet.c:564:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4951:info:build       writeError(ERR_DEBUG_MODULE, "Server responded with Cisco \"Login invalid\" message.");
4952:info:build       ^
4953:info:build telnet.c:566:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4954:info:build       setPassResult(*login, szPassword);
4955:info:build       ^
4956:info:build telnet.c:574:7: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4957:info:build       setPassResult(*login, szPassword);
4958:info:build       ^
4959:info:build telnet.c:586:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4960:info:build             writeError(ERR_DEBUG_MODULE, "unsuccessful login - user '%s' with a password of '%s'", szLogin, szPassword);
4961:info:build             ^
4962:info:build telnet.c:588:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4963:info:build             setPassResult(*login, szPassword);
4964:info:build             ^
4965:info:build telnet.c:601:13: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4966:info:build             writeError(ERR_DEBUG_MODULE, "unsuccessful login with a password of '%s'", szPassword);
4967:info:build             ^
4968:info:build telnet.c:603:13: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4969:info:build             setPassResult(*login, szPassword);
4970:info:build             ^
4971:info:build telnet.c:615:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4972:info:build   setPassResult(*login, szPassword);
4973:info:build   ^
4974:info:build telnet.c:632:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4975:info:build     writeError(ERR_ERROR, "%s failed: socket was invalid", MODULE_NAME);
4976:info:build     ^
4977:info:build telnet.c:634:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4978:info:build     setPassResult(*psLogin, szPassword);
4979:info:build     ^
4980:info:build telnet.c:670:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4981:info:build     writeError(ERR_ERROR, "%s failed: medusaSend was not successful", MODULE_NAME);
4982:info:build     ^
4983:info:build telnet.c:672:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4984:info:build     setPassResult(*psLogin, szPassword);
4985:info:build     ^
4986:info:build telnet.c:680:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4987:info:build     writeError(ERR_ERROR, "[%s] Timeout waiting for response from server after sending password", MODULE_NAME);
4988:info:build     ^
4989:info:build telnet.c:682:5: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
4990:info:build     setPassResult(*psLogin, szPassword);
4991:info:build     ^
4992:info:build telnet.c:689:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4993:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4994:info:build     ^
4995:info:build telnet.c:699:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4996:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
4997:info:build     ^
4998:info:build telnet.c:709:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
4999:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
5000:info:build     ^
5001:info:build telnet.c:732:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5002:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
5003:info:build     ^
5004:info:build telnet.c:742:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5005:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
5006:info:build     ^
5007:info:build telnet.c:752:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5008:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
5009:info:build     ^
5010:info:build telnet.c:762:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5011:info:build     writeError(ERR_ERROR, "[%s] %s", MODULE_NAME, szErrorMsg);
5012:info:build     ^
5013:info:build telnet.c:771:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5014:info:build     writeError(ERR_INFO, "[%s] CPF1107 - Password not correct for user profile.", MODULE_NAME);
5015:info:build     ^
5016:info:build telnet.c:781:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
5017:info:build   setPassResult((*psLogin), szPass);
5018:info:build   ^
5019:info:build 56 warnings generated.
5020:info:build telnet.c:797:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5021:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Sending IAC DO LOGOUT command.", MODULE_NAME);
5022:info:build   ^
5023:info:build telnet.c:798:27: warning: passing 'unsigned char [3]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
5024:info:build   if (medusaSend(hSocket, bufSend, 3, 0) < 0)
5025:info:build                           ^~~~~~~
5026:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
5027:info:build extern int medusaSend(int socket, char *buf, int size, int options);
5028:info:build                                         ^
5029:info:build telnet.c:823:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5030:info:build     writeError(ERR_DEBUG_MODULE, "Handling IAC Command...");
5031:info:build     ^
5032:info:build telnet.c:841:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
5033:info:build       medusaSend(hSocket, bufTemp, 3, 0);
5034:info:build                           ^~~~~~~
5035:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
5036:info:build extern int medusaSend(int socket, char *buf, int size, int options);
5037:info:build                                         ^
5038:info:build telnet.c:846:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
5039:info:build       medusaSend(hSocket, bufTemp, 3, 0);
5040:info:build                           ^~~~~~~
5041:info:build ../../src/medusa-net.h:86:41: note: passing argument to parameter 'buf' here
5042:info:build extern int medusaSend(int socket, char *buf, int size, int options);
5043:info:build                                         ^
5044:info:build telnet.c:854:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5045:info:build     writeError(ERR_DEBUG_MODULE, "Getting more data");
5046:info:build     ^
5047:info:build mv -f .deps/smbnt.Tpo .deps/smbnt.Po
5048:info:build svn.c:92:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5049:info:build     writeError(ERR_ERROR, "%s reports an error in summaryUsage() : ppszSummary must be NULL when called", MODULE_NAME);
5050:info:build     ^
5051:info:build svn.c:99:3: warning: implicit declaration of function 'writeVerbose' is invalid in C99 [-Wimplicit-function-declaration]
5052:info:build   writeVerbose(VB_NONE, "%s (%s) %s :: %s\n", MODULE_NAME, MODULE_VERSION, MODULE_AUTHOR, MODULE_SUMMARY_USAGE);
5053:info:build   ^
5054:info:build svn.c:121:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5055:info:build     writeError(ERR_ERROR, "%s is expecting 0 parameters, but it was passed %d", MODULE_NAME, argc);
5056:info:build     ^
5057:info:build svn.c:125:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5058:info:build     writeError(ERR_DEBUG_MODULE, "OMG teh %s module has been called!!", MODULE_NAME);
5059:info:build     ^
5060:info:build svn.c:118:20: warning: result of comparison of constant 3 with boolean expression is always true [-Wtautological-constant-out-of-range-compare]
5061:info:build   if ( !(0 <= argc <= 3) )
5062:info:build          ~~~~~~~~~ ^  ~
5063:info:build svn.c:172:7: warning: implicit declaration of function 'getNextCredSet' is invalid in C99 [-Wimplicit-function-declaration]
5064:info:build   if (getNextCredSet(psLogin, psCredSet) == FAILURE)
5065:info:build       ^
5066:info:build svn.c:174:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5067:info:build     writeError(ERR_ERROR, "[%s] Error retrieving next credential set to test.", MODULE_NAME);
5068:info:build     ^
5069:info:build svn.c:179:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5070:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s user: %s", MODULE_NAME, psLogin->psServer->pHostIP, psCredSet->psUser->pUser);
5071:info:build     ^
5072:info:build svn.c:183:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5073:info:build     writeError(ERR_DEBUG_MODULE, "[%s] module started for host: %s - no more available users to test.", MODULE_NAME);
5074:info:build     ^
5075:info:build svn.c:206:3: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5076:info:build   writeError(ERR_DEBUG_MODULE, "[%s] Set URL: %s", MODULE_NAME, _psSessionData->szURL);
5077:info:build   ^
5078:info:build svn.c:297:7: warning: implicit declaration of function 'svn_cmdline_init' is invalid in C99 [-Wimplicit-function-declaration]
5079:info:build   if (svn_cmdline_init ("MEDUSA", stderr) != EXIT_SUCCESS)
5080:info:build       ^
5081:info:build svn.c:299:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5082:info:build     writeError(ERR_ERROR, "[%s] LIBSVN svn_cmdline_init() Function Failed.", MODULE_NAME);
5083:info:build     ^
5084:info:build svn.c:307:14: warning: 'svn_client_create_context' is deprecated [-Wdeprecated-declarations]
5085:info:build   if ((err = svn_client_create_context (&ctx, pool)))
5086:info:build              ^
5087:info:build /opt/local/include/subversion-1/svn_client.h:1115:1: note: 'svn_client_create_context' has been explicitly marked deprecated here
5088:info:build SVN_DEPRECATED
5089:info:build ^
5090:info:build /opt/local/include/subversion-1/svn_types.h:58:42: note: expanded from macro 'SVN_DEPRECATED'
5091:info:build #   define SVN_DEPRECATED __attribute__((deprecated))
5092:info:build                                          ^
5093:info:build svn.c:309:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5094:info:build     writeError(ERR_ERROR, "[%s] LIBSVN svn_client_create_context() Function Failed.", MODULE_NAME);
5095:info:build     ^
5096:info:build svn.c:336:9: warning: 'svn_client_ls' is deprecated [-Wdeprecated-declarations]
5097:info:build   err = svn_client_ls (&dirents, _psSessionData->szURL, &revision, FALSE, ctx, pool);
5098:info:build         ^
5099:info:build /opt/local/include/subversion-1/svn_client.h:6910:1: note: 'svn_client_ls' has been explicitly marked deprecated here
5100:info:build SVN_DEPRECATED
5101:info:build ^
5102:info:build /opt/local/include/subversion-1/svn_types.h:58:42: note: expanded from macro 'SVN_DEPRECATED'
5103:info:build #   define SVN_DEPRECATED __attribute__((deprecated))
5104:info:build                                          ^
5105:info:build svn.c:342:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5106:info:build       writeError(ERR_ERROR, "[%s] The following SVN user does not appear to exist: %s", MODULE_NAME, szLogin);
5107:info:build       ^
5108:info:build svn.c:348:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5109:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Login attempt failed.", MODULE_NAME);
5110:info:build       ^
5111:info:build svn.c:354:7: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5112:info:build       writeError(ERR_DEBUG_MODULE, "[%s] Access refused. Unknown error: %s", MODULE_NAME, err->message);
5113:info:build       ^
5114:info:build svn.c:361:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5115:info:build     writeError(ERR_ERROR, "[%s] Authentication Error (%d): %s.", MODULE_NAME, err->apr_err, err->message);
5116:info:build     ^
5117:info:build svn.c:367:5: warning: implicit declaration of function 'writeError' is invalid in C99 [-Wimplicit-function-declaration]
5118:info:build     writeError(ERR_DEBUG_MODULE, "%s : Login attempt successful.", MODULE_NAME);
5119:info:build     ^
5120:info:build svn.c:372:3: warning: implicit declaration of function 'setPassResult' is invalid in C99 [-Wimplicit-function-declaration]
5121:info:build   setPassResult((*psLogin), szPassword);
5122:info:build   ^
5123:info:build 21 warnings generated.
5124:info:build mv -f .deps/svn.Tpo .deps/svn.Po
5125:info:build 60 warnings generated.
5126:info:build mv -f .deps/telnet.Tpo .deps/telnet.Po
5127:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src/modsrc'
5128:info:build make[2]: *** [all-recursive] Error 1
5129:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1/src'
5130:info:build make[1]: *** [all-recursive] Error 1
5131:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
5132:info:build make: *** [all] Error 2
5133:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1'
5134:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/work/medusa-2.1.1" && /usr/bin/make -j4 -w all
5135:info:build Exit code: 2
5136:error:build Failed to build medusa: command execution failed
5137:debug:build Error code: CHILDSTATUS 20679 2
5138:debug:build Backtrace: command execution failed
5139:debug:build     while executing
5140:debug:build "system {*}$notty {*}$nice $fullcmdstring"
5141:debug:build     invoked from within
5142:debug:build "command_exec build"
5143:debug:build     (procedure "portbuild::build_main" line 8)
5144:debug:build     invoked from within
5145:debug:build "$procedure $targetname"
5146:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_medusa/medusa/main.log for details.