issue with net/if_ppp.h
Manolo Valdes
nolis71cu at gmail.com
Tue May 15 13:57:13 UTC 2007
Hi guys
doing a test just like the way cmake do it to find includes on the system
######test.c######
#include <net/if_ppp.h>
int main(){return 0;}
################
i got the following output:
gcc test.c
In file included from /usr/include/net/if_ppp.h:28,
from test.c:1:
/usr/include/net/ppp_defs.h:86: error: syntax error before "ext_accm"
/usr/include/net/ppp_defs.h:146: error: syntax error before "time_t"
In file included from /usr/include/net/if_ppp.h:29,
from test.c:1:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:368: error: field `addr' has incomplete type
/usr/include/net/if.h:369: error: field `dstaddr' has incomplete type
test.c:7:2: warning: no newline at end of file
this test works on on Linux systems.
does anybody knows if this is a bug or problem with the net/if_ppp.h header?
thanks in advance
Manolito
--
Todo lo puedo en Cristo que me fortalece
Filipenses. 4:13
---------------------------------------------------------
I can do all things through Christ who strengthens me.
Philippians 4:13
More information about the freebsd-hackers
mailing list