[Dune] compilation crashes in dune-common
Benedikt Oswald
Benedikt.Oswald at psi.ch
Mon Mar 15 13:06:32 CET 2010
Dear Oliver, no worry! Thanks for the quick fix,
here's my compiler...I should have added it anyway
to my mail to the dune list:
pcp029897:hades oswald$ gcc --v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
pcp029897:hades oswald$
Greetings to Berlin! Benedikt
On Mar 15, 2010, at 11:34 AM, Oliver Sander wrote:
> Hi Benedikt!
> This is due to my patch from yesterday constifying a method in the
> ConfigParser.
> The new code uses the at() method of std::map, which, as I just
> learned with some
> surprise, is *not* in the standard, but only a suggested addition.
>
> I will revert the patch, but just out of curiosity: what compiler
> are you using?
>
> sorry for the hassle,
> Oliver
>
> Benedikt Oswald schrieb:
>> Dear Dune, after updating to the latest trunk, the compilation
>> fails with the
>> error message given below. The dune-common version is:
>>
>> pcp029897:dune-trunk oswald$ svn info ./dune-common/
>> Path: dune-common
>> URL: https://svn.dune-project.org/svn/dune-common/trunk
>> Repository Root: https://svn.dune-project.org/svn/dune-common
>> Repository UUID: 419231ca-4411-0410-aba2-fc6cf8c4f609
>> Revision: 5930
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: mnolte
>> Last Changed Rev: 5930
>> Last Changed Date: 2010-03-15 11:05:29 +0100 (Mon, 15 Mar 2010)
>>
>>
>>
>> Thanks for having a look, Benedikt
>>
>>
>>
>> =======================================
>>
>> --- calling make for dune-common ---
>> make
>> cd . && /bin/sh /Users/oswald/svnwork/dune-trunk/dune-common/
>> missing --run autoheader
>> configure.ac:13: warning: PKG_PROG_PKG_CONFIG is m4_require'd but
>> not m4_defun'd
>> aclocal.m4:8004: DUNE_CHECK_ALL is expanded from...
>> configure.ac:13: the top level
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id,
>> must contain _cv_ to be cached
>> ../../lib/autoconf/general.m4:2033: AC_CACHE_VAL is expanded from...
>> ../../lib/autoconf/general.m4:2046: AC_CACHE_CHECK is expanded
>> from...
>> aclocal.m4:664: AC_LIBTOOL_COMPILER_OPTION is expanded from...
>> aclocal.m4:5335: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
>> aclocal.m4:2730: _LT_AC_LANG_C_CONFIG is expanded from...
>> aclocal.m4:2661: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
>> aclocal.m4:231: AC_LIBTOOL_SETUP is expanded from...
>> aclocal.m4:86: _AC_PROG_LIBTOOL is expanded from...
>> aclocal.m4:66: AC_PROG_LIBTOOL is expanded from...
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-
>> id, must contain _cv_ to be cached
>> aclocal.m4:701: AC_LIBTOOL_LINKER_OPTION is expanded from...
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-
>> id, must contain _cv_ to be cached
>> aclocal.m4:3734: _LT_AC_LANG_CXX_CONFIG is expanded from...
>> aclocal.m4:2738: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
>> aclocal.m4:1897: _LT_AC_TAGCONFIG is expanded from...
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious
>> cache-id, must contain _cv_ to be cached
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-
>> id, must contain _cv_ to be cached
>> aclocal.m4:3995: _LT_AC_LANG_F77_CONFIG is expanded from...
>> aclocal.m4:3901: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious
>> cache-id, must contain _cv_ to be cached
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-
>> id, must contain _cv_ to be cached
>> aclocal.m4:4051: _LT_AC_LANG_GCJ_CONFIG is expanded from...
>> aclocal.m4:4003: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
>> configure.ac:13: warning:
>> AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious
>> cache-id, must contain _cv_ to be cached
>> aclocal.m4:8162: DUNE_COMMON_CHECKS is expanded from...
>> dependencies.m4:18: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
>> rm -f stamp-h1
>> touch config.h.in
>> cd . && /bin/sh ./config.status config.h
>> config.status: creating config.h
>> config.status: config.h is unchanged
>> make all-recursive
>> Making all in dune
>> Making all in common
>> Making all in .
>> /bin/sh ../../libtool --tag=CXX --mode=compile mpicxx -
>> DHAVE_CONFIG_H -I. -I../.. -I../.. -DMPICH_IGNORE_CXX_SEEK -O2 -
>> DMPICH_IGNORE_CXX_SEEK -O2 -MT configparser.lo -MD -MP -MF .deps/
>> configparser.Tpo -c -o configparser.lo configparser.cc
>> mpicxx -DHAVE_CONFIG_H -I. -I../.. -I../.. -DMPICH_IGNORE_CXX_SEEK -
>> O2 -DMPICH_IGNORE_CXX_SEEK -O2 -MT configparser.lo -MD -MP -
>> MF .deps/configparser.Tpo -c configparser.cc -o configparser.o
>> configparser.cc: In member function 'const Dune::ConfigParser&
>> Dune::ConfigParser::sub(const std::string&) const':
>> configparser.cc:196: error: 'const class
>> std::map<std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, Dune::ConfigParser,
>> std::less<std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> > >, std::allocator<std::pair<const
>> std::basic_string<char, std::char_traits<char>,
>> std::allocator<char> >, Dune::ConfigParser> > >' has no member
>> named 'at'
>> make[4]: *** [configparser.lo] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> --- Failed to build dune-common ---
>>
>>
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch,
>> Computational Accelerator Scientist, http://amas.web.psi.ch
>> Paul Scherrer Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch
>> , +41(0)56 310 32 12
>>
>> "Passion is required for any great work, and for the revolution
>> passion and audacity are required in big doses.",
>> Ernesto 'Che' Guevara, Letter to his parents.
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>
>
> --
> ************************************************************************
> * Oliver Sander ** email: sander at mi.fu-
> berlin.de *
> * Freie Universität Berlin ** phone: + 49 (30) 838
> 75348 *
> * Institut für Mathematik ** URL : page.mi.fu-berlin.de/
> ~sander *
> * Arnimallee 6 **
> -------------------------------------*
> * 14195 Berlin, Germany ** Member of MATHEON
> (www.matheon.de) *
> ************************************************************************
>
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch,
Computational Accelerator Scientist, http://amas.web.psi.ch
Paul Scherrer Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch
, +41(0)56 310 32 12
"Passion is required for any great work, and for the revolution
passion and audacity are required in big doses.",
Ernesto 'Che' Guevara, Letter to his parents.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
More information about the Dune
mailing list