[pptp-server] Redhat V7.0 and Kernel V2.2.16-22

Clement Law clawz at vcn.bc.ca
Sat Feb 10 19:23:24 CST 2001


Right now I'm using...
glibc-2.2-12
gcc-2.96-69
kgcc-1.1.2-40

when I compile the kernel stuff, it automatically uses kgcc

ok, this is how far I got for now...
I have the following installed just to compile this thing.
cpp 2.96-69
gcc 2.96-69
kgcc 1.1.2-40
glibc 2.2-12
glibc-common 2.2-12
glibc-devel 2.2-12
ncurses 5.2-2
ncurses-devel 5.2-2
openssl 0.9.5a-14
openssl-devel 0.9.5a-14
kernel 2.2.16-22
kernel-headers 2.4.0-0.26
kernel-source 2.2.16-22
binutils 2.10.0.18-1
make 3.79.1-5
patch 2.5.4-4
ppp-2.3.11-7
pptpd 1.0.1-1

This is what I have for the compiling part
ppp.spec
ppp-2.3.11.tar.gz
ppp-2.3.11-make.patch
ppp-2.3.6-smaple.patch
ppp-2.3.9-wtmp.patch
ppp-2.3.11-reap.patch
ppp-2.3.11-pam_session.patch
ppp-2.3.11-openssl-0.9.5-mppe.patch
ppp_mppe_compressed_data_fix.diff
ppp-2.3.5-pamd.conf
if_ppp_2.2.17.diff

this is what I did for the PPP-2.3.11
tar -zxvf ppp-2.3.11.tar.gz
cd ppp-2.3.11
patch -p1 < ../ppp-2.3.11-make.patch
patch -p1 < ../ppp-2.3.6-sample.patch
patch -p1 < ../ppp-2.3.9-wtmp.patch
patch -p1 < ../ppp-2.3.11-reap.patch
patch -p1 < ../ppp-2.3.11-pam_session.patch
patch -p1 < ../ppp-2.3.11-openssl-0.9.5-mppe.patch
cd linux
patch < ../../ppp_mppe_compressed_data_fix.diff

the other patches were from the ppp-2.3.11-7.src.rpm, it's patched in that
order, so says in the ppp.spec

then I went to my linux directory and did...
make menuconfig
make dep clean
(fix the kill thing in drivers/net/ppp.c)
     kill_fasync (ppp->tty->fasync, SIGIO, POLL_IN);
make modules SUBDIRS=drivers/net
(fix something in include/linux/modules.h so I could compile the rest of the
needed files)
     extern unsigned long get_module_symbol(char *, char *);

I then copied bsd_comp.o, ppp.o, ppp_deflate.o, ppp_mppe.o and slhc.o to
/lib/modules/2.2.16-22/net
I tried to load up the ppp.o, but it gives me this error. - insmod ppp
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_remember_R__ver_slhc_remember
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_uncompress_R__ver_slhc_uncompress
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol skb_over_panic_R__ver_skb_over_panic
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol interruptible_sleep_on_R__ver_interruptible_sleep_on
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol unregister_netdev_R__ver_unregister_netdev
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_init_R__ver_slhc_init
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol netif_rx_R__ver_netif_rx
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol alloc_skb_R__ver_alloc_skb
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol __wake_up_R__ver___wake_up
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_free_R__ver_slhc_free
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol register_netdev_R__ver_register_netdev
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol kill_fasync_R__ver_kill_fasync
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol request_module_R__ver_request_module
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol dev_alloc_name_R__ver_dev_alloc_name
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol __kfree_skb_R__ver___kfree_skb
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol skb_under_panic_R__ver_skb_under_panic
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol tty_register_ldisc_R__ver_tty_register_ldisc
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_toss_R__ver_slhc_toss
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol slhc_compress_R__ver_slhc_compress
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol n_tty_ioctl_R__ver_n_tty_ioctl
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol __pollwait_R__ver___pollwait
/lib/modules/2.2.16-22/net/ppp.o: unresolved symbol tty_hung_up_p_R__ver_tty_hung_up_p 

and these errors for insmod ppp_mppe & insmod ppp_deflate & insmod bsd_comp
/lib/modules/2.2.16-22/net/ppp_mppe.o: unresolved symbol ppp_register_compressor_R9682e733
/lib/modules/2.2.16-22/net/ppp_mppe.o: unresolved symbol ppp_unregister_compressor_Ra1b928df  

the only one without errors is slhc.o

This is how far I got, but now I'm stuck again

Please give me some assistances if possible.

Thanx

On Sun, 11 Feb 2001, you wrote:
> Have you updated gcc?  It's badly broken under 7.0.
> 
> Search deja or just run up2date, and make sure you update glibc as well.
> 
> --Yan
> 
> Clement Law wrote:
> > 
> > I'm just wondering if anyone has made the modules for MPPE and the other one
> > under Redhat 7.0 with Kernel 2.2.16-22.
> > I'm getting a whole lot of errors when I'm trying to make the kernel stuff.
> > Like what do I have to edit and so on.
> > 
> > It would be muct appreciated if the people that know could help me out.
> > Thanx in advance.
> > _______________________________________________
> > pptp-server maillist  -  pptp-server at lists.schulte.org
> > http://lists.schulte.org/mailman/listinfo/pptp-server
> > List services provided by www.schulteconsulting.com!



More information about the pptp-server mailing list