Skip to contentSkip to conversation

Help porting MPPE PPP patch

DISCUSSION Shawn 1 participant 2 messages Mar 1, 2003

lore
Share & tools
lore

Shawn

author
#0 lore raw

Hi! I'm posting to humbly ask for help...

I was wondering if one of you kind souls might like to help me port the attached patch over to the current 2.5?

So far all I know how to do is, in place of the current drivers/net/Makefile and drivers/net/Config.in patches are the following:

->drivers/net/Kconfig:
config PPP_MPPE
tristate "PPP MPPE compression (encryption)"

->drivers/net/Makefile:
obj-$(CONFIG_PPP_MPPE) = ppp_mppe_compress.o sha1.o arcfour.o

But I end up with the following when I try to build the module. Those symbols are in sha1.c and arcfour.c.

*** Warning: Can't handle class_mask in drivers/ieee1394/ohci1394:FFFFFF *** Warning: "ppp_unregister_compressor" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "ppp_register_compressor" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "arcfour_encrypt" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "arcfour_setkey" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "SHA1_Final" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "SHA1_Update" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "SHA1_Init" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "page_states__per_cpu" [fs/nfs/nfs.ko] has no CRC!

Any help would be endlessly appreciated.

author
#1 lore raw

Ok, how about just pointing me to some documentation? That's really what I wanted.

Can someone be bothered to reply?

Quoted 35 lines · Shawn

Hi! I'm posting to humbly ask for help...

I was wondering if one of you kind souls might like to help me port the attached patch over to the current 2.5?

So far all I know how to do is, in place of the current drivers/net/Makefile and drivers/net/Config.in patches are the following:

->drivers/net/Kconfig:
config PPP_MPPE
tristate "PPP MPPE compression (encryption)"

->drivers/net/Makefile:
obj-$(CONFIG_PPP_MPPE) = ppp_mppe_compress.o sha1.o arcfour.o

But I end up with the following when I try to build the module. Those symbols are in sha1.c and arcfour.c.

*** Warning: Can't handle class_mask in drivers/ieee1394/ohci1394:FFFFFF *** Warning: "ppp_unregister_compressor" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "ppp_register_compressor" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "arcfour_encrypt" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "arcfour_setkey" [drivers/net/ppp_mppe_compress.ko] undefined!
*** Warning: "SHA1_Final" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "SHA1_Update" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "SHA1_Init" [drivers/net/ppp_mppe_compress.ko] undefined! *** Warning: "page_states__per_cpu" [fs/nfs/nfs.ko] has no CRC!

Any help would be endlessly appreciated.