[pptp-server] Re: problems building your rpm's for ppp
Adi
adi at certsite.com
Tue May 23 13:01:40 CDT 2000
Yes, I had to add a small patch for RH6.2 (an extra argument in the
kill_fasync() call). You'll see it in one of the patches contained in the
src.rpm.
My guess is that you are using the RH6.2 kernel (kernel-2.2.14-5.0) but you
recently upgraded from an RH6.1 system, and didn't upgrade all the system
RPMs. In a stock RH6.2 system, the kill_fasync() call takes 3 args, not 2.
So there are a couple ways to fix this:
1) upgrade all your RPMs to the RH6.2 versions
2) edit the ppp-2.3.10-2mschap_mppe_rh62.spec file contained in my src.rpm
and comment out the %patch7 statement ( this skips the kill_fasync patch )
-Adi
Jeremy Hansen wrote:
>
> Any idea what this is?
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
> -m386 -DCPU=386 -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.2.14/include/linux/modversions.h -DEXPORT_SYMTAB -c
> ppp.c
> ppp.c:188: warning: static declaration for
> `ppp_register_compressor_R9682e733' follows non-static
> ppp.c:189: warning: static declaration for
> `ppp_unregister_compressor_Ra1b928df' follows non-static
> ppp.c: In function `rcv_proto_unknown':
> ppp.c:2563: too many arguments to function `kill_fasync_Reee32c9c'
> make[1]: *** [ppp.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.2.14/drivers/net'
> make: *** [_mod_drivers/net] Error 2
> Bad exit status from /var/tmp/rpm-tmp.79041 (%build)
>
> I'm using 6.2's default kernel.
>
> Thanks
> -jeremy
>
> --
>
> http://www.xxedgexx.com | jeremy at xxedgexx.com
> ---------------------------------------------
More information about the pptp-server
mailing list