Re: PPPD 2.2.0e: Failing to compile under linux 1.3.84

Arnaldo Carvalho de Melo (
Mon, 8 Apr 1996 08:57:22 -0500 (CDT)

On Mon, 8 Apr 1996, RHS Linux User wrote:
> I just battled through the compile. The solution, as expounded in a file
> in the incoming on sunsite is replace the MAX_ADDR_LEN in the line in the
> file /usr/include/linux/if_arp.h:
> unsigned char ha[MAX_ADDR_LEN] /* Hardware Address */
> to something on the order of 8 or ten. This is obviously not the right
> thing to do, but it works, so I won't complain.
> Enjoy
> -J

The MAX_ADDR_LEN problem I resolved including #include <linux/netdevice.h>
in the sys-linux.c source. Then I found other problem with inline
functions from string.h and Mark Hahn, I think, resolved switching -g by
-O in CFLAGS, now I have a problem with ___strtok, which the linker
doesn't find, I looked at string.h and strtok have a jump or something to
___strtok which I didn't yet found...

Arnaldo Carvalho de Melo
R&D Director
Conectiva Internet Solutions