cvs-commit | 1 Aug 2006 20:35

New ntop commit (author deri)

Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv7138

Modified Files:
	globals-defines.h ntop.h report.c util.c 
Log Message:
Fixes for Win32
cvs-commit | 2 Aug 2006 11:05

New ntop commit (author deri)

Update of /export/home/ntop/ntop/plugins
In directory unknown:/tmp/cvs-serv8579/plugins

Modified Files:
	netflowPlugin.c rrdPlugin.c 
Log Message:
Fixes for Win32
cvs-commit | 2 Aug 2006 11:05

New ntop commit (author deri)

Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv8579

Modified Files:
	report.c webInterface.c 
Log Message:
Fixes for Win32
cvs-commit | 2 Aug 2006 12:02

New ntop commit (author deri)

Update of /export/home/ntop/ntop/plugins
In directory unknown:/tmp/cvs-serv8704/plugins

Modified Files:
	rrdPlugin.c 
Log Message:
Fixes for Win32
cvs-commit | 2 Aug 2006 12:02

New ntop commit (author deri)

Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv8704

Modified Files:
	report.c 
Log Message:
Fixes for Win32
Troy Perkins | 23 Aug 2006 00:50

make error database.c

Can anyone help me with this?

 

Autogen.sh went fine but make fails.  I’m running this on a Plesk Redhat E 3 server

 

Linux mirage.netsolsa.net 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux

 

Make:

 

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -lwrap -I/usr/include/mysql -I/usr/local/rrd/include -I/usr/kerberos/include/ -DLINUX -I/usr/local/include -I/usr/include/mysql -I/usr/local/mysql/include -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -I/usr/include/mysql -I/usr/local/mysql/include -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -I/usr/include/mysql -I/usr/local/mysql/include -c database.c -MT database.lo -MD -MP -MF .deps/database.TPlo  -fPIC -DPIC -o .libs/database.lo

database.c:40: warning: no previous prototype for `is_db_enabled'

database.c: In function `init_database':

database.c:164: `MYSQL_OPT_RECONNECT' undeclared (first use in this function)

database.c:164: (Each undeclared identifier is reported only once

database.c:164: for each function it appears in.)

database.c: At top level:

database.c:393: warning: no previous prototype for `initDB'

database.c:419: warning: no previous prototype for `termDB'

make[2]: *** [database.lo] Error 1

make[2]: Leaving directory `/home/troy/ntop'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/troy/ntop'

make: *** [all] Error 2

[root <at> mirage ntop]#

 

 

 

 

Thank you any help.

 

 

 

_______________________________________________
Ntop-dev mailing list
Ntop-dev <at> unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
Wye-Shun Fong | 23 Aug 2006 04:01

Wye-Shun Fong is out of the office.


I will be out of the office starting  2006-08-18 and will not return
until 2006-08-29.

I will respond to your message when I return.
Email Patrick Dumbell for any assistance.
Luca Deri | 23 Aug 2006 14:27

Re: make error database.c


Hi,
do you have MySQL 4/5? This can be the reson.

Cheers, Luca

