make error database.c
2006-08-22 22:50:59 GMT
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
Re: make error database.c
2006-08-23 12:27:14 GMT
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
Re: make error database.c
2006-08-23 13:27:31 GMT
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
RE: make error database.c
2006-08-23 16:19:22 GMT
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
RSS Feed