Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ipfiter problems with RedHat

Status
Not open for further replies.

barbastica

Technical User
Jul 22, 2013
2
0
0
ES
Hi All,

we are trying to install Ipfilter 5.1.2 in a RedHat 6.4 (with 2.6.32 kernel version).
Since when executing ip_fil5.1.2/Linux/minstall nothing happens because /proc/devices is empty, we have executed
# make linux (with both gcc versions) and it doesn't work and we have obtained the following errors:

yacc: 8 shift/reduce conflicts, 55 reduce/reduce conflicts.
../lib/printhost.c: In function ‘printhost’:
../lib/printhost.c:26: warning: unused variable ‘ptr’
../lib/printhostmask.c: In function ‘printhostmask’:
../lib/printhostmask.c:26: warning: unused variable ‘ptr’
../lib/printipfexpr.c:6: warning: ‘printhostsv6’ declared ‘static’ but never defined
../lib/save_v1trap.c: In function ‘snmpv1_parse’:
../lib/save_v1trap.c:182: warning: passing argument 2 of ‘connect’ from incompatible pointer type
/usr/include/sys/socket.h:129: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’
../lib/save_v2trap.c: In function ‘snmpv2_parse’:
../lib/save_v2trap.c:185: warning: passing argument 2 of ‘connect’ from incompatible pointer type
/usr/include/sys/socket.h:129: note: expected ‘const struct sockaddr *’ but argument is of type ‘struct sockaddr_in *’
ln: creating symbolic link `libelf.so': File exists
make[1]: [Linux-2.6.32-131.0.15.el6.x86_64-x86_64/ipfstat] Error 1 (ignored)
../ip_frag.c:74:27: error: netinet/tcpip.h: No such file or directory
make[1]: *** [Linux-2.6.32-131.0.15.el6.x86_64-x86_64/ip_frag_u.o] Error 1
/root/ip_fil5.1.2/Linux/Linux-2.6.32-131.0.15.el6.x86_64-x86_64//linuxm.c:11:16: warning: missing terminating " character
/root/ip_fil5.1.2/Linux/Linux-2.6.32-131.0.15.el6.x86_64-x86_64//linuxm.c:351:1: error: unterminated argument list invoking macro "MODULE_LICENSE"
/root/ip_fil5.1.2/Linux/Linux-2.6.32-131.0.15.el6.x86_64-x86_64//linuxm.c:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ at end of input
make[3]: *** [/root/ip_fil5.1.2/Linux/Linux-2.6.32-131.0.15.el6.x86_64-x86_64//linuxm.o] Error 1
make[2]: *** [_module_/root/ip_fil5.1.2/Linux/Linux-2.6.32-131.0.15.el6.x86_64-x86_64] Error 2
make[1]: *** [ipflkm] Error 2


Any help would be appreciated,
kind regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top