Re: nacrg for IBM AIX 5.2 32 bit

From: Mary Haley (haley AT ucar.edu)
Date: Tue Feb 22 2005 - 08:55:57 MST

  • Next message: Mary Haley: "Re: [ncl-talk] C Wrapper functions"

    Alex,

    You are probably right about it being the "_" symbol.

    If I remember correctly, the default behavior of "xlf" on the IBMs is
    to NOT append
    the underscore, and this would have been the way NCAR Graphics was
    compiled.

    Are you by any chance putting something on the compile line that might
    be forcing
    underscores to appear? I believe the option is "-qextname". If you are
    compiling with this
    option, please try compiling without it to see if this works.

    If you need the underscores appended for other reasons, then you will
    need a version of
    NCAR Graphics that is built with the "-qextname" option. I will be
    out-of-town so I can't
    do it for you, but you could try downloading the source code and
    building it yourself.
    You would need to add the "-qextname" option to the
    $NCARG/config/AIX_RS6000
    file, and you might also need to modify
    $NCARG/common/src/libncarg_c/c.h to redefine
    the NGCALLF macro to append the underscore.

    --Mary

    On Feb 21, 2005, at 3:13 AM, Alexandre.Abadie@univ-reunion.fr wrote:

    > Hi,
    > Last week, I asked for binaries of ncarg for an IBM aix 5.2 in 32 bit
    > mode. But
    > now, I've got a problem at the end of the compilation of my program
    > during
    > linkage. The "ld" linker can't find some routines such as "qgchh_",
    > "gdawk_"
    > and a lot of others. I am not sure bit I think it comes from the
    > compatibility
    > between C and Fortran langages (with the "_" symbol). Have you got an
    > idea that
    > can help me ? (with compilation options or others)
    >
    > Thanks
    >
    > Alex
    >
    >
    >
    > -------------------------------------------------
    > This mail sent through IMP: http://horde.org/imp/
    > _______________________________________________
    > ncarg-talk mailing list
    > ncarg-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncarg-talk

    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Tue Feb 22 2005 - 09:02:21 MST