Troy Perkins wrote:
> Can anyone help me with this?
> 
>  
> 
> Autogen.sh went fine but make fails.  I?m running this on a Plesk Redhat
> E 3 server
> 
>  
> 
> Linux mirage.netsolsa.net 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT
> 2003 i686 i686 i386 GNU/Linux
> 
>  
> 
> Make:
> 
>  
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -lwrap -I/usr/include/mysql
> -I/usr/local/rrd/include -I/usr/kerberos/include/ -DLINUX
> -I/usr/local/include -I/usr/include/mysql -I/usr/local/mysql/include -g
> -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -fPIC -I/usr/include/mysql
> -I/usr/local/mysql/include -g -O2 -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fPIC -I/usr/include/mysql -I/usr/local/mysql/include
> -c database.c -MT database.lo -MD -MP -MF .deps/database.TPlo  -fPIC
> -DPIC -o .libs/database.lo
> 
> database.c:40: warning: no previous prototype for `is_db_enabled'
> 
> database.c: In function `init_database':
> 
> database.c:164: `MYSQL_OPT_RECONNECT' undeclared (first use in this
> function)
> 
> database.c:164: (Each undeclared identifier is reported only once
> 
> database.c:164: for each function it appears in.)
> 
> database.c: At top level:
> 
> database.c:393: warning: no previous prototype for `initDB'
> 
> database.c:419: warning: no previous prototype for `termDB'
> 
> make[2]: *** [database.lo] Error 1
> 
> make[2]: Leaving directory `/home/troy/ntop'
> 
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory `/home/troy/ntop'
> 
> make: *** [all] Error 2
> 
> [root <at> mirage ntop]#
> 
>  
> 
>  
> 
>  
> 
>  
> 
> **Thank you any help.**
> 
> ** **
> 
> * *
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev <at> unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Lorenzo De Vito | 23 Aug 2006 15:27
Picon

Re: make error database.c

Troy Perkins wrote:
> 
> 
> Can anyone help me with this?
> 
>   
> database.c: In function `init_database':
> 
> database.c:164: `MYSQL_OPT_RECONNECT' undeclared (first use in this
> function)
> 

Have you looked here ?

http://listgateway.unipi.it/pipermail/ntop-dev/2006-July/006121.html

--

-- 
___________________________________________________
Enrico Lorenzo De Vito IT MANAGER at SDT S.p.A.
EUCIP Elective Information System Analyst Certified
EUCIP Core Certified N. ITA0000001576 - AIP N. 2884
Tel. 3477324347 - Tel. 3922092003 - Tel. 085413686
Troy Perkins | 23 Aug 2006 18:19

RE: make error database.c

Mysql -V
mysql  Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)

-----Original Message-----
From: ntop-dev-bounces <at> unipi.it [mailto:ntop-dev-bounces <at> unipi.it] On Behalf
Of Luca Deri
Sent: Wednesday, August 23, 2006 7:27 AM
To: ntop-dev <at> unipi.it
Subject: Re: [Ntop-dev] make error database.c

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
do you have MySQL 4/5? This can be the reson.

Cheers, Luca

Troy Perkins wrote:
> Can anyone help me with this?
> 
>  
> 
> Autogen.sh went fine but make fails.  I?m running this on a Plesk Redhat
> E 3 server
> 
>  
> 
> Linux mirage.netsolsa.net 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT
> 2003 i686 i686 i386 GNU/Linux
> 
>  
> 
> Make:
> 
>  
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -lwrap -I/usr/include/mysql
> -I/usr/local/rrd/include -I/usr/kerberos/include/ -DLINUX
> -I/usr/local/include -I/usr/include/mysql -I/usr/local/mysql/include -g
> -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
> -Wmissing-declarations -Wnested-externs -fPIC -I/usr/include/mysql
> -I/usr/local/mysql/include -g -O2 -I/usr/local/include -Wshadow
> -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -fPIC -I/usr/include/mysql -I/usr/local/mysql/include
> -c database.c -MT database.lo -MD -MP -MF .deps/database.TPlo  -fPIC
> -DPIC -o .libs/database.lo
> 
> database.c:40: warning: no previous prototype for `is_db_enabled'
> 
> database.c: In function `init_database':
> 
> database.c:164: `MYSQL_OPT_RECONNECT' undeclared (first use in this
> function)
> 
> database.c:164: (Each undeclared identifier is reported only once
> 
> database.c:164: for each function it appears in.)
> 
> database.c: At top level:
> 
> database.c:393: warning: no previous prototype for `initDB'
> 
> database.c:419: warning: no previous prototype for `termDB'
> 
> make[2]: *** [database.lo] Error 1
> 
> make[2]: Leaving directory `/home/troy/ntop'
> 
> make[1]: *** [all-recursive] Error 1
> 
> make[1]: Leaving directory `/home/troy/ntop'
> 
> make: *** [all] Error 2
> 
> [root <at> mirage ntop]#
> 
>  
> 
>  
> 
>  
> 
>  
> 
> **Thank you any help.**
> 
> ** **
> 
> * *
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ntop-dev mailing list
> Ntop-dev <at> unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE7EmhmMhDxnkh3zQRAhxlAKCG/UJcNLjUZDSPpvlRYSsjcuMiRACcCjVY
GDbh9ShTm2fc2a70EACZ4Jw=
=asF4
-----END PGP SIGNATURE-----
_______________________________________________
Ntop-dev mailing list
Ntop-dev <at> unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Gmane