Hi, I am trying to compile a very simple libiptc test program, but I am getting: [root@test netfilter]# gcc -Wall -Wunused -I/usr/include -DNETFILTER_VERSION=\"1.4.7\" -rdynamic -lip4tc -o test_iptc test_iptc.c test_iptc.c: In function ‘main’: test_iptc.c:21: error: storage size of ‘h’ isn’t known test_iptc.c:21: warning: unused variable ‘h’ It is the sample program I adopted from the how-to documentation. Could someone please give me some help? Thank you in advance for your kind help. My test program is : #include <getopt.h> #include <sys/errno.h> #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <dlfcn.h> #include <time.h> #include "libiptc/libiptc.h" #include "iptables.h" int main(void) { struct iptc_handle_t h ; const char *chain = NULL; const char *tablename = "filter"; // char * program_name = "p1"; // char * program_version = NETFILTER_VERSION; h = iptc_init(tablename); if ( !h ) { printf("Error initializing: %s\n", iptc_strerror(errno)); exit(errno); } for (chain = iptc_first_chain(&h); chain; chain = iptc_next_chain(&h)) { printf("%s\n", chain); } exit(0); } /* main */ -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html