[pptp-server] Error While compiling modules
Giulio Orsero
giulioo at pobox.com
Wed Feb 14 11:17:35 CST 2001
On Wed, 14 Feb 2001 12:13:19 -0500, you wrote:
>make modules SUBDIRS=drivers/net
>In file included from /usr/src/linux/include/linux/sched.h:20,
> from ppp.c:54:
>/usr/src/linux/include/linux/smp.h:77: warning: `smp_num_cpus' redefined
>/usr/src/linux/include/linux/modules/i386_ksyms.ver:28: warning: this is the location of the previous definition
>/usr/src/linux/include/linux/smp.h:83: warning: `smp_call_function' redefined
I don't know why you get the above warnings, maybe some problems with
include files and links.
>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
This is normal.
>ppp.c:2563: too few arguments to function `kill_fasync_R__ver_kill_fasync'
>make[1]: *** [ppp.o] Error 1
>make[1]: Leaving directory `/usr/src/linux-2.2.16/drivers/net'
Edit ppp.c, look for the line containing kill_fasync
change that line to be
kill_fasync (ppp->tty->fasync, SIGIO, POLL_IN);
that is, add POLL_IN.
--
giulioo at pobox.com
More information about the pptp-server
mailing list