Does anyone know why these errors occur?
I downloaded a new kernel source tree.
Patched the linux_kernel_ksyms.c.diff in the new kernel
Ran the 'make' in the ipvs directory and got the errors shown below (as
described in the ipvs README file).
[root@firewall3 ipvs]# make
gcc -D__KERNEL__ -DMODULE -O2 -Wall -Wstrict-prototypes
-I/usr/src/linux/include -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o ip_vs_conn.o
ip_vs_conn.c
ip_vs_conn.c:1:13: /usr/src/linux/include/linux/modversions.h: No such
file or directory
In file included from ip_vs_conn.c:46:
ip_vs.h:457:17: warning: pasting ""IPVS: "" and ""request control DEL
for uncontrolled: "" does not give a valid preprocessing token
ip_vs.h:471:17: warning: pasting ""IPVS: "" and ""BUG control DEL with
n=0 : "" does not give a valid preprocessing token
ip_vs.h:484:17: warning: pasting ""IPVS: "" and ""request control ADD
for already controlled: "" does not give a valid preprocessing token
ip_vs_conn.c:152:17: warning: pasting ""IPVS: "" and
""ip_vs_conn_hash(): request for already hashed, "" does not give a
valid preprocessing token
ip_vs_conn.c:185:17: warning: pasting ""IPVS: "" and
""ip_vs_conn_unhash(): request for unhash flagged, "" does not give a
valid preprocessing token
ip_vs_conn.c:959:25: warning: pasting ""IPVS: "" and
""ip_vs_tunnel_xmit(): no memory\n"" does not give a valid preprocessing
token
ip_vs_conn.c:1292:25: warning: pasting ""IPVS: "" and ""ip_vs_conn_new:
no memory available.\n"" does not give a valid preprocessing token
ip_vs_conn.c:1513:9: warning: pasting ""IPVS: "" and ""Connection hash
table configured "" does not give a valid preprocessing token
make: *** [ip_vs_conn.o] Error 1
Also, do I need to compile the kernel after patching the
linux_kernel_ksyms.c.diff? What other patches do I need to run?
Jeff.
|