linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PPTP and mppe module
@ 2000-06-22 14:37 Josh Huber
  2000-06-22 19:23 ` Martin Costabel
  0 siblings, 1 reply; 2+ messages in thread
From: Josh Huber @ 2000-06-22 14:37 UTC (permalink / raw)
  To: Linux/PowerPC Devel List


In an effort to set up the pptp client on my powerbook, I downloaded the PPP
source, patched it with the required patch, installed the proper rc4* files
into the ppp source tree, and installed the new ppp files into the kernel.
the kernel I'm using is the latest BK tree in the 2.2 series.

Now, everything seemed to be working as planned, but when I went to build
and install the ppp drivers, I ran into a couple of problems.

First, the 2.3.10 ppp header for include/linux/if_ppp.h doesn't have defines
for PPP_MAGIC and PPP_VERSION which is used throughout the ppp.c driver. I
added the proper defines and the build continued.

The only issue I had left was the ppp_mppe.o module had unresolved
symbols...a couple of strange ones too:

# insmod ./ppp_mppe.o
./ppp_mppe.o: unresolved symbol __floatsidf
./ppp_mppe.o: unresolved symbol __adddf3

Which both appear to be in libgcc:
$ nm /usr/lib/gcc-lib/powerpc-linux/2.95.2/libgcc.a|grep floatsidf
0000128c T __floatsidf
$ nm /usr/lib/gcc-lib/powerpc-linux/2.95.2/libgcc.a|grep adddf3
0000069c T __adddf3

So, I tried linking libgcc with ld like so:
$ ld -r /usr/lib/gcc-lib/powerpc-linux/2.95.2/libgcc.a ppp_mppe.o -o tmp.o

This seems to allow the module to load, but I won't be able to test it until
I get home.

Anyone know what's going on here?  I looked at the code, and couldn't find
any reference to floating point math there...

Anyone tried getting a VPN client working on PPC?

Josh

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PPTP and mppe module
  2000-06-22 14:37 PPTP and mppe module Josh Huber
@ 2000-06-22 19:23 ` Martin Costabel
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Costabel @ 2000-06-22 19:23 UTC (permalink / raw)
  To: Josh Huber; +Cc: Linux/PowerPC Devel List


Josh Huber wrote:
[]
> Anyone tried getting a VPN client working on PPC?

Sure. France Telecom ADSL runs with pptp, and I have been using this for
quite a while. I compiled a Mandrake SRPM, pptp-adsl-fr-1.0.2-2mdk,
without any problem. There wasn't any kernel patching involved. My ppp
RPM is version 2.3.11, also compiled from a SRPM without problem. They
run with 2.2.17pre kernels as well as with 2.4.0-test1 kernels.

We discussed the include/linux/if_ppp.h problems already 2 weeks ago on
the list (maybe on linuxppc-user?). The one I get from both
linux-pmac-stable and from bitkeeper linux_2_2 via rsync has
#define PPP_VERSION     "2.3.7"
#define PPP_MAGIC       0x5002  /* Magic value for the ppp structure */
inside. It seems that others are able to get different versions from the
same rsync server. Mystery.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-22 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-22 14:37 PPTP and mppe module Josh Huber
2000-06-22 19:23 ` Martin Costabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).