I have a similar issue on a CVS copy from today 03/27/03.
It is on Solaris 8 on a Sparc 5.
This is my compile software list:
gcc (GCC) 3.2
make-3.80
libtool-1.4.3
autoconf-2.54
automake-1.7
openssl- 0.9.6g
rrdtool-1.0.40

I have installed rrd tool successfully and I added symlinks in the
/usr/local/lib for librrd.a and /usr/local/include for rrd.h for the
copy of rrd installed in /usr/local/rrdtool-1.0.40.

##Build gd stuff

cd ntop-current/gdchart0.94c/
./buildAll.sh

##Build NTOP
cd ../ntop
aclocal
autoheader
automake --gnu --copy --add-missing
autoconf
./configure
gmake


Error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
-I/usr/local/include -I/usr/src/ntop-cvs/gdchart0.94c -DSOLARIS -g -O2
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -DSOLARIS -g -O2 -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT
webInterface.lo -MD -MP -MF .deps/webInterface.Tpo -c webInterface.c
-fPIC -DPIC -o .libs/webInterface.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system
directory
webInterface.c:4444: warning: no previous prototype for `initWeb'
mv -f .libs/webInterface.lo webInterface.o
(cd . && ln -s webInterface.o webInterface.lo)
Processing globals-structtypes.h to make xml_*.inc...
awk: syntax error near line 106
awk: bailing out near line 106
awk: newline in string near line 335
gmake[2]: *** [xml_*.inc] Error 2
gmake[2]: Leaving directory `/usr/share/src/ntop-cvs/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/share/src/ntop-cvs/ntop'
gmake: *** [all] Error 2

Any ideas?
I am getting many errors like this too: cc1: warning: changing search
order for system directory "/usr/local/include"
And these: warning: no previous prototype 


-----Original Message-----
From: Grant Chesy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 25, 2003 7:03 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] Problem compiling ntop on Solaris 8 on Sparc


I apologize, as I am sure this has probably been addressed before, but I
did not find a solution to my problems in the FAQ, nor a Google search
(looking for archived mailing list posts on the subject).  I am positive
that others are using ntop on Solaris 8 /Sparc (and not the 1.3 version
on sunfreeware.com), so I hope someone can help me.

1. Attempting to build ntop 2.1.3, configure hangs at checking usability
of if.h.


2. Attempting to build ntop 2.1.90 or the 24 Mar '03 cvs snapshot, gets
through the configure stage, (if.h [and some others] are "unusable", but
configure completes)  make, however, gives the error:
Makefile:547: *** missing separator. Stop.


I saw something about some versions of autoconf/automake not working
with ntop sources, so I tried the latest versions (2.57/1.73), and some
older versions (2.52/1.63) and received the same make error.  I also
tried different versions of gnu make (3.79 which worked on my linux box,
and 3.80).

I tried disabling SSL and rdd support, but the make error was the same.

I had no problem with building on my Linux/x86 box, so the problem seems
to be Solaris/Sparc related.

gdbm-1.8.3
libpcap-0.7.2
openssl-0.9.7a
rrdtool-1.0.41 (using perl-5.8.0 compiled with the same compiler)
gcc-3.2.2


Regards,

Grant
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to