Date: Thu, 19 May 2005 02:29:33 +0200 From: Dorijan Jelincic <dorijan@kset.org> To: freebsd-ipfw@freebsd.org Subject: problem compiling ipfw Message-ID: <329363440.20050519022933@marvin.cc.fer.hr>
next in thread | raw e-mail | index | archive | help
Hello freebsd-ipfw, I have problem compiling ipfw from last cvs... also, since I upgraded my kernel dummynet is not working properly... things like ipfw pipe 1000 config bw 0 dont work anymore... free# ipfw pipe 1000 config bw 0 ipfw: setsockopt(IP_DUMMYNET_CONFIGURE): Invalid argument this worked before (in snapshot002) Warning: Object directory not changed from original /usr/src/sbin/ipfw cc -O2 -fno-strict-aliasing -pipe -c ipfw2.c ipfw2.c:1056: error: syntax error before '*' token ipfw2.c: In function `print_ip6': ipfw2.c:1059: error: `cmd' undeclared (first use in this function) ipfw2.c:1059: error: (Each undeclared identifier is reported only once ipfw2.c:1059: error: for each function it appears in.) ipfw2.c:1063: error: `s' undeclared (first use in this function) ipfw2.c:1065: error: `O_IP6_SRC_ME' undeclared (first use in this function) ipfw2.c:1065: error: `O_IP6_DST_ME' undeclared (first use in this function) ipfw2.c:1069: error: `O_IP6' undeclared (first use in this function) ipfw2.c:1082: error: `O_IP6_SRC' undeclared (first use in this function) ipfw2.c:1082: error: `O_IP6_DST' undeclared (first use in this function) ipfw2.c: At top level: ipfw2.c:1107: error: syntax error before '*' token ipfw2.c: In function `fill_icmp6types': ipfw2.c:1111: error: `cmd' undeclared (first use in this function) ipfw2.c:1112: error: `av' undeclared (first use in this function) ipfw2.c:1128: error: `O_ICMP6TYPE' undeclared (first use in this function) ipfw2.c:1129: error: `ipfw_insn_icmp6' undeclared (first use in this function) ipfw2.c: At top level: ipfw2.c:1165: error: `EXT_FRAGMENT' undeclared here (not in a function) ipfw2.c:1165: error: initializer element is not constant ipfw2.c:1165: error: (near initialization for `ext6hdrcodes[0].x') ipfw2.c:1165: error: initializer element is not constant ipfw2.c:1165: error: (near initialization for `ext6hdrcodes[0]') ipfw2.c:1166: error: `EXT_HOPOPTS' undeclared here (not in a function) ipfw2.c:1166: error: initializer element is not constant ipfw2.c:1166: error: (near initialization for `ext6hdrcodes[1].x') ipfw2.c:1166: error: initializer element is not constant ipfw2.c:1166: error: (near initialization for `ext6hdrcodes[1]') ipfw2.c:1167: error: `EXT_ROUTING' undeclared here (not in a function) ipfw2.c:1167: error: initializer element is not constant ipfw2.c:1167: error: (near initialization for `ext6hdrcodes[2].x') ipfw2.c:1167: error: initializer element is not constant ipfw2.c:1167: error: (near initialization for `ext6hdrcodes[2]') ipfw2.c:1168: error: `EXT_AH' undeclared here (not in a function) ipfw2.c:1168: error: initializer element is not constant ipfw2.c:1168: error: (near initialization for `ext6hdrcodes[3].x') ipfw2.c:1168: error: initializer element is not constant ipfw2.c:1168: error: (near initialization for `ext6hdrcodes[3]') ipfw2.c:1169: error: `EXT_ESP' undeclared here (not in a function) ipfw2.c:1169: error: initializer element is not constant ipfw2.c:1169: error: (near initialization for `ext6hdrcodes[4].x') ipfw2.c:1169: error: initializer element is not constant ipfw2.c:1169: error: (near initialization for `ext6hdrcodes[4]') ipfw2.c:1170: error: initializer element is not constant ipfw2.c:1170: error: (near initialization for `ext6hdrcodes[5]') ipfw2.c: In function `fill_ext6hdr': ipfw2.c:1213: error: `O_EXT_HDR' undeclared (first use in this function) ipfw2.c: In function `show_ipfw': ipfw2.c:1553: error: `O_IP6_SRC' undeclared (first use in this function) ipfw2.c:1554: error: `O_IP6_SRC_MASK' undeclared (first use in this function) ipfw2.c:1555: error: `O_IP6_SRC_ME' undeclared (first use in this function) ipfw2.c:1561: error: `ipfw_insn_ip6' undeclared (first use in this function) ipfw2.c:1561: error: syntax error before ')' token ipfw2.c:1566: error: `O_IP6_DST' undeclared (first use in this function) ipfw2.c:1567: error: `O_IP6_DST_MASK' undeclared (first use in this function) ipfw2.c:1568: error: `O_IP6_DST_ME' undeclared (first use in this function) ipfw2.c:1574: error: syntax error before ')' token ipfw2.c:1579: error: `O_FLOW6ID' undeclared (first use in this function) ipfw2.c:1813: error: `O_IP6' undeclared (first use in this function) ipfw2.c:1817: error: `O_ICMP6TYPE' undeclared (first use in this function) ipfw2.c:1821: error: `O_EXT_HDR' undeclared (first use in this function) ipfw2.c: In function `list_queues': ipfw2.c:1989: error: structure has no member named `flow_id6' ipfw2.c:1990: error: structure has no member named `src_ip6' ipfw2.c:1993: error: structure has no member named `dst_ip6' ipfw2.c:2008: error: structure has no member named `flow_id6' ipfw2.c:2009: error: structure has no member named `src_ip6' ipfw2.c:2012: error: structure has no member named `dst_ip6' ipfw2.c: At top level: ipfw2.c:2742: error: syntax error before '*' token ipfw2.c: In function `fill_ip6': ipfw2.c:2745: error: `cmd' undeclared (first use in this function) ipfw2.c:2753: error: `av' undeclared (first use in this function) ipfw2.c:2801: error: syntax error before "if" ipfw2.c:2806: error: `p' undeclared (first use in this function) ipfw2.c:2809: error: `masklen' undeclared (first use in this function) ipfw2.c:2818: error: continue statement not within a loop ipfw2.c:2826: error: break statement not within loop or switch ipfw2.c: At top level: ipfw2.c:2838: error: syntax error before '->' token ipfw2.c:2839: warning: parameter names (without types) in function declaration ipfw2.c:2839: error: conflicting types for 'free' /usr/include/stdlib.h:93: error: previous declaration of 'free' was here ipfw2.c:2839: error: conflicting types for 'free' /usr/include/stdlib.h:93: error: previous declaration of 'free' was here ipfw2.c:2839: warning: data definition has no type or storage class ipfw2.c:2840: error: syntax error before "return" *** Error code 1 -- "Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. That's relativity." Albert Einstein Dorijan Jelincic, 9a3ajd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?329363440.20050519022933>