Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2006 15:53:21 -0700 (PDT)
From:      Alvin Oga <aoga@mail.Linux-Consulting.com>
To:        freebsd-ipfw@freebsd.org
Cc:        Alvin Oga <aoga@mail.Linux-Consulting.com>
Subject:   ipfw versions - /usr/src/sbin
Message-ID:  <200610052253.k95MrLeS017877@Maggie.Linux-Consulting.com>

next in thread | raw e-mail | index | archive | help

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@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
-------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610052253.k95MrLeS017877>