On Wed, Jun 26, 2013 at 1:13 AM, Glynn Clements <[email protected]> wrote: > > Markus Neteler wrote: > >> -bash-3.2$ cd /gpfs/home/neteler/software/grass-7.0.svn/raster/r.terraflow > >> ld: 0711-317 ERROR: Undefined symbol: .std::basic_filebuf<char, >> std::char_traits<char> >::open64(char const*, std::_Ios_Openmode) > > This appears to be a problem with g++ on AIX, caused by AIX having > "#define open open64" in one of its headers: > > http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01957.html > > It might be possible to work around this with e.g.: > > #include <fcntl.h> > #undef open
Markus Metz figured it out, fixed locally (see attachment). Submit or not? GRASS' LFS support on AIX7 also fixed also in http://trac.osgeo.org/grass/changeset/56936 Now trying to get shared libraries enabled (almost there). Markus
r.terraflow_AIX_gcc_fix.diff
Description: Binary data
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
