Brent L. Bates on Tue, 21 Apr 2015 21:33:02 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Problems Compiling on AIX 7.1 with XLC Compiler


     I've been trying to compile pari-2.7.3 on our IBM Power 7 running
AIX 7.1 with the XLC compiler version 12.1 and having problems.  I
think I've finally figured out what the problem is, but don't know how
to fix it.  PARI has a function vec_insert.  The XLC compiler also has
a built-in function vec_insert and is defined in an internal include
file.  This conflicts with the definition in src/headers/paridecl.h.
     Is the vec_insert PARI function an internal function?  If so,
maybe I can rename it everywhere in the source files to something
else.  If it is an external API function that software trying to use
PARI, I don't know how I can easily work around this problem.  Any
pointers or suggestions would be greatly appreciated.  Thanks.

-- 
Brent L. Bates