Nmap Development mailing list archives
Re: Issues on AIX 5.3 installation
From: Vinicius Batista <vbatista () gmail com>
Date: Wed, 29 Feb 2012 22:07:02 -0300
Hi David, thanks for the instructions. That were exactly the one I am following. However, there are some issues after I execute the following steps: 1 - ./configure with options: ./configure --prefix=/home/wassrvr/nmap --without-zenmap --with-libpcap=included No issues at all. I got the ASCII dragon without problems. 2 - execute gmake, the bellow issue occurs. Looking over the internet, I have found this is something related to libpcap, however, even using the "included" param on configuration, I get this error. Any hints? … gmake[1]: Leaving directory `/home/wassrvr/RPMS/nmap-5.51/liblua' Compiling libpcap gmake[1]: Entering directory `/home/wassrvr/RPMS/nmap-5.51/libpcap' gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-bpf.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-gifc.c if grep GIT ./VERSION >/dev/null; then \ read ver <./VERSION; \ echo $ver | tr -d '\012'; \ date +_%Y_%m_%d; \ else \ cat ./VERSION; \ fi | sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' > version.h gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./inet.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./gencode.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./optimize.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./nametoaddr.c ./nametoaddr.c: In function 'pcap_ether_hostton': ./nametoaddr.c:483: warning: passing argument 1 of 'ether_hostton' discards qualifiers from pointer target type gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./etherent.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./savefile.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./sf-pcap.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./sf-pcap-ng.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-common.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_image.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./bpf_dump.c gcc -g -O2 -O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c scanner.c In file included from scanner.c:2784: /usr/include/unistd.h:171: error: conflicting types for 'lseek64' /usr/include/unistd.h:169: error: previous declaration of 'lseek64' was here In file included from /usr/include/unistd.h:744, from scanner.c:2784: /usr/include/sys/lockf.h:64: error: conflicting types for 'lockf64' /usr/include/sys/lockf.h:62: error: previous declaration of 'lockf64' was here In file included from scanner.c:2784: /usr/include/unistd.h:807: error: conflicting types for 'ftruncate64' /usr/include/unistd.h:805: error: previous declaration of 'ftruncate64' was here /usr/include/unistd.h:843: error: conflicting types for 'truncate64' /usr/include/unistd.h:841: error: previous declaration of 'truncate64' was here /usr/include/unistd.h:860: error: conflicting types for 'pread64' /usr/include/unistd.h:857: error: previous declaration of 'pread64' was here /usr/include/unistd.h:861: error: conflicting types for 'pwrite64' /usr/include/unistd.h:858: error: previous declaration of 'pwrite64' was here /usr/include/unistd.h:928: error: conflicting types for 'fclear64' /usr/include/unistd.h:925: error: previous declaration of 'fclear64' was here /usr/include/unistd.h:929: error: conflicting types for 'fsync_range64' /usr/include/unistd.h:926: error: previous declaration of 'fsync_range64' was here gmake[1]: *** [scanner.o] Error 1 gmake[1]: Leaving directory `/home/wassrvr/RPMS/nmap-5.51/libpcap' gmake: *** [pcap_build] Error 2 wassrvr@b03cxnp01021:/home/wassrvr/RPMS/nmap-5.51> -- Vinicius Batista On Wednesday, 29 de February de 2012 at 18:59, David Fifield wrote:
On Wed, Feb 29, 2012 at 04:44:46PM -0300, Vinicius Batista wrote:Hi, please never mind the bellow question. I just found out that on AIX we should use gmake. There are other issues occurring at this phase, however, I'll try to figure that out first.Please see also these instructions, and let us know if they don't work. http://nmap.org/book/inst-other-platforms.html#inst-aix David Fifield
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Feb 29)
- Re: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Mar 06)
- Re: Issues on AIX 5.3 installation Vinicius Batista (Mar 12)
- Re: Issues on AIX 5.3 installation David Fifield (Mar 12)
- Re: Fw: Issues on AIX 5.3 installation David Fifield (Feb 29)
- Fw: Issues on AIX 5.3 installation Vinicius Batista (Feb 29)