I had to add that line because if gd is located via --with-gd-XXX the rdd library also needs it so it's necessary to add such a line. However I understand the problem you reported. I;m away at the moment so I cannot really test a fix. I'll do that once back.
Cheers, Luca
On Mercoled�, settembre 3, 2003, at 01:47 AM, Burton M. Strauss III wrote:
Hey Luca:
One thing to document... this change:
--- Makefile.in 7 Aug 2003 13:21:51 -0000 1.4 +++ Makefile.in 28 Aug 2003 13:19:49 -0000 1.5 @@ -14,7 +14,7 @@ ar rs $(LIBRRD) $(OBJECTS)
.c.o: - $(CC) -c -g -I. -I.. @INCS@ -DHAVE_CONFIG_H $< + $(CC) -c @CFLAGS@ -I. -I.. @INCS@ -DHAVE_CONFIG_H $<
clean: /bin/rm -f $(OBJECTS) $(LIBRRD)
Is causing a number of warning messages:
gcc -c -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-protot
ypes -Wmissing-declarations -Wnested-externs -fPIC -I. -I.. -I/shared/work
/linux/ntop/myrrd -DHAVE_CONFIG_H gdlucidan10.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
It's not a problem, just confusing. This warning, which appears if you
redefine the system include directory, wasn't fixed in time for 3.2.0, but
should be fixed in 3.2.1 - see
http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg01080.html
According to this:
http://gcc.gnu.org/onlinedocs/cpp/Invocation.html#Invocation, it's truly
harmless on systems which already have /usr/local/include as a standard
system library:
-I dir
Add the directory dir to the list of directories to be searched for header
files. See Search Path. Directories named by -I are searched before the
standard system include directories. If the directory dir is a standard
system include directory, the option is ignored to ensure that the default
search order for system directories and the special treatment of system
headers are not defeated (see System Headers) .
-----Burton
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 28, 2003 8:20 AM To: [EMAIL PROTECTED] Subject: [Ntop-dev] New ntop commit (author deri)
Update of /export/home/ntop/ntop/myrrd In directory jabber:/tmp/cvs-serv12763
Modified Files: Makefile.in Log Message: Added CFLAGS
_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
------- Luca Deri <[EMAIL PROTECTED]>
_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
