LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-16-2003, 03:37 AM   #1
Di0de
LQ Newbie
 
Registered: Jul 2003
Posts: 22

Rep: Reputation: 15
Question Firewalk make Error


i have up my router firewall and i wish to test my own firewall rule set to see if it is effecient but after i ./configure everything goes fine but when i do the make && make install I get this following error:

make install
Making install in src
make[1]: Entering directory `/usr/local/src/security/Firewalk/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c init.c
In file included from ../include/firewalk.h:42,
from init.c:38:
/usr/include/libnet.h:87:2: #error "byte order has not been specified, you'll
need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the
documentation regarding the libnet-config script."
In file included from init.c:38:
../include/firewalk.h:115: parse error before "libnet_t"
../include/firewalk.h:115: warning: no semicolon at end of struct or union
../include/firewalk.h:116: warning: type defaults to `int' in declaration of `plist'
../include/firewalk.h:116: warning: data definition has no type or storage class
../include/firewalk.h:134: parse error before "ip"
../include/firewalk.h:134: warning: type defaults to `int' in declaration of `ip'
../include/firewalk.h:134: warning: data definition has no type or storage class
../include/firewalk.h:135: parse error before "udp"
../include/firewalk.h:135: warning: type defaults to `int' in declaration of `udp'
../include/firewalk.h:135: warning: data definition has no type or storage class
../include/firewalk.h:136: parse error before "tcp"
../include/firewalk.h:136: warning: type defaults to `int' in declaration of `tcp'
../include/firewalk.h:136: warning: data definition has no type or storage class
../include/firewalk.h:137: parse error before "icmp"
../include/firewalk.h:137: warning: type defaults to `int' in declaration of `icmp'
../include/firewalk.h:137: warning: data definition has no type or storage class
../include/firewalk.h:138: warning: built-in function `sin' declared as non-function
../include/firewalk.h:142: parse error before '}' token
init.c: In function `fw_init_context':
init.c:43: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:49: sizeof applied to an incomplete type
init.c:52: dereferencing pointer to incomplete type
init.c:53: dereferencing pointer to incomplete type
init.c:54: dereferencing pointer to incomplete type
init.c:55: dereferencing pointer to incomplete type
init.c:56: dereferencing pointer to incomplete type
init.c:57: dereferencing pointer to incomplete type
init.c:58: dereferencing pointer to incomplete type
init.c:59: dereferencing pointer to incomplete type
init.c: In function `fw_init_net':
init.c:81: dereferencing pointer to incomplete type
init.c:81: warning: implicit declaration of function `libnet_init'
init.c:81: `LIBNET_LINK' undeclared (first use in this function)
init.c:81: (Each undeclared identifier is reported only once
init.c:81: for each function it appears in.)
init.c:81: dereferencing pointer to incomplete type
init.c:82: dereferencing pointer to incomplete type
init.c:84: dereferencing pointer to incomplete type
init.c:90: dereferencing pointer to incomplete type
init.c:92: dereferencing pointer to incomplete type
init.c:92: warning: implicit declaration of function `libnet_getdevice'
init.c:92: dereferencing pointer to incomplete type
init.c:96: dereferencing pointer to incomplete type
init.c:96: warning: implicit declaration of function `libnet_get_ipaddr4'
init.c:96: dereferencing pointer to incomplete type
init.c:99: dereferencing pointer to incomplete type
init.c:99: warning: implicit declaration of function `libnet_name2addr4'
init.c:99: dereferencing pointer to incomplete type
init.c:101: dereferencing pointer to incomplete type
init.c:103: warning: implicit declaration of function `libnet_geterror'
init.c:103: dereferencing pointer to incomplete type
init.c:103: warning: format argument is not a pointer (arg 4)
init.c:103: warning: format argument is not a pointer (arg 4)
init.c:108: dereferencing pointer to incomplete type
init.c:108: dereferencing pointer to incomplete type
init.c:110: dereferencing pointer to incomplete type
init.c:112: dereferencing pointer to incomplete type
init.c:112: warning: format argument is not a pointer (arg 4)
init.c:112: warning: format argument is not a pointer (arg 4)
init.c:117: dereferencing pointer to incomplete type
init.c:117: dereferencing pointer to incomplete type
init.c:119: dereferencing pointer to incomplete type
init.c:125: dereferencing pointer to incomplete type
init.c:125: dereferencing pointer to incomplete type
init.c:127: too many arguments to function `libnet_plist_chain_new'
init.c:129: dereferencing pointer to incomplete type
init.c:130: dereferencing pointer to incomplete type
init.c:130: warning: format argument is not a pointer (arg 4)
init.c:130: warning: format argument is not a pointer (arg 4)
init.c:135: dereferencing pointer to incomplete type
init.c:135: dereferencing pointer to incomplete type
init.c:136: dereferencing pointer to incomplete type
init.c:138: dereferencing pointer to incomplete type
init.c:165: dereferencing pointer to incomplete type
init.c:168: dereferencing pointer to incomplete type
init.c:171: dereferencing pointer to incomplete type
init.c:174: dereferencing pointer to incomplete type
init.c:178: dereferencing pointer to incomplete type
init.c:191: dereferencing pointer to incomplete type
init.c:200: dereferencing pointer to incomplete type
init.c:200: `LIBNET_IPV4_H' undeclared (first use in this function)
init.c:209: dereferencing pointer to incomplete type
init.c:212: dereferencing pointer to incomplete type
init.c:213: dereferencing pointer to incomplete type
init.c:216: dereferencing pointer to incomplete type
init.c: In function `fw_shutdown':
init.c:239: dereferencing pointer to incomplete type
init.c:241: dereferencing pointer to incomplete type
init.c:243: dereferencing pointer to incomplete type
init.c:245: warning: implicit declaration of function `libnet_destroy'
init.c:245: dereferencing pointer to incomplete type
init.c:247: dereferencing pointer to incomplete type
init.c:249: dereferencing pointer to incomplete type
make[1]: *** [init.o] Error 1
make[1]: Leaving directory `/usr/local/src/security/Firewalk/src'
make: *** [install-recursive] Error 1


i then checked my libnet-config and here is my output:

libnet-config --defines
-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN

Someone please help me thanks in advance.
 
Old 02-18-2009, 03:48 PM   #2
maome
LQ Newbie
 
Registered: Sep 2008
Posts: 7

Rep: Reputation: 0
Firewalk installation

Here you will find instructions on how to install firewalk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewalk anamikasoni Linux - Security 4 08-24-2009 02:36 PM
Trouble with firewalk anamikasoni Linux - Security 4 04-30-2005 01:27 AM
firewalk non-installation :P Xon Linux - Security 3 03-24-2005 10:27 AM
Firewalk help anamikasoni Linux - Software 2 03-22-2005 09:45 PM
firewalk installation vindwar Linux - Software 11 10-03-2002 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration