Hello,

Because bbppp was written on a linux system which uses the different
structure. 

John

On Saturday 20 October 2001 22:18, Francois Kritzinger wrote:
> Hi
>
> I am trying to compile bbppp from source in FreeBSD 4.3.
>
> When I run 'make' I get the following errors:
>
> ------------------------------------------------------------------------
> pppstat.cc: In method `void PPPStat::get_ppp_stats(ppp_stats *)':
> pppstat.cc:170: `struct ifpppstatsreq' has no member named `stats_ptr'
> pppstat.cc:171: `struct ifpppstatsreq' has no member named `ifr__name'
> pppstat.cc:172: syntax error before `)'
> pppstat.cc:172: implicit declaration of function `int _IOWR(...)'
> pppstat.cc:172: implicit declaration of function `int ioctl(...)'
> pppstat.cc: In method `void PPPStat::checkPPP()':
> pppstat.cc:183: implicit declaration of function `int ftime(...)'
> *** Error code 1
> ------------------------------------------------------------------------
>
> Looking in '/usr/include/net/if_ppp.h', I found that 'struct
> ifpppstatsreq' indeed
> has no member named 'stats_ptr' (or any of the others).
>
> Obviously my header files are different to those on the machine bbppp
> was written on.
> Why is this? How come the struct in my header is so different?
>
> Is the only way to get around this for me to change the code myself?
>
> Thanks for any help.

Reply via email to