Messages in this thread | | | Date | Thu, 28 Mar 1996 20:55:30 -0800 (PST) | From | "B. James Phillippe" <> | Subject | Re: Can't build ppp [fixed] |
| |
Hello everyone,
I cried about this a few times here (but I wasn't the only one having trouble, I discovered). Then this nice fellow pointed out a fix, and asked that I post it here. This is a forwarded message, fulfilling his request. And I got ppp-2.2.0e compiled under 1.3.79 easy!
If there is a better place to #define MAX_ADDR_LEN, please post or mail me.
Thanks,
-B
-- # B. James Phillippe # System Administrator, eternity.aa.net # # System Technician, Zebu Systems, LLC (http://www.zebu.com) # # bryan@eternity.aa.net -or- http://eternity.aa.net/~bryan # # (Ab)using Linux since coronation (1.1.59). # Thanks Linus! #
---------- Forwarded message ---------- Date: Thu, 28 Mar 1996 23:16:42 -0500 From: Steven N. Hirsch <hirsch@uvm-gen.emba.uvm.edu> To: "B. James Phillippe" <bryan@eternity.aa.net> Subject: Re: Can't build ppp since 1.3.78 (I'm trying hard)
B. James Phillippe wrote: > > > > > you were very close. don't include <asm/string.h>, instead include > > <linux/string.h>. and be sure to use -O (or -O2, or -O3). > > I tried what you said to do, and it certainly did get rid of all the > undefined references to the memset function family. I still did not > succeed in getting a link, however. There is one new undefined reference
Hi, I just spent about a half-hour wrestling with this same problem. You really _don't_ want netdevices.h being included - trust me on this <g>. From my observations, the only problem is a missing reference to MAX_ADDR_LEN. Just add this to linux/include/linux/if_arp.h at the beginning, and put ppp sources back the way they were originally:
#ifndef MAX_ADDR_LEN #define MAX_ADDR_LEN 7 #endif
This solved the entire problem and it works fine! If you get a chance, would you post it to the list? I get a digest and cannot post directly.
- Steve
| |