Read the docs/FAQ - it's in there...

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
Schroeder
Sent: Wednesday, August 14, 2002 8:57 AM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop] compile problems on solaris 9


Hi all.  I re-compliled gdbm, re-autogen.sh ntop, configured, then this is
the error I receive while compiling now (Solaris 9, Ultra 10, Ntop 2.1.2):


/bin/bash ./libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/opt/software/gdb
m-1.8.0 -I/opt/software/ntop-2.1.2/gdchart0.94c -I/opt/software/ntop-2.1.2/g
dchart0.94c/zlib-1.1.4    -g -O2 -pipe -c -o version.lo `test -f 'version.c'
|| echo './'`version.c
./libtool: test: =: unary operator expected
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include -I/opt/software/gdb
m-1.8.0 -I/opt/software/ntop-2.1.2/gdchart0.94c -I/opt/software/ntop-2.1.2/g
dchart0.94c/zlib-1.1.4 -g -O2 -pipe -c version.c -MT version.lo -MD -MP -MF
.deps/version.TPlo  -fPIC -DPIC -o .libs/version.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
mv -f .libs/version.lo version.o
(cd . && ln -s version.o version.lo)
/bin/bash ./libtool --mode=link gcc  -g -O2 -pipe   -o libntop.la -rpath
/usr/local/lib -version-info  -release  -export-dynamic  address.lo
dataFormat.lo globals-core.lo hash.lo initialize.lo leaks.lo mysql.lo
netflow.lo ntop.lo pbuf.lo protocols.lo plugin.lo qsort.lo regex.lo sql.lo
sessions.lo ssl.lo term.lo traffic.lo util.lo vendor.lo version.lo
ntop_darwin.lo -L/usr/local/lib -lpcap -L/opt/software/gdbm-1.8.0 -lgdbm -lp
osix4 -lpthread -lresolv -lsocket -lnsl -lkstat -ldl   -lm -lz -L/opt/softwa
re/ntop-2.1.2/gdchart0.94c -lgdchart -L/opt/software/ntop-2.1.2/gdchart0.94c
/gd-1.8.3 -lgd -L/opt/software/ntop-2.1.2/gdchart0.94c/gd-1.8.3/libpng-1.2.1
 -lpng -L/opt/software/ntop-2.1.2/gdchart0.94c/zlib-1.1.4 -lz
./libtool: test: =: unary operator expected
./libtool: test: !=: unary operator expected
libtool: link: CURRENT `-release' is not a nonnegative integer
libtool: link: `-release' is not valid version information
gmake[2]: *** [libntop.la] Error 1
gmake[2]: Leaving directory `/opt/software/ntop-2.1.2/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/software/ntop-2.1.2/ntop'
gmake: *** [all] Error 2


Any ideas?  Thanks.

Jason Schroeder




> -----Original Message-----
> From: Burton M. Strauss III [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 13, 2002 4:01 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Ntop] compile problems on solaris 9
>
>
> I don't think we've tested on 9 - it's only available for Sparc
> ... Is this
> cc or gcc??
>
> All I can think is you're missing the gdbm stuff or there is a problem in
> ntop.h.  The code is:
>
>   /* NICs */
>   int numDevices;          /* # of Network interfaces enabled for sniffing
> */
>   NtopInterface *device;   /* pointer to the table of Network
> interfaces */
>
>   /* Database */
>   GDBM_FILE gdbm_file, pwFile, eventFile, hostsInfoFile, addressCache,
> prefsFile;
>
>   /* the table of broadcast entries */
>
> (NtopInterface is defined in ntop.h...)
>
>
>
> -----Burton
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
> Schroeder
> Sent: Tuesday, August 13, 2002 11:21 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] compile problems on solaris 9
>
>
> Hi all, I am having problems compiling ntop on solaris 5.9.  I downloaded
> the 2.1.2 stable version from the website.  Below is the start of where it
> errors:
>
> In file included from ntop.h:2384,
>                  from address.c:21:
> globals.h:252: parse error before "GDBM_FILE"
> globals.h:252: warning: no semicolon at end of struct or union
> globals.h:480: parse error before '}' token
> globals.h:480: warning: data definition has no type or storage class
> In file included from ntop.h:2385,
>                  from address.c:21:
> globals-core.h:21: parse error before "myGlobals"
> globals-core.h:21: warning: data definition has no type or storage class
> address.c: In function `resolveAddress':
> address.c:58: `datum' undeclared (first use in this function)
> ....data omitted...
>
> I believe that the problem is in globals.h, but nothing is wrong
> that I can
> see.  Any help is greatly appreciated.  Thank you.
>
> -------------------------------
> Jason Schroeder, CCNA Certified
> LAN Administrator
> Vermeer Manufacturing Company
> T: 641-621-7854
> F: 641-621-7932
> [EMAIL PROTECTED]
>
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://lists.ntop.org/mailman/listinfo/ntop
>
>
>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to