Nmap Development mailing list archives
Re: trying to update qscan patch for svn
From: "Michael Pattrick" <mpattrick () rhinovirus org>
Date: Tue, 29 Jul 2008 20:38:35 -0400
Hey Jason, I cant try compiling this right now for various reasons, but line 419 of that patch file looks incorrect. myip = (struct ip *) readip_pcap(pd, &len, TIMEVAL_SUBTRACT(tv, now), &seen, NULL); should be myip = (struct ip *) readip_pcap(pd, &len, TIMEVAL_SUBTRACT(tv, now), &seen, NULL, false); Hope that helps. Cheers, Michael On Tue, Jul 29, 2008 at 6:08 PM, DePriest, Jason R. <jrdepriest () gmail com> wrote:
I am working with svn revision 9179. I have attached the updated patch for qscan and I am pasting below the error I get during 'make'. make[1]: Entering directory `/home/depriest/nmap-svn/nmap' g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcre -Inbase -Insock/include -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/local/libexec/nmap\" nmap.cc -o nmap.o g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcre -Inbase -Insock/include -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/local/libexec/nmap\" service_scan.cc -o service_scan.o g++ -c -Iliblua -Ilibdnet-stripped/include -Ilibpcre -Inbase -Insock/include -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -DNMAPLIBEXECDIR=\"/usr/local/libexec/nmap\" qscan.cc -o qscan.o tcpip.h: In function 'void qscan_run()': tcpip.h:718: error: too few arguments to function 'char* readip_pcap(pcap_t*, unsigned int*, long int, timeval*, link_header*, bool)' qscan.cc:259: error: at this point in file make[1]: *** [qscan.o] Error 1 make[1]: Leaving directory `/home/depriest/nmap-svn/nmap' make: *** [all] Error 2 Can anyone see a blatant error? I don't write code for a living so my skills are limited. Thanks! -Jason -- NOTICE: Reading this email message requires root privileges which you do not appear to possess. Sorry, dude. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- trying to update qscan patch for svn DePriest, Jason R. (Jul 29)
- Re: trying to update qscan patch for svn Michael Pattrick (Jul 29)
- Re: trying to update qscan patch for svn DePriest, Jason R. (Jul 29)
- Re: trying to update qscan patch for svn Kris Katterjohn (Jul 29)
- Re: trying to update qscan patch for svn Michael Pattrick (Jul 29)