Re: [AMBER] Fwd: Ambertools21 installation problems

From: David A Case <david.case.rutgers.edu>
Date: Mon, 25 Oct 2021 07:42:28 -0600

On Mon, Oct 25, 2021, Victor Nazarychev wrote:

>> >I tried to install AmberTools21 using Option 1 in the instruction manual
>> >from the website https://ambermd.org/GetAmber.php#ambertools .

>> > [ 94%] Building C object
>> >AmberTools/src/leap/src/leap/CMakeFiles/leap_common_obj.dir/getline.c.o
>> >
>>
>> >/home/victor/src/amber20_src/AmberTools/src/leap/src/leap/getline.c:117:17:
>> >error: conflicting types for ‘write’
>> >
>> >117 | extern int write();

Can you try the following: replace the file,

    amber20_src/AmberTools/src/leap/src/leap/getline.c

with the one in the attachment? The code you have is clearly outdated, but
I'm not yet sure why no one else has reported this problem -- it could be
related to your use of the very recent ubuntu 21.10 release, or it could be
something else.

....thanks...dave case



_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber

Received on Mon Oct 25 2021 - 07:00:02 PDT
Custom Search