thefinn93 Posted August 13, 2009 Share Posted August 13, 2009 Hello, could you help me? I get the following error message when I try to make and cannot figure out how to fix it (ima noob :( ): make all-am make[1]: Entering directory `/home/finn/airpwn-1.4' if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT airpwn.o -MD -MP -MF ".deps/airpwn.Tpo" -c -o airpwn.o airpwn.c; \ then mv -f ".deps/airpwn.Tpo" ".deps/airpwn.Po"; else rm -f ".deps/airpwn.Tpo"; exit 1; fi In file included from airpwn.c:46: conf.h:21:30: error: python2.4/Python.h: No such file or directory In file included from airpwn.c:46: conf.h:33: error: expected specifier-qualifier-list before ‘PyObject’ airpwn.c: In function ‘spoof_response’: airpwn.c:401: error: ‘conf_entry’ has no member named ‘response_len’ airpwn.c:402: error: ‘conf_entry’ has no member named ‘pyfunc’ airpwn.c:403: error: ‘PyObject’ undeclared (first use in this function) airpwn.c:403: error: (Each undeclared identifier is reported only once airpwn.c:403: error: for each function it appears in.) airpwn.c:403: error: ‘args’ undeclared (first use in this function) airpwn.c:405: error: ‘value’ undeclared (first use in this function) airpwn.c:405: error: ‘conf_entry’ has no member named ‘pyfunc’ airpwn.c:412: warning: assignment makes pointer from integer without a cast airpwn.c:435: error: ‘conf_entry’ has no member named ‘options’ airpwn.c: In function ‘process_ip_packet’: airpwn.c:470: error: ‘conf_entry’ has no member named ‘next’ airpwn.c:509: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result airpwn.c:510: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result airpwn.c:511: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result make[1]: *** [airpwn.o] Error 1 make[1]: Leaving directory `/home/finn/airpwn-1.4' make: *** [all] Error 2 I'm running Ubuntu 9.04 Januty fyi thanks in advance Quote Link to comment Share on other sites More sharing options...
thefinn93 Posted August 13, 2009 Share Posted August 13, 2009 Never mind i fixed it. I guess i didn't have some dependency, but (for anyone else having this problem), the following fixed it: apt-get install libnet1-dev libpcap-dev python2.4-dev libpcre3-dev and then ./configure and of course make and make install Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.