ip_proxy.h weirdness

Val Polyakov necro at digital-security.org
Mon Aug 30 21:32:00 PDT 2004


Hi,

again not very sure where to send this to.. so forgive me if it's a wrong
place
below is a transcript of the weirdness.
I think netinet/ip_proxy.h is broke. :)

Val


----------------------------------------------------------

digital-security# uname -a
FreeBSD digital-security.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sun
Aug 29 14:30:57 EDT 2004
necro at digital-security.org:/usr/src/sys/i386/compile/THRILLKILLCULT  i386



digital-security# cat hello.c
#include <stdio.h>
#include <netinet/ip_proxy.h>
main()
{
printf("hi\n");
}
digital-security# gcc -o hello hello.c
In file included from hello.c:2:
/usr/include/netinet/ip_proxy.h:26: error: syntax error before "u_short"
/usr/include/netinet/ip_proxy.h:30: error: syntax error before "tcp_seq"
/usr/include/netinet/ip_proxy.h:32: error: syntax error before "tcp_seq"
/usr/include/netinet/ip_proxy.h:37: error: syntax error before "u_short"
/usr/include/netinet/ip_proxy.h:47: error: syntax error before "u_int"
/usr/include/netinet/ip_proxy.h:71: error: syntax error before "u_char"
/usr/include/netinet/ip_proxy.h:76: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:79: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:81: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:83: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:99: error: syntax error before "u_32_t"
/usr/include/netinet/ip_proxy.h:125: error: syntax error before "u_short"
/usr/include/netinet/ip_proxy.h:129: error: syntax error before "u_32_t"
/usr/include/netinet/ip_proxy.h:147: error: syntax error before "ipsec_cookie_t"
/usr/include/netinet/ip_proxy.h:150: error: syntax error before "ipsec_cookie_t"
/usr/include/netinet/ip_proxy.h:153: error: syntax error before "ipnat_t"
/usr/include/netinet/ip_proxy.h:167: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:168: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:171: error: syntax error before '*' token
/usr/include/netinet/ip_proxy.h:172: error: syntax error before "char"
/usr/include/netinet/ip_proxy.h:173: error: syntax error before '*' token
digital-security#



More information about the freebsd-arch mailing list