Nmap Development mailing list archives

trying to update qscan patch for svn


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Tue, 29 Jul 2008 17:08:07 -0500

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.

Attachment: nmap-svn9179-qscan.patch
Description:


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: