Nmap Development mailing list archives
Re: nmap 6.47 compile failure on AIX 7100-03
From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 10 Sep 2014 14:56:49 -0500
On Wed, Sep 10, 2014 at 2:27 PM, Kevin Brott <kevin.brott () gmail com> wrote:
r33665 won't compile FPEngine.o now on my system ... g++ -c -I./liblinear -I./liblua -I./libdnet-stripped/include -I./libpcre -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"powerpc-ibm-aix7.1.0.0\" -DNMAPDATADIR=\"/opt/nmap/share/nmap\" -D_FORTIFY_SOURCE=2 -g -O2 -Wall -fno-strict-aliasing FPEngine.cc -o FPEngine.o In file included from ./nbase/nbase.h:177, from nmap.h:148, from FPEngine.h:132, from FPEngine.cc:127: /usr/include/unistd.h:201: error: declaration of C function 'off64_t lseek64(int, off64_t, int)' conflicts with /usr/include/unistd.h:199: error: previous declaration 'off_t lseek64(int, off_t, int)' here
Kevin, This LARGE_FILES support is turning out to be a pain. As far as I know, we don't need this for anything specific, since we've stripped a lot of the LFS library out of nse_fs.cc. Try the attached patch which removes it entirely and see if it works. Dan
Attachment:
nolarge.patch
Description:
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- nmap 6.47 compile failure on AIX 7100-03 Kevin Brott (Sep 02)
- Message not available
- Message not available
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 08)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Kevin Brott (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Kevin Brott (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Kevin Brott (Sep 10)
- Re: nmap 6.47 compile failure on AIX 7100-03 Daniel Miller (Sep 17)
- Re: nmap 6.47 compile failure on AIX 7100-03 Kevin Brott (Sep 17)
- Message not available
- Message not available