[Parvis-users] How to compile gdal in AIX

R Phani rphani at tropmet.res.in
Wed Mar 12 21:02:42 CDT 2014


Hi Jayesh,

I tried with the new version of GDAL and even posted on the GDAL mailing list. But there was not solution till now. 

I will also try to with your suggestion. Thanks. 

Regards,
Phani

----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "Mary Haley" <haley at ucar.edu>, "陈剑桥" <xiguli520 at 163.com>
Cc: parvis-users at lists.mcs.anl.gov
Sent: Wednesday, March 12, 2014 9:14:17 PM
Subject: Re: [Parvis-users] How to compile gdal in AIX



Hi, 
As Mary mentioned in her email try the GDAL mailing list. This error is because different compilers require (some strictly) compliance with different versions of the C++ standard. 
Also try the following and see if it works (no guarantees, I don't have access to AIX so cannot try this on my own), 

# Note that the fix below is not the *right* fix but the simplest one. 
# Edit ./gcore/rasterio.cpp (GDAL source file with the error) 
# Remove the static keyword from the definition of the function GDALCopyWordsT 

============================================= 

template <class Tin, class Tout> 
//static void GDALCopyWordsT(const Tin* const pSrcData, int nSrcPixelOffset, 
void GDALCopyWordsT(const Tin* const pSrcData, int nSrcPixelOffset, 
Tout* const pDstData, int nDstPixelOffset, 
int nWordCount) 

============================================= 

# Recompile GDAL 

Regards, 
Jayesh 



From: parvis-users-bounces at lists.mcs.anl.gov [parvis-users-bounces at lists.mcs.anl.gov] on behalf of Mary Haley [haley at ucar.edu] 
Sent: Wednesday, March 12, 2014 7:44 PM 
To: 陈剑桥 
Cc: parvis-users at lists.mcs.anl.gov 
Subject: Re: [Parvis-users] How to compile gdal in AIX 



Hi Chen, 


Here at NCAR we no longer have access to an AIX system, so I’m unable to help there. 


Did you try the GDAL email list? 


The other possibility is to try the GNU compilers if you can use these instead of xlc. 


If you are needing to build GDAL for ParNCL, then I should mention that this package is optional if you don’t need shapefile support. 


—Mary 



On Mar 12, 2014, at 8:24 AM, 陈剑桥 < xiguli520 at 163.com > wrote: 





Hi PARVIS support , 
Did you settle the problem http://lists.mcs.anl.gov/pipermail/parvis-users/2013-August/000018.html 
I meet the same problem when I want to compile gdal-1.10.0 by using xlc & xlC in AIX. 
How to fit it ? 
best regards! 

Chen Jian-qiao 
Fuzhou Fujian China 
+86-591-87877036 

_______________________________________________ 
Parvis-users mailing list 
Parvis-users at lists.mcs.anl.gov 
https://lists.mcs.anl.gov/mailman/listinfo/parvis-users 


_______________________________________________
Parvis-users mailing list
Parvis-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/parvis-users


More information about the Parvis-users mailing list