[pptp-server] Solved unresolved symbols in ppp.o problem
Nelson Vieira
n.vieira at home.com
Tue Jul 10 12:43:21 CDT 2001
I was having problems with unresolved symbols in the ppp.o module after
compiling with the mppe patch. After some research (and pulling some hair),
I discovered the solution.
First, perform all the neccessary steps required before compiling the
modules.
See http://www.vibrationresearch.com/pptpd/example.html for a good
explanation of this part. They use the newer pptpd v1.1.2 but v1.0.1 will
also work. STOP once you have applied the "if_ppp_2.2.17.diff " patch (if
you're using kernel 2.2.17 or higher.)
Next make sure that you're using the same kernel headers that were used to
compile your current kernel. Then do the following:
- save your /usr/src/linux/.config file in a safe place
- in /usr/src/linux:
"make mrproper"
- copy back your .config file
- then do a
"make oldconfig"
"make deps"
"make clean"
"make modules SUBDIRS=drivers/net"
- in /lib/modules/2.2.x
backup ppp.o bsd_comp.o ppp_deflate.o and slhc.o
- in /usr/src/linux/drivers/net/
copy ppp.o ppp_defalte.o bsd_comp.o ppp_mppe.o and slhc.o to
/lib/modules/2.2.x
- run a "depmod -a"
and hopefully you don't get any unresolved symbols errors!
I have verified this to work with the follow kernels:
redhat kernel-2.2.19-6.2.1
redhat kernel-2.2.19-6.2.7
original kernel-2.2.19 (from kernel.org)
GOOD LUCK!
-
More information about the pptp-server
mailing list