Nmap Development mailing list archives
Re: Bug: liblua use of undeclared type off_t causes build failure on OSX10.4PPC
From: Patrick Donnelly <batrick () batbytes com>
Date: Fri, 31 Oct 2014 16:26:57 -0400
Hi Geoff, On Thu, Oct 30, 2014 at 9:05 PM, Geoff Down <geoffdown () fastmail net> wrote:
Hello all, I experienced this bug when trying to install Macports Nmap @6.47_0 . https://trac.macports.org/ticket/38822 Seems off_t isn't native to the compiler apple-gcc42 (which is the latest available from Macports at least) and the legacy sys/types.h, where it is in fact defined, isn't included by liolib.c . Can you fix this so that other non C-programmers don't have to dive into the code please? I assume my kludge won't cause me any problems. Regards, Geoff Down
That bug seems to be a duplicate of [1]. Also, this has been brought up on Lua's mailing list here [2]. Summary: this is Apple's fault since off_t is required to be defined in stdio.h as per [3] (POSIX.1-2008). Please forward the bug to Apple and/or have downstream macports (?) maintain a patch. [1] https://trac.macports.org/ticket/40433 [2] http://lua-users.org/lists/lua-l/2011-12/msg00707.html [3] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html -- Patrick Donnelly _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Bug: liblua use of undeclared type off_t causes build failure on OSX10.4PPC Geoff Down (Oct 30)
- Re: Bug: liblua use of undeclared type off_t causes build failure on OSX10.4PPC Patrick Donnelly (Oct 31)
- <Possible follow-ups>
- Re: Bug: liblua use of undeclared type off_t causes build failure on OSX10.4PPC Geoff Down (Oct 31)
- Re: Bug: liblua use of undeclared type off_t causes build failure on OSX10.4PPC Patrick Donnelly (Oct 31)