On Fri, 13 Nov 1998, Michael Talbot-Wilson wrote:
> Errors of this kind indicate that preceding 'ext_accm' etc. there is
> a type which is defined in a .h file that you need to include but
> have not included. See what it is in each case, and find -follow
> -type f | xargs grep for it in /usr/include. If you find a likely
> candidate file, try #include on it in sys_linux.c
>
> You can also try compiling it with gcc -E and look at how the source
> is changed by cpp -- may give you some clues.
It's missing __u32. But the problem should be fixed in another way -
kernel headers changed - to follow glibc2, I suppose:
> Date: Wed, 11 Nov 1998 12:19:53 +0100
> From: adolf <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: ppp 2.3.5 solution
>
> I also had problems with newest linux kernels and pppd 2.3.5 but now
> everything works great :-) thanks to Jason Davis
>
> -------------------------------------------------------------------------
>
> This little bit of info got me up and running hope it will work for you
> too:
>
> Let me guess... Compilation stops near the sys-linux.c file?
> If so, all you have to do is to:
>
> (assuming that you're in the ppp-2.3.5 top level dir.)
> 1. Type ./configure :-)
> 2. Cd into linux/
> 3. Replace files `if.h', `if_arp.h', `if_ppp.h', `ppp-comp.h',
> `ppp_defs.h'
> and `route.h' with relevant ones from your /usr/include/net
> directory.
> Then, it will compile, but partially :-). It will stop on the
> `pppstats.c'.
> 4. Then, enter `-D__GLIBC__=2 into the COMPILE_FLAGS of your Makefile
> in the pppstats/ directory. (just in case...)
> 5. Tweak the file ppp-2.3.5/include/net/ppp-defs.h. Enter
>
> unsigned int bytes_out;
> unsigned int in_count;
>
> in the line 159 (under `unsigned int ratio;').
>
> 6. Then cd into ppp-2.3.5 top level directory. Type standard `make ;
> make install' - it should compile without any problems...
> ------------------------------------------------------------------
--
christian
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]