[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'no matching function' error on AIX 5.3
From: |
Loris Bennett |
Subject: |
Re: 'no matching function' error on AIX 5.3 |
Date: |
Thu, 30 Jul 2009 15:25:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
"John W. Eaton" <address@hidden> writes:
> On 29-Jul-2009, Dr. Loris Bennett wrote:
>
> | I'm getting this error compiling Octave 3.2.2 on AIX 5.3 with gcc
> | 4.3.3:
> |
> | oct-fstrm.cc:55: error: no matching function for call to
> | 'std::basic_fstream<char, std::char_traits<char>
> | >::open(const char*, std::_Ios_Openmode&, int)'
> |
> | This seems to have been discussed some while ago
> | (http://velveeta.che.wisc.edu/octave/lists/octave-maintainers/2002/28),
> | but with regard to fixing the configure.
> |
> | Is there a workaround which would get me over this compile step?
>
> In the message you quote, I said:
>
> | Apparently configure did not define CXX_ISO_COMPLIANT_LIBRARY on your
> | system, even though it probably should have if you are using g++
> | 3.0.x.
> |
> | Can you find out why it failed to define this macro, or at least send
> | me the relevant parts of config.log?
>
> Was there ever a follow-up to that message? It is difficult for me to
> fix problems if I don't understand what is causing them. Or perhaps
> this is really some different problem now?
>
> Assuming the problem is the same, then:
>
> If you also just want a quick fix for yourself then you could try
> editing the generated config.h file so that it defines
> CXX_ISO_COMPLIANT_LIBRARY.
>
> If you'd like to try to help actually fix this problem for everyone,
> then can you examine the config.log file and try to determine why
> CXX_ISO_COMPLIANT_LIBRARY is not defined on your system when it seems
> it should if you are using GCC 4.3.3.
>
> jwe
This problem turned out not to be reproducible. Running configure
again lead to octave_cv_cxx_iso_compliant_library=yes and the error in
oct-fstrm.cc did not reoccur.
Cheers
Loris
--
Dr. Loris Bennett
Computer Centre
Freie Universität Berlin
Berlin, Germany