View previous topic :: View next topic |
Author |
Message |
OptimusP n00b
Joined: 27 Apr 2003 Posts: 42
|
Posted: Sun Jun 27, 2004 4:21 am Post subject: Kernel patch for PPTP Server |
|
|
Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?
drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1 |
|
Back to top |
|
|
vxspiritxv n00b
Joined: 07 Apr 2003 Posts: 60
|
Posted: Sun Jun 27, 2004 4:42 am Post subject: |
|
|
I can't tell you whats wrong, but I can tell you the patch does work, at least for me it does. Assuming talking about the same patch:
cd /usr/src
wget http://www.polbox.com/h/hs001/linux-2.6.7-mppe-mppc-1.0.patch.gz
ln -s linux-2.6.7-gentoo-r6 linux-2.6.7
gzip -d linux-2.6.7-mppe-mppc-1.0.patch.gz
patch -p0 < linux-2.6.7-mppe-mppc-1.0.patch
I didn't do anything special to the gentoo distrib, but I am using linux-headers 2.6.7. Be sure to compile all the ppp stuff as modules. |
|
Back to top |
|
|
OptimusP n00b
Joined: 27 Apr 2003 Posts: 42
|
Posted: Sun Jun 27, 2004 4:50 am Post subject: |
|
|
ahhh so the microsoft mppe item you have to enable in the kernel should be a module? Ive been trying to put it into the kernel |
|
Back to top |
|
|
Deathscythe n00b
Joined: 04 May 2004 Posts: 65
|
Posted: Sun Jul 11, 2004 5:31 pm Post subject: |
|
|
Do the MPPE stuff have to be compile as a module. I have try to compile it into the kernel and I am having problems. _________________ Deathscythe
http://www.revster.com |
|
Back to top |
|
|
ponch n00b
Joined: 08 Jan 2004 Posts: 61
|
Posted: Sun Jul 11, 2004 7:10 pm Post subject: Re: Kernel patch for PPTP Server |
|
|
OptimusP wrote: | Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?
drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1 |
To fix it add support in your kernel for:
Cryptographic options
<*> MD5 digest algorithm (?)
<*> SHA1 digest algorithm
<*> ARC4 cipher algorithm
And try to recompile. |
|
Back to top |
|
|
Deathscythe n00b
Joined: 04 May 2004 Posts: 65
|
Posted: Sun Jul 11, 2004 8:28 pm Post subject: Re: Kernel patch for PPTP Server |
|
|
ponch wrote: | OptimusP wrote: | Ive emerged the 2.6.7 gentoo dev sources kernel. I applied the mppe patch and when i go to compile i get this error. Can anyone help?
drivers/built-in.o(.text+0x7c8aa): In function `mppe_alloc':
: undefined reference to `crypto_alloc_tfm'
drivers/built-in.o(.text+0x7ca6c): In function `mppe_comp_free':
: undefined reference to `crypto_free_tfm'
make: *** [.tmp_vmlinux1] Error 1 |
To fix it add support in your kernel for:
Cryptographic options
<*> MD5 digest algorithm (?)
<*> SHA1 digest algorithm
<*> ARC4 cipher algorithm
And try to recompile. |
Just did that, it still doesn't work. _________________ Deathscythe
http://www.revster.com |
|
Back to top |
|
|
Deathscythe n00b
Joined: 04 May 2004 Posts: 65
|
Posted: Mon Jul 12, 2004 6:53 pm Post subject: |
|
|
Got it sorted now. _________________ Deathscythe
http://www.revster.com |
|
Back to top |
|
|
|