[New-bugs-announce] [issue10800] libffi build failure on HP-UX 11/PA

bugs-python@vendor.thewrittenword.com report at bugs.python.org
Fri Dec 31 08:35:48 CET 2010


New submission from bugs-python at vendor.thewrittenword.com <bugs-python at vendor.thewrittenword.com>:

Python 3.1.3 fails to build on HP-UX/PA:
In file included from /opt/build/Python-3.1.3/Modules/_ctypes/libffi/src/dlmalloc.c:1156:
/opt/TWWfsw/gcc42/lib/gcc/hppa2.0-hp-hpux11.31/4.2/include/stdlib.h:577: error: redefinition of 'struct mallinfo'

Failed to build these modules:
_ctypes

<stdlib.h> on HP-UX has a conflicting definition for struct mallinfo:
#ifndef _STRUCT_MALLINFO
#  define _STRUCT_MALLINFO

  /* structure filled by mallinfo */
  struct mallinfo  {
        int32_t arena;          /* total number of bytes in arena */
        int32_t ordblks;        /* number of ordinary blocks */
        int32_t smblks;         /* number of small blocks */
        int32_t hblks;          /* number of holding blocks */
        int32_t hblkhd;         /* number of bytes in holding block headers */
        int32_t usmblks;        /* number of bytes in small blocks in use */
        int32_t fsmblks;        /* number of bytes in free small blocks */
        int32_t uordblks;       /* number of bytes in ordinary blocks in use */
        int32_t fordblks;       /* number of bytes in free ordinary blocks */
        int32_t keepcost;       /* cost of enabling keep option */
  };    
#endif /* _STRUCT_MALLINFO */

----------
assignee: theller
components: ctypes
messages: 124956
nosy: bugs-python at vendor.thewrittenword.com, theller
priority: normal
severity: normal
status: open
title: libffi build failure on HP-UX 11/PA
type: compile error
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10800>
_______________________________________


More information about the New-bugs-announce mailing list