pftabled

Nick Buraglio nick at buraglio.com
Mon Jan 24 20:35:05 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anyone gotten pftabled ( http://www.wolfermann.org/pftabled.html )to 
compile on freebsd 5.3?  I find it immensely useful under openbsd for 
managing tables but under free it bombs with

  pftabled.c:53: error: variable `sdata' has initializer but incomplete 
type

I don't really know c, but I think it means that there is something 
defined in a struct that isn't being found where it's expected.

This is kinda off topic, but any help on or off list appreciated.  In 
the meantime I'm going to try and brush up on C.



./configure works fine (although says it's building on openbsd)
make yields this:

gcc -g -O2 -Wall -c pftabled.c
pftabled.c:53: error: variable `sdata' has initializer but incomplete 
type
pftabled.c:53: error: `SYSLOG_DATA_INIT' undeclared here (not in a 
function)
pftabled.c: In function `logit':
pftabled.c:73: error: invalid use of undefined type `struct syslog_data'
pftabled.c:74: warning: implicit declaration of function `vsyslog_r'
pftabled.c: In function `main':
pftabled.c:267: warning: implicit declaration of function `openlog_r'
pftabled.c: At top level:
pftabled.c:53: error: storage size of `sdata' isn't known
*** Error code 1

Stop in /usr/home/buraglio/pftabled-1.04.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB9cyVFOm2Sy5bRPQRArw9AJ9A6Yef1MVOxoENqI01TPl4/y+0vQCfdIts
1h54FopatHc6sGZ25Pp7YGc=
=HPRN
-----END PGP SIGNATURE-----



More information about the freebsd-pf mailing list