SGI C++ compile errors

Jerry Tietz tietz at psych.ucsb.edu
Wed Aug 4 20:52:07 CEST 1999


I am trying to compile an SGI C++ source
file which contains the call Py_Initializ() but I
get the following error messages:

"/usr/people/beall/dev/Python-1.2/Include/mymalloc.h", line 64:
error(3419):
          more than one instance of overloaded function "malloc" has "C"

          linkage
  extern ANY *malloc Py_PROTO((size_t));
              ^

"/usr/people/beall/dev/Python-1.2/Include/mymalloc.h", line 65:
error(3419):
          more than one instance of overloaded function "calloc" has "C"

          linkage
  extern ANY *calloc Py_PROTO((size_t, size_t));
              ^
Can anybody tell me how to fix this?

Thanks,
Jerry Tietz





More information about the Python-list mailing list