Hello,
I am trying to compile Amber18+AmberTool19 in my opensuse 15.1 x64 OS
with command line:
./configure gnu
but it always failed with the following messages:
I am using gcc-8
----------------------------
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
C/ObjC but not for C++
src/readparm.cpp: In function ‘ExitStatus readparm(const string&,
std::vector<std::__cxx11::basic_string<char> >&, ParmDataMap&,
ParmStringMap&, ParmStringMap&, ParmFormatMap&, std::__cxx11::string&)’:
src/readparm.cpp:143:28: warning: ‘char* strncpy(char*, const char*,
size_t)’ specified bound 8 equals destination size [-Wstringop-truncation]
strncpy(d.c, word.c_str(), MAX_HOLLERITH_SIZE);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/soft/amber/18/miniconda/compiler_compat/ld:
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
initialize decompress status for section .debug_aranges
/soft/amber/18/miniconda/compiler_compat/ld:
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
initialize decompress status for section .debug_aranges
/soft/amber/18/miniconda/compiler_compat/ld:
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
initialize decompress status for section .debug_aranges
/soft/amber/18/miniconda/compiler_compat/ld:
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
initialize decompress status for section .debug_aranges
/usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: file not
recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make[2]: *** [Makefile:525: parmed] Error 1
make[2]: Leaving directory '/soft/amber/18/AmberTools/src'
make[1]: *** [Makefile:56: serial] Error 2
make[1]: Leaving directory '/soft/amber/18/AmberTools/src'
make: *** [Makefile:7: install] Error 2
------------------------------------------------
Thank you very much
Albert
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sat Dec 07 2019 - 20:30:02 PST