ManagerJay
IS-IT--Management
I am trying to add VPN Masquerading support to my RedHat Linux 6.2 (2.2.14) kernel and I have run into a problem I need some help with.
I have downloaded the necessary patches from ftp://ftp.rubyriver.com and applied them.
Make config, make dep and make clean all work fine. When I run make bzImage, I receive the following error message:
ip_masq_pptp.c: In function `ip_masq_gre':
ip_masq_pptp.c:464: warning: passing arg 1 of `ip_masq_select_addr' from incompa
tible pointer type
ip_masq_pptp.c:464: warning: passing arg 2 of `ip_masq_select_addr' makes intege
r from pointer without a cast
ip_masq_pptp.c:464: too few arguments to function `ip_masq_select_addr'
ip_masq_pptp.c: In function `printk_pptp_hdr':
ip_masq_pptp.c:671: warning: long unsigned int format, unsigned int arg (arg 4)
make[3]: *** [ip_masq_pptp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.14/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.14/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/net'
make: *** [_dir_net] Error 2
I have compiled these patches into kernels before without any problems. The server is a P-133 with 32 MB of RAM, 10 GB HDD, and 128 MB Swap.
Any help would be greatly appreciated.
Thanks in advance.
Jay
I have downloaded the necessary patches from ftp://ftp.rubyriver.com and applied them.
Make config, make dep and make clean all work fine. When I run make bzImage, I receive the following error message:
ip_masq_pptp.c: In function `ip_masq_gre':
ip_masq_pptp.c:464: warning: passing arg 1 of `ip_masq_select_addr' from incompa
tible pointer type
ip_masq_pptp.c:464: warning: passing arg 2 of `ip_masq_select_addr' makes intege
r from pointer without a cast
ip_masq_pptp.c:464: too few arguments to function `ip_masq_select_addr'
ip_masq_pptp.c: In function `printk_pptp_hdr':
ip_masq_pptp.c:671: warning: long unsigned int format, unsigned int arg (arg 4)
make[3]: *** [ip_masq_pptp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.14/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.14/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/net'
make: *** [_dir_net] Error 2
I have compiled these patches into kernels before without any problems. The server is a P-133 with 32 MB of RAM, 10 GB HDD, and 128 MB Swap.
Any help would be greatly appreciated.
Thanks in advance.
Jay