Date: Tue, 15 May 2007 09:55:40 -0400 From: Manolo Valdes <nolis71cu@gmail.com> To: freebsd-hackers@freebsd.org Subject: issue with net/if_ppp.h Message-ID: <200705150955.40383.nolis71cu@gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705150955.40383.nolis71cu>