Date: Mon, 24 Jan 2005 22:35:30 -0600 From: Nick Buraglio <nick@buraglio.com> To: freebsd-pf@freebsd.org Subject: pftabled Message-ID: <8B6F7B50-6E8A-11D9-98FB-000393B61F2E@buraglio.com>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B6F7B50-6E8A-11D9-98FB-000393B61F2E>
