From owner-freebsd-pf@FreeBSD.ORG Tue Jan 25 04:35:05 2005 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CDE416A4CE for ; Tue, 25 Jan 2005 04:35:05 +0000 (GMT) Received: from mail.3gne.com (ded191-fbsd-174-39.netsonic.net [66.180.174.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED48943D58 for ; Tue, 25 Jan 2005 04:35:02 +0000 (GMT) (envelope-from nick@buraglio.com) Received: from localhost (localhost.3gne.com [127.0.0.1]) by mail.3gne.com (Postfix) with ESMTP id 4A954D5635 for ; Mon, 24 Jan 2005 22:41:03 -0600 (CST) Received: from [192.168.100.243] (12-221-108-48.client.insightBB.com [12.221.108.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mail.3gne.com (Postfix) with ESMTP id 5D9B5D544F for ; Mon, 24 Jan 2005 22:41:00 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <8B6F7B50-6E8A-11D9-98FB-000393B61F2E@buraglio.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-pf@freebsd.org From: Nick Buraglio Date: Mon, 24 Jan 2005 22:35:30 -0600 X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by amavisd-new at 3gne.com Subject: pftabled X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 04:35:05 -0000 -----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-----