[pptp-server] Compiling mppe on RedHat 6.2 (kernel 2.2.14)

Tom Eastep teastep at evergo.net
Thu Apr 20 09:48:57 CDT 2000


On Thu, 20 Apr 2000, Pat Osterday wrote:

> I'm trying to compile the new mppe ppp module on RedHat 6.2 (kernel 2.2.14)
> and get the following errors:
> 
> 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 few arguments to
> function `kill_fasync_R5e73d35d'
> make[1]: *** [ppp.o] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.2.14/drivers/net'
> make: *** [_mod_drivers/net] Error 2
> 
> I've patched/configure/make/make install/make kernel for ppp-2.3.11 with the
> patch from ftp.binarix.com.
> 
> Any ideas?  I had everything running fine on a RedHat 6.0 box.
> 

--- drivers/net/ppp.c~	Wed Apr 12 19:56:45 2000
+++ drivers/net/ppp.c	Wed Apr 12 20:28:39 2000
@@ -2560,7 +2560,7 @@
 
 	wake_up_interruptible (&ppp->read_wait);
 	if (ppp->tty->fasync != NULL)
-		kill_fasync (ppp->tty->fasync, SIGIO);
+		kill_fasync (ppp->tty->fasync, SIGIO, POLL_IN);
 
 	return 1;
 }

-Tom
-- 
Tom Eastep             \  Eastep's First Principle of Computing:
ICQ #60745924           \  "Any sane computer will tell you how it
teastep at evergo.net       \   works if you ask it the proper questions"
Shoreline, Washington USA \___________________________________________




More information about the pptp-server mailing list