Jesse, Install the package 'xdevel' and you should be ok.
Tony
>>> "Purdom, Jesse" <[EMAIL PROTECTED]> 12/23/02 10:51AM >>>
Hi all,
I have been attempting to install Nessus 1.2.7 and am having a rather difficult time.
I am running SuSE Linux v8.0. I have made sure that the software required for
successful compilation on a SuSE system is installed (according the the Nessus FAQ,
that is: bison, flex, gtkdev and glibdev). I have successfully installed and ran
Nessus 1.2.6 in the past. I am able to compile Nessus-libraries and libnasl without
problem. When I attempt to compile Nessus-core the ./configure runs just fine, but
Make produces the following output:
purdomj@penguin1:~/downloads/nessus-core> make
cd nessus && make
make[1]: Entering directory `/home/purdomj/downloads/nessus-core/nessus'
gcc -g -O2 `sh ./cflags` -c auth.c
gcc -g -O2 `sh ./cflags` -c comm.c
gcc -g -O2 `sh ./cflags` -c sighand.c
gcc -g -O2 `sh ./cflags` -c xstuff.c
gcc -g -O2 `sh ./cflags` -c cli.c
gcc -g -O2 `sh ./cflags` -c parser.c
gcc -g -O2 `sh ./cflags` -c plugin_infos.c
gcc -g -O2 `sh ./cflags` -c preferences.c
gcc -g -O2 `sh ./cflags` -c families.c
gcc -g -O2 `sh ./cflags` -c attack.c
gcc -g -O2 `sh ./cflags` -c report.c
gcc -g -O2 `sh ./cflags` -c report_ng.c
gcc -g -O2 `sh ./cflags` -c report_save.c
gcc -g -O2 `sh ./cflags` -c report_utils.c
gcc -g -O2 `sh ./cflags` -c nsr_output.c
gcc -g -O2 `sh ./cflags` -c nbe_output.c
gcc -g -O2 `sh ./cflags` -c html_output.c
gcc -g -O2 `sh ./cflags` -c latex_output.c
gcc -g -O2 `sh ./cflags` -c text_output.c
gcc -g -O2 `sh ./cflags` -c xml_output.c
gcc -g -O2 `sh ./cflags` -c xml_output_ng.c
gcc -g -O2 `sh ./cflags` -c html_graph_output.c
html_graph_output.c: In function `make_index':
html_graph_output.c:1084: warning: implicit declaration of function `out_graph'
html_graph_output.c: At top level:
gdchart0.94b/gdc.h:67: warning: `_gdccfoo1' defined but not used
gdchart0.94b/gdc.h:68: warning: `_gdccfoo2' defined but not used
gcc -g -O2 `sh ./cflags` -c error_dialog.c
gcc -g -O2 `sh ./cflags` -c password_dialog.c
gcc -g -O2 `sh ./cflags` -c monitor_dialog.c
gcc -g -O2 `sh ./cflags` -c backend.c
gcc -g -O2 `sh ./cflags` -c data_mining.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_misc.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_scan_opt.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_user.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_auth.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_plugins_prefs.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_plugins.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_target.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_about.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_kb.c
gcc -g -O2 `sh ./cflags` -c netmap.c
gcc -g -O2 `sh ./cflags` -c detached_index.c
gcc -g -O2 `sh ./cflags` -c read_target_file.c
cd gdchart0.94b && make
make[2]: Entering directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc.c
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdchart.c
gdchart.c:69: warning: `/*' within comment
gdchart.c:761: warning: `/*' within comment
gdchart.c:1782: warning: `/*' within comment
gdchart.c:1822: warning: `/*' within comment
gdchart.c: In function `draw_3d_line':
gdchart.c:142: warning: unused variable `shclr'
gdchart.c:141: warning: unused variable `lnclr'
gdchart.c: In function `out_graph':
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:1339: warning: enumeration value `GDC_STACK_SUM' not handled in switch
gdchart.c:1727: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:1742: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:434: warning: unused variable `ThumbUColor'
gdchart.c:433: warning: unused variable `ThumbLblColor'
gdchart.c:432: warning: unused variable `ThumbDColor'
gdchart.c:358: warning: unused variable `volpoly'
gdchart.c:343: warning: unused variable `k'
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c price_conv.c
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc_pie.c
gdc_pie.c:389: warning: `/*' within comment
gdc_pie.c: In function `ocmpr':
gdc_pie.c:111: warning: suggest parentheses around && within ||
gdc_pie.c:114: warning: suggest parentheses around && within ||
gdc_pie.c: In function `pie_gif':
gdc_pie.c:209: warning: unused variable `label_explode_limit'
gdc_pie.c:183: warning: unused variable `do3Dy'
gdc_pie.c:182: warning: unused variable `do3Dx'
gdc_pie.c:170: warning: unused variable `any_too_small'
gdc_pie.c:169: warning: unused variable `num_slices2'
gdc_pie.c:168: warning: unused variable `num_slices1'
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
cd gd1.3 ; make -f Makefile libgd.a
make[3]: Entering directory
`/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
gcc -g -O2 -c -o gd.o gd.c
gcc -g -O2 -c -o gdfontt.o gdfontt.c
gcc -g -O2 -c -o gdfonts.o gdfonts.c
gcc -g -O2 -c -o gdfontmb.o gdfontmb.c
gcc -g -O2 -c -o gdfontl.o gdfontl.c
gcc -g -O2 -c -o gdfontg.o gdfontg.c
rm -f libgd.a
/usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
gdfontl.o gdfontg.o
ranlib libgd.a
make[3]: Leaving directory
`/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
make[2]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ./cflags` -c regex.c
gcc -g -O2 `sh ./cflags` -c filter.c
gcc -g -O2 `sh ./cflags` -c dirutils.c
gcc -g -O2 `sh ./cflags` -c sslui.c
gcc -g -O2 `sh ./cflags` -c nessus.c
In file included from /usr/include/openssl/conf.h:66,
from /usr/include/openssl/x509v3.h:63,
from nessus.c:74:
/usr/include/openssl/e_os.h:155: warning: `closesocket' redefined
globals.h:40: warning: this is the location of the previous definition
/usr/include/openssl/e_os.h:307: warning: `EXIT' redefined
/home/purdomj/downloads/nessus-core/include/ntcompat.h:34: warning: this is the
location of the previous definition
nessus.c: In function `connect_to_nessusd':
nessus.c:591: warning: implicit declaration of function `comm_get_dependencies'
gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o
families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o
nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o
html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o
data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o
prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o
prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o
gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o
gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus
`/usr/local/bin/nessus-config --libs` -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib
gdchart0.94b/gd1.3/libgd.a -lm
/usr/i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus'
make: *** [client] Error 2
Any thoughts on what may be causing this would be greatly appreciated. I am not very
experienced when it comes to trouble-shooting software compilation issues as I am not
a programmer. I suspect that this is being caused by something I've missed, but I
have no idea what that could be.
Thanks in advance for your help.
Jesse
Jesse,
Install the package 'xdevel' and you should be
ok.
Tony
>>> "Purdom, Jesse" <[EMAIL PROTECTED]> 12/23/02 10:51AM >>>
Hi
all,
I have been
attempting to install Nessus 1.2.7 and am having a rather difficult time.
I am running SuSE Linux v8.0. I have made sure that the software required
for successful compilation on a SuSE system is installed (according the the
Nessus FAQ, that is: bison, flex, gtkdev and glibdev). I have successfully
installed and ran Nessus 1.2.6 in the past. I am able to compile
Nessus-libraries and libnasl without problem. When I attempt to compile
Nessus-core the ./configure runs just fine, but Make produces the following
output:
purdomj@penguin1:~/downloads/nessus-core>
make
cd nessus && make
make[1]: Entering directory `/home/purdomj/downloads/nessus-core/nessus'
gcc -g -O2 `sh ./cflags` -c auth.c
gcc -g -O2 `sh ./cflags` -c comm.c
gcc -g -O2 `sh ./cflags` -c sighand.c
gcc -g -O2 `sh ./cflags` -c xstuff.c
gcc -g -O2 `sh ./cflags` -c cli.c
gcc -g -O2 `sh ./cflags` -c parser.c
gcc -g -O2 `sh ./cflags` -c plugin_infos.c
gcc -g -O2 `sh ./cflags` -c preferences.c
gcc -g -O2 `sh ./cflags` -c families.c
gcc -g -O2 `sh ./cflags` -c attack.c
gcc -g -O2 `sh ./cflags` -c report.c
gcc -g -O2 `sh ./cflags` -c report_ng.c
gcc -g -O2 `sh ./cflags` -c report_save.c
gcc -g -O2 `sh ./cflags` -c report_utils.c
gcc -g -O2 `sh ./cflags` -c nsr_output.c
gcc -g -O2 `sh ./cflags` -c nbe_output.c
gcc -g -O2 `sh ./cflags` -c html_output.c
gcc -g -O2 `sh ./cflags` -c latex_output.c
gcc -g -O2 `sh ./cflags` -c text_output.c
gcc -g -O2 `sh ./cflags` -c xml_output.c
gcc -g -O2 `sh ./cflags` -c xml_output_ng.c
gcc -g -O2 `sh ./cflags` -c html_graph_output.c
html_graph_output.c: In function `make_index':
html_graph_output.c:1084: warning: implicit declaration of function `out_graph'
html_graph_output.c: At top level:
gdchart0.94b/gdc.h:67: warning: `_gdccfoo1' defined but not used
gdchart0.94b/gdc.h:68: warning: `_gdccfoo2' defined but not used
gcc -g -O2 `sh ./cflags` -c error_dialog.c
gcc -g -O2 `sh ./cflags` -c password_dialog.c
gcc -g -O2 `sh ./cflags` -c monitor_dialog.c
gcc -g -O2 `sh ./cflags` -c backend.c
gcc -g -O2 `sh ./cflags` -c data_mining.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_misc.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_scan_opt.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_user.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_auth.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_plugins_prefs.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_plugins.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_target.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_about.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_kb.c
gcc -g -O2 `sh ./cflags` -c netmap.c
gcc -g -O2 `sh ./cflags` -c detached_index.c
gcc -g -O2 `sh ./cflags` -c read_target_file.c
cd gdchart0.94b && make
make[2]: Entering directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc.c
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdchart.c
gdchart.c:69: warning: `/*' within comment
gdchart.c:761: warning: `/*' within comment
gdchart.c:1782: warning: `/*' within comment
gdchart.c:1822: warning: `/*' within comment
gdchart.c: In function `draw_3d_line':
gdchart.c:142: warning: unused variable `shclr'
gdchart.c:141: warning: unused variable `lnclr'
gdchart.c: In function `out_graph':
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:1339: warning: enumeration value `GDC_STACK_SUM' not handled in switch
gdchart.c:1727: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:1742: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:434: warning: unused variable `ThumbUColor'
gdchart.c:433: warning: unused variable `ThumbLblColor'
gdchart.c:432: warning: unused variable `ThumbDColor'
gdchart.c:358: warning: unused variable `volpoly'
gdchart.c:343: warning: unused variable `k'
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c price_conv.c
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc_pie.c
gdc_pie.c:389: warning: `/*' within comment
gdc_pie.c: In function `ocmpr':
gdc_pie.c:111: warning: suggest parentheses around && within ||
gdc_pie.c:114: warning: suggest parentheses around && within ||
gdc_pie.c: In function `pie_gif':
gdc_pie.c:209: warning: unused variable `label_explode_limit'
gdc_pie.c:183: warning: unused variable `do3Dy'
gdc_pie.c:182: warning: unused variable `do3Dx'
gdc_pie.c:170: warning: unused variable `any_too_small'
gdc_pie.c:169: warning: unused variable `num_slices2'
gdc_pie.c:168: warning: unused variable `num_slices1'
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
cd gd1.3 ; make -f Makefile libgd.a
make[3]: Entering directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
gcc -g -O2 -c -o gd.o gd.c
gcc -g -O2 -c -o gdfontt.o gdfontt.c
gcc -g -O2 -c -o gdfonts.o gdfonts.c
gcc -g -O2 -c -o gdfontmb.o gdfontmb.c
gcc -g -O2 -c -o gdfontl.o gdfontl.c
gcc -g -O2 -c -o gdfontg.o gdfontg.c
rm -f libgd.a
/usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
gdfontl.o gdfontg.o
ranlib libgd.a
make[3]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
make[2]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ./cflags` -c regex.c
gcc -g -O2 `sh ./cflags` -c filter.c
gcc -g -O2 `sh ./cflags` -c dirutils.c
gcc -g -O2 `sh ./cflags` -c sslui.c
gcc -g -O2 `sh ./cflags` -c nessus.c
In file included from /usr/include/openssl/conf.h:66,
from /usr/include/openssl/x509v3.h:63,
from nessus.c:74:
/usr/include/openssl/e_os.h:155: warning: `closesocket' redefined
globals.h:40: warning: this is the location of the previous definition
/usr/include/openssl/e_os.h:307: warning: `EXIT' redefined
/home/purdomj/downloads/nessus-core/include/ntcompat.h:34: warning: this is the location of the previous definition
nessus.c: In function `connect_to_nessusd':
nessus.c:591: warning: implicit declaration of function `comm_get_dependencies'
gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus `/usr/local/bin/nessus-config --libs` -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib gdchart0.94b/gd1.3/libgd.a -lm
/usr/i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus'
make: *** [client] Error 2
cd nessus && make
make[1]: Entering directory `/home/purdomj/downloads/nessus-core/nessus'
gcc -g -O2 `sh ./cflags` -c auth.c
gcc -g -O2 `sh ./cflags` -c comm.c
gcc -g -O2 `sh ./cflags` -c sighand.c
gcc -g -O2 `sh ./cflags` -c xstuff.c
gcc -g -O2 `sh ./cflags` -c cli.c
gcc -g -O2 `sh ./cflags` -c parser.c
gcc -g -O2 `sh ./cflags` -c plugin_infos.c
gcc -g -O2 `sh ./cflags` -c preferences.c
gcc -g -O2 `sh ./cflags` -c families.c
gcc -g -O2 `sh ./cflags` -c attack.c
gcc -g -O2 `sh ./cflags` -c report.c
gcc -g -O2 `sh ./cflags` -c report_ng.c
gcc -g -O2 `sh ./cflags` -c report_save.c
gcc -g -O2 `sh ./cflags` -c report_utils.c
gcc -g -O2 `sh ./cflags` -c nsr_output.c
gcc -g -O2 `sh ./cflags` -c nbe_output.c
gcc -g -O2 `sh ./cflags` -c html_output.c
gcc -g -O2 `sh ./cflags` -c latex_output.c
gcc -g -O2 `sh ./cflags` -c text_output.c
gcc -g -O2 `sh ./cflags` -c xml_output.c
gcc -g -O2 `sh ./cflags` -c xml_output_ng.c
gcc -g -O2 `sh ./cflags` -c html_graph_output.c
html_graph_output.c: In function `make_index':
html_graph_output.c:1084: warning: implicit declaration of function `out_graph'
html_graph_output.c: At top level:
gdchart0.94b/gdc.h:67: warning: `_gdccfoo1' defined but not used
gdchart0.94b/gdc.h:68: warning: `_gdccfoo2' defined but not used
gcc -g -O2 `sh ./cflags` -c error_dialog.c
gcc -g -O2 `sh ./cflags` -c password_dialog.c
gcc -g -O2 `sh ./cflags` -c monitor_dialog.c
gcc -g -O2 `sh ./cflags` -c backend.c
gcc -g -O2 `sh ./cflags` -c data_mining.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_misc.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_scan_opt.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_user.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_auth.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_dialog_plugins_prefs.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_plugins.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_target.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_about.c
gcc -g -O2 `sh ./cflags` -c prefs_dialog/prefs_kb.c
gcc -g -O2 `sh ./cflags` -c netmap.c
gcc -g -O2 `sh ./cflags` -c detached_index.c
gcc -g -O2 `sh ./cflags` -c read_target_file.c
cd gdchart0.94b && make
make[2]: Entering directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc.c
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdchart.c
gdchart.c:69: warning: `/*' within comment
gdchart.c:761: warning: `/*' within comment
gdchart.c:1782: warning: `/*' within comment
gdchart.c:1822: warning: `/*' within comment
gdchart.c: In function `draw_3d_line':
gdchart.c:142: warning: unused variable `shclr'
gdchart.c:141: warning: unused variable `lnclr'
gdchart.c: In function `out_graph':
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:1339: warning: enumeration value `GDC_STACK_SUM' not handled in switch
gdchart.c:1727: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:1742: warning: suggest explicit braces to avoid ambiguous `else'
gdchart.c:434: warning: unused variable `ThumbUColor'
gdchart.c:433: warning: unused variable `ThumbLblColor'
gdchart.c:432: warning: unused variable `ThumbDColor'
gdchart.c:358: warning: unused variable `volpoly'
gdchart.c:343: warning: unused variable `k'
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
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c price_conv.c
gcc -g -O2 `sh ../cflags` -Igd1.3 -I. -c gdc_pie.c
gdc_pie.c:389: warning: `/*' within comment
gdc_pie.c: In function `ocmpr':
gdc_pie.c:111: warning: suggest parentheses around && within ||
gdc_pie.c:114: warning: suggest parentheses around && within ||
gdc_pie.c: In function `pie_gif':
gdc_pie.c:209: warning: unused variable `label_explode_limit'
gdc_pie.c:183: warning: unused variable `do3Dy'
gdc_pie.c:182: warning: unused variable `do3Dx'
gdc_pie.c:170: warning: unused variable `any_too_small'
gdc_pie.c:169: warning: unused variable `num_slices2'
gdc_pie.c:168: warning: unused variable `num_slices1'
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
cd gd1.3 ; make -f Makefile libgd.a
make[3]: Entering directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
gcc -g -O2 -c -o gd.o gd.c
gcc -g -O2 -c -o gdfontt.o gdfontt.c
gcc -g -O2 -c -o gdfonts.o gdfonts.c
gcc -g -O2 -c -o gdfontmb.o gdfontmb.c
gcc -g -O2 -c -o gdfontl.o gdfontl.c
gcc -g -O2 -c -o gdfontg.o gdfontg.c
rm -f libgd.a
/usr/bin/ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
gdfontl.o gdfontg.o
ranlib libgd.a
make[3]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b/gd1.3'
make[2]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus/gdchart0.94b'
gcc -g -O2 `sh ./cflags` -c regex.c
gcc -g -O2 `sh ./cflags` -c filter.c
gcc -g -O2 `sh ./cflags` -c dirutils.c
gcc -g -O2 `sh ./cflags` -c sslui.c
gcc -g -O2 `sh ./cflags` -c nessus.c
In file included from /usr/include/openssl/conf.h:66,
from /usr/include/openssl/x509v3.h:63,
from nessus.c:74:
/usr/include/openssl/e_os.h:155: warning: `closesocket' redefined
globals.h:40: warning: this is the location of the previous definition
/usr/include/openssl/e_os.h:307: warning: `EXIT' redefined
/home/purdomj/downloads/nessus-core/include/ntcompat.h:34: warning: this is the location of the previous definition
nessus.c: In function `connect_to_nessusd':
nessus.c:591: warning: implicit declaration of function `comm_get_dependencies'
gcc auth.o comm.o sighand.o xstuff.o cli.o parser.o plugin_infos.o preferences.o families.o attack.o report.o report_ng.o report_save.o report_utils.o nsr_output.o nbe_output.o html_output.o latex_output.o text_output.o xml_output.o xml_output_ng.o html_graph_output.o error_dialog.o password_dialog.o monitor_dialog.o backend.o data_mining.o prefs_dialog.o prefs_dialog_misc.o prefs_dialog_scan_opt.o prefs_dialog_user.o prefs_dialog_auth.o prefs_dialog_plugins_prefs.o prefs_plugins.o prefs_target.o prefs_about.o prefs_kb.o netmap.o detached_index.o read_target_file.o gdchart0.94b/gdc.o gdchart0.94b/price_conv.o gdchart0.94b/gdc_pie.o gdchart0.94b/gdchart.o regex.o filter.o dirutils.o sslui.o nessus.o -o nessus `/usr/local/bin/nessus-config --libs` -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib gdchart0.94b/gd1.3/libgd.a -lm
/usr/i486-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[1]: *** [nessus] Error 1
make[1]: Leaving directory `/home/purdomj/downloads/nessus-core/nessus'
make: *** [client] Error 2
Any thoughts on
what may be causing this would be greatly appreciated. I am not very
experienced when it comes to trouble-shooting software compilation issues as I
am not a programmer. I suspect that this is being caused by something I've
missed, but I have no idea what that could be.
Thanks in advance
for your help.
Jesse
