ipfw versions - /usr/src/sbin

Alvin Oga aoga at mail.Linux-Consulting.com
Thu Oct 5 15:53:22 PDT 2006


hi all

i've been having some fun with ipfw-1.99
on freebsd-6.1

what version is the released version for ipfw in freebsd-6.1 ??

	none of these seem to get me the info i'm looking for
	or the sources of the released ipfw

	- ipfw -v|-V|--version
	- strings ipfw | grep version

so, for fun, i did the following:

	setenv CVSROOT freebsdanoncvs at anoncvs.FreeBSD.org:/home/ncvs
	setenv CVS_RSH ssh
	mkdir /usr/src/sbin
	cd /usr/src/sbin
	cvs co ipfw
	cd ipfw
	make
		-- lots of errors

- if i take out the "TAG" that make complains about,
  than ipfw-1.99 compiles cleanly ..
	( by taking out the sections of code related to "TAG" )

  but, what ( the !@#$ ) did i just blindly remove ??

	- is there a file or "something" that i'm missing ??

- i didn't have /usr/src/sbin so i created the directory
  but what commands would have normally put the sources there ?

  i do have /usr/src/sys for the kernel and it recompiled nicely
  with the new config changes

thanx
alvin

------  errors from make
cd /usr/src/sbin/ipfw
make
Warning: Object directory not changed from original /usr/src/CVS.manually/ipfw
cc -O2 -fno-strict-aliasing -pipe   -c ipfw2.c
ipfw2.c:619: error: `O_TAGGED' undeclared here (not in a function)
ipfw2.c:619: error: initializer element is not constant
ipfw2.c:619: error: (near initialization for `_port_name[7].x')
ipfw2.c:619: error: initializer element is not constant
ipfw2.c:619: error: (near initialization for `_port_name[7]')
ipfw2.c:620: error: initializer element is not constant
ipfw2.c:620: error: (near initialization for `_port_name[8]')
ipfw2.c: In function `show_ipfw':
ipfw2.c:1566: error: `O_TAG' undeclared (first use in this function)
ipfw2.c:1566: error: (Each undeclared identifier is reported only once
ipfw2.c:1566: error: for each function it appears in.)
ipfw2.c: In function `add':
ipfw2.c:4125: error: `O_TAG' undeclared (first use in this function)
*** Error code 1
-------------------------------------


More information about the freebsd-ipfw mailing list