Burton,
I installed kernel-headers , recompiled everything and got this error now
( version ntop-2.0-src used ):
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
cd . && autoheader
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
creating config.h
config.h is unchanged
make all-recursive
make[1]: enter map `/root/ntop-current/ntop'
Making all in .
make[2]: enter map `/root/ntop-current/ntop'
/bin/sh ./libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/root/ntop-current/gdchart0.9
4c -I/usr/include/openssl -g -O2 -pipe -c address.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/root/ntop-current/gdchart0.9
4c -I/usr/include/openssl -g -O2 -pipe -Wp,-MD,.deps/address.pp -c
ddress.c -fPIC
-DPIC -o .libs/address.lo
address.c: In function `_ns_name_ntop':
address.c:727: `EMSGSIZE' undeclared (first use in this function)
address.c:727: (Each undeclared identifier is reported only once
address.c:727: for each function it appears in.)
address.c: In function `_ns_name_unpack':
address.c:831: `EMSGSIZE' undeclared (first use in this function)
address.c: In function `_ns_name_skip':
address.c:918: `EMSGSIZE' undeclared (first use in this function)
make[2]: *** [address.lo] Error 1
make[2]: leaving map `/root/ntop-current/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: leaving map `/root/ntop-current/ntop'
make: *** [all-recursive-am] Error 2
What's wrong
thanks Burton
regards
JAc
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Burton M. Strauss III
Sent: Friday, February 15, 2002 1:40 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Ntop] Compile error Redhat 7.2
The "asm" directory (note that case is important) should be in /usr/include/
Did you install the appropriate development libraries, including the linux
kernel headers??
[bstrauss@tigger html]$ rpm -q -f /usr/include/asm/sigcontext.h
kernel-headers-2.4.9-21
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jac
Engel
Sent: Thursday, February 14, 2002 2:38 PM
To: ntop@Unipi. IT
Subject: [Ntop] Compile error Redhat 7.2
What am I missing when I get this error compiling on RedHat 7.2 :
Note: I see no dir ASM in /usr/include how can I get it ?
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/root/ntop-current/gdchart0.9
4c -I/usr/include/openssl -g -O2 -pipe -Wp,-MD,.deps/address.pp -c
ddress.c -fPIC -DPIC -o .libs/address.lo
In file included from /usr/include/signal.h:307,
from ntop.h:110,
from address.c:22:
/usr/include/bits/sigcontext.h:28:29: asm/sigcontext.h: No such file or
directory
In file included from ntop.h:110,
from address.c:22:
/usr/include/signal.h:310: warning: `struct sigcontext' declared inside
parameter list
/usr/include/signal.h:310: warning: its scope is only this definition or
declaration, which is probably not what you want.
In file included from /usr/include/sys/ioctl.h:27,
from ntop.h:135,
from address.c:22:
/usr/include/bits/ioctls.h:24:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
from ntop.h:135,
from address.c:22:
/usr/include/bits/ioctl-types.h:25:24: asm/ioctls.h: No such file or
directory
In file included from /usr/include/sys/socket.h:35,
from ntop.h:244,
from address.c:22:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
address.c: In function `handleDNSpacket':
address.c:1066: `NOERROR' undeclared (first use in this function)
address.c:1066: (Each undeclared identifier is reported only once
address.c:1066: for each function it appears in.)
Thanks
Jac Engel
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop