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

Reply via email to