Hi All,
I compiled nessus 1.3.3 under OSX 1.2.3 and got a lot of warnings that
are not present in version 1.2.7. I've never been able to compile the
3com plugin, but the hydra plugins compiles fine under 1.2.7 and won't
compile under 1.3.3. I also get a warning on nasl_grammar.y
(nasl_grammar.y contains 22 shift/reduce conflicts.)
Is anyone getting a cleaner compile output on Jaguar?
Cheers!
JS
./gencode.h:166: bad attribute specification, expecting identifier,
found `volatile'
./gencode.h:166: illegal function definition, found `)'
popen.c:110: warning: passing arg 2 of `execvp' from incompatible
pointer type
services.c:89: warning: passing arg 5 of `bsearch' from incompatible
pointer type
ranlib: file: .libs/libnessus.a(snprintf.o) has no symbols
nasl_func.c:102: warning: passing arg 4 of `qsort' from incompatible
pointer type
html_graph_output.c:1106: warning: implicit declaration of function
`out_graph'
gdchart0.94b/gdc.h:67: warning: `_gdccfoo1' defined but not used
gdchart0.94b/gdc.h:68: warning: `_gdccfoo2' defined but not used
html_graph_output.c:83: warning: `complete' defined but not used
gdc.c:8: warning: missing braces around initializer
gdc.c:8: warning: (near initialization for `GDC_fontc[0]')
gdc.h:67: warning: `_gdccfoo1' defined but not used
gdc.h:68: warning: `_gdccfoo2' defined but not used
gdchart.c:141: warning: unused variable `lnclr'
gdchart.c:142: warning: unused variable `shclr'
gdchart.c:497: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:545: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:807: warning: suggest parentheses around assignment used as
truth value
gdchart.c:902: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:907: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:952: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:1262: warning: unused variable `lasty'
gdchart.c:1727: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:1742: warning: suggest explicit braces to avoid ambiguous
`else'
gdchart.c:343: warning: unused variable `k'
gdchart.c:358: warning: unused variable `volpoly'
gdchart.c:432: warning: unused variable `ThumbDColor'
gdchart.c:433: warning: unused variable `ThumbLblColor'
gdchart.c:434: warning: unused variable `ThumbUColor'
gdchart.c:1339: warning: enumeration value `GDC_STACK_SUM' not handled
in switch
gdchart.c:350: warning: `vyorig' might be used uninitialized in this
function
gdchart.c:420: warning: `uvol' might be used uninitialized in this
function
gdchart.c:426: warning: `VolColor' might be used uninitialized in this
function
gdchart.c:437: warning: `AnnoteColor' might be used uninitialized in
this function
gdc_pie.c:111: warning: suggest parentheses around && within ||
gdc_pie.c:114: warning: suggest parentheses around && within ||
gdc_pie.c:209: warning: unused variable `label_explode_limit'
gdc_pie.c:168: warning: unused variable `num_slices1'
gdc_pie.c:169: warning: unused variable `num_slices2'
gdc_pie.c:170: warning: unused variable `any_too_small'
gdc_pie.c:182: warning: unused variable `do3Dx'
gdc_pie.c:183: warning: unused variable `do3Dy'
gdc_pie.c:149: warning: `EdgeColor' might be used uninitialized in this
function
gdc_pie.c:150: warning: `EdgeColorShd' might be used uninitialized in
this function
gdc_pie.c:584: warning: `pcty' might be used uninitialized in this
function
regex.c:1647: warning: suggest explicit braces to avoid ambiguous `else'
regex.c:1667: warning: suggest explicit braces to avoid ambiguous `else'
regex.c:3242: warning: `regstart' might be used uninitialized in this
function
regex.c:3242: warning: `regend' might be used uninitialized in this
function
regex.c:3249: warning: `old_regstart' might be used uninitialized in
this function
regex.c:3249: warning: `old_regend' might be used uninitialized in this
function
regex.c:3257: warning: `reg_info' might be used uninitialized in this
function
regex.c:3264: warning: `best_regstart' might be used uninitialized in
this function
regex.c:3264: warning: `best_regend' might be used uninitialized in
this function
regex.c:3277: warning: `reg_dummy' might be used uninitialized in this
function
regex.c:3278: warning: `reg_info_dummy' might be used uninitialized in
this function
nessus.c:595: warning: implicit declaration of function
`comm_get_dependencies'
attack.c:514: warning: long int format, int32_t arg (arg 3)
attack.c:514: warning: long int format, int arg (arg 4)
nes_plugins.c:93: warning: unused variable `nsSymbol'
save_kb.c:388: warning: long int format, int32_t arg (arg 3)
pluginlaunch.c:197: warning: unused variable `preferences'
pluginlaunch.c:232: warning: long int format, int32_t arg (arg 4)
pluginlaunch.c:232: warning: long int format, int arg (arg 5)
/usr/include/./libnet/libnet-macros.h:96: warning: redefinition of
macro FIX
/usr/local/include/nessus/includes.h:240: warning: this is the location
of the previous definition
/usr/include/./libnet/libnet-macros.h:97: warning: redefinition of
macro UNFIX
/usr/local/include/nessus/includes.h:241: warning: this is the location
of the previous definition
/usr/include/libnet.h:87: #error "byte order has not been specified,
you'll
/usr/include/libnet.h:88: undefined type, found `need'
/usr/include/libnet.h:88: illegal external declaration, missing `;'
after `to'
/usr/include/libnet.h:88: undefined type, found `define'
/usr/include/libnet.h:88: illegal external declaration, missing `;'
after `either'
/usr/include/libnet.h:88: illegal external declaration, missing `;'
after `or'
/usr/include/libnet.h:88: undefined type, found `See'
/usr/include/libnet.h:88: illegal external declaration, missing `;'
after `the'
/usr/include/libnet.h:89: illegal external declaration, missing `;'
after `regarding'
/usr/include/libnet.h:89: illegal external declaration, missing `;'
after `libnet'
/usr/include/libnet.h:89: illegal method definition, found `script'
/usr/include/libnet.h:89: warning: ANSI C forbids newline in string
constant
/usr/include/libnet.h:95: unterminated string constant
3com_hub.c:34: illegal method definition, missing `{' after `desc'
3com_hub.c:35: illegal external declaration, found `{'
3com_hub.c:86: unterminated #if conditional
hydra.c:58: warning: ANSI C forbids newline in string constant
hydra.c:63: warning: ANSI C forbids newline in string constant
hydra.c:59:1: warning: multi-line string literals are deprecated
hydra.c:65:1: warning: multi-line string literals are deprecated
nmap_wrapper.c:193: warning: passing arg 2 of `nessus_popen' from
incompatible pointer type
whisker_wrapper.c:203: warning: assignment discards qualifiers from
pointer target type
- Re: nessus compile warnings in OSX Javier Solorzano
- Re: nessus compile warnings in OSX Renaud Deraison
