This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bugs-python@vendor.thewrittenword.com
Recipients bugs-python@vendor.thewrittenword.com, theller
Date 2010-12-31.07:35:46
SpamBayes Score 0.004020044
Marked as misclassified No
Message-id <1293780948.24.0.107395792812.issue10800@psf.upfronthosting.co.za>
In-reply-to
Content
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 */
History
Date User Action Args
2010-12-31 07:35:48bugs-python@vendor.thewrittenword.comsetrecipients: + bugs-python@vendor.thewrittenword.com, theller
2010-12-31 07:35:48bugs-python@vendor.thewrittenword.comsetmessageid: <1293780948.24.0.107395792812.issue10800@psf.upfronthosting.co.za>
2010-12-31 07:35:47bugs-python@vendor.thewrittenword.comlinkissue10800 messages
2010-12-31 07:35:46bugs-python@vendor.thewrittenword.comcreate