Home page logo
/

nmap-dev logo Nmap Development mailing list archives

NMAP 5.50 on Solaris 8 - compiling 'nsock_pcap.c' fails
From: mikep () noc utoronto ca
Date: Wed, 9 Feb 2011 17:03:59 -0500 (EST)

Hi,

Compiling NMAP 5.50 on Solaris 8 with GCC fails at:

cd nsock/src && make
make[1]: Entering directory `/opt/local/src/security/nmap-5.50/nsock/src'
gcc -c -I/usr/local/include -I/opt/local/include -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" 
-D_FORTIFY_SOURCE=2 -I../include -I../../libpcap -g -O2 -Wall   nsock_pcap.c -o nsock_pcap.o
nsock_pcap.c: In function `nsock_pcap_open':
nsock_pcap.c:126: warning: implicit declaration of function `_IOW'
nsock_pcap.c:126: error: syntax error before "u_int"
nsock_pcap.c:125: warning: unused variable `immediate'
make[1]: *** [nsock_pcap.o] Error 1
make[1]: Leaving directory `/opt/local/src/security/nmap-5.50/nsock/src'
make: *** [nsock_build] Error 2

Any ideas what has gone wrong?

[Configured with:
 ./configure CC=gcc --prefix=/opt/local --with-localdirs --without-zenmap
 --with-openssl=/opt/local --with-liblua=included ]

Thanks,
Mike
--
Mike Peterson                         Information Security Analyst - IT Audit
E-mail: mikep () noc utoronto ca                WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230                                           Fax: 416-971-1362
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
  • NMAP 5.50 on Solaris 8 - compiling 'nsock_pcap.c' fails mikep (Feb 10)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault