Re: [AMBER] Fwd: problem of compiling

From: Gerald Monard <Gerald.Monard.univ-lorraine.fr>
Date: Thu, 12 Dec 2019 19:46:44 +0100

Hello,

Did you applied the solution described at
http://ambermd.org/Installation.php for OpenSuse?

Gerald.

On 12/12/19 01:21, Albert wrote:

>
> 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

-- 
____________________________________________________________________________
  Prof. Gerald MONARD
  Directeur du mésocentre EXPLOR
  Université de Lorraine
  Boulevard des Aiguillettes B.P. 70239
  F-54506 Vandoeuvre-les-Nancy, FRANCE
  e-mail : Gerald.Monard.univ-lorraine.fr
  phone  : +33 (0)372.745.279
  mobile : +33 (0)678.006.443
  web    : http://www.monard.info
____________________________________________________________________________
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Dec 12 2019 - 11:00:01 PST
Custom Search