[lkml]   [1996]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PPPD 2.2.0e: Failing to compile under linux 1.3.84
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

 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean