[pptp-server] Compiling PPP with MSCHAPv2/MPPE.

Paul.Clark at scapatech.com Paul.Clark at scapatech.com
Thu Nov 1 08:15:44 CST 2001


I as suggested have been trying to compile ppp 2.3.11 and when try to 
compile the modules I get the following output, any ideas.



[root at fw linux]# make modules SUBDIRS=drivers/net
make -C  drivers/net CFLAGS="-Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce 
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 
-DMODULE -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.2.16/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce 
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 
-DMODULE -DMODVERSIONS -include 
/usr/src/linux/include/linux/modversions.h   -DEXPORT_SYMTAB -c ppp.c
In file included from /usr/src/linux/include/linux/sched.h:20,
                 from ppp.c:54:
/usr/src/linux/include/linux/smp.h:77:49: warning: "smp_num_cpus" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:28:1: warning: this 
is the location of the previous definition
/usr/src/linux/include/linux/smp.h:83:26: warning: "smp_call_function" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:118:1: warning: this 
is the location of the previous definition
In file included from /usr/src/linux/include/linux/sched.h:74,
                 from ppp.c:54:
/usr/src/linux/include/asm/processor.h:96:18: warning: "cpu_data" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:6:1: warning: this 
is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:51,
                 from ppp.c:57:
/usr/src/linux/include/asm/hardirq.h:23:24: warning: "synchronize_irq" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:138:1: warning: this 
is the location of the previous definition
In file included from /usr/src/linux/include/linux/interrupt.h:52,
                 from ppp.c:57:
/usr/src/linux/include/asm/softirq.h:75:23: warning: "synchronize_bh" 
redefined
/usr/src/linux/include/linux/modules/i386_ksyms.ver:142:1: warning: this 
is the location of the previous definition
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
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for 
.modinfo
ppp.c: In function `rcv_proto_unknown':
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'
make: *** [_mod_drivers/net] Error 2

Thanks 

Paul




More information about the pptp-server mailing list