RE: ppp-mschap problems & fix.

Manuel J. Galan (manolow@step.es)
Sat, 13 Dec 1997 18:21:05 -0000 (WET)


On 13-Dec-97 Roman Maschak wrote:
> hi,
>
> I'm unsuccesfully tried to compile ppp module from ppp-2.3.2 package with
> your patch on 2.1.72 kernel, but there are next errors
>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -DCPU=486 -DMODULE
> -DEXPORT_SYMTAB -c ppp.c
> ppp.c: In function `ppp_tty_read':
> ppp.c:1882: wrong type argument to bit-complement
> make[2]: *** [ppp.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/net'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [modules] Error 2
>

It is my fault :-(

locate line 1881 in ppp.c and change

#if LINUX_VERSION_CODE >= VERSION(2,1,69)

to

#if LINUX_VERSION_CODE < VERSION(2,1,69)

Sorry

Manuel J. Galan
manolow@step.es