[AMBER] Installation Error while linking C executable xaLeap

From: Hrishikesh Dhondge <hbdhondge.gmail.com>
Date: Fri, 15 May 2020 15:33:14 +0200


I tried to install the AMBER as per the instructions in the manual. But
facing some problems in "make install" command.

While Linking C executable xaLeap, it gives error.
The error is as follows:

[ 97%] Linking C executable xaLeap
/usr/bin/ld: ../Xraw/libXaw.a(AsciiSrc.c.o): in function `InitStringOrFile':
AsciiSrc.c:(.text+0x145c): warning: the use of `tmpnam' is dangerous,
better use `mkstemp'
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSM.so: undefined reference to
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libSM.so: undefined reference to
collect2: error: ld returned 1 exit status
make[2]: ***
AmberTools/src/leap/src/leap/xaLeap] Error 1
make[1]: *** [CMakeFiles/Makefile2:8898:
AmberTools/src/leap/src/leap/CMakeFiles/xaLeap.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

I looked for solution but did not found anything. What could be wrong?
Could you please help me out?

Thanks in advance!
With regards
Hrishikesh Dhondge
AMBER mailing list
Received on Fri May 15 2020 - 07:00:02 PDT
Custom Search