Compile problem

From: Yanni Wang <wangyn_at_Kvac.UU.SE>
Date: Thu 2 Mar 2000 11:34:52 +0000

Dear all,

    I install and compile amber5 on DEC alpha machine with Machine.axp file.
When I makeall, I get the following error in etc and carnal, and got a similar
error in nmr_aux.

etc and carnal:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ld:
main.o: main: multiply defined
Unresolved:
MAIN__
fort: Severe: Failed while trying to link.
*** Exit 1
Stop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

nmr_anx:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Compile CC makeDIST_RST.c
cc -c -DAXP_OSF -DBYTE_REVERSED -DMEM_ALLOC -DEWALD -DHAS_FTN_ERFC
 makeDIST_RST.c
../../Compile LOAD -o makeDIST_RST makeDIST_RST.o -lm
f77 -o makeDIST_RST makeDIST_RST.o -lm
ld:
makeDIST_RST.o: main: multiply defined
Unresolved:
MAIN__
fort: Severe: Failed while trying to link.
*** Exit 1
Stop.
*** Exit 1
Stop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


   Many thanks for any help and suggestions!

   With best regards!

   Yanni


-- 
********************************************************************
Yanni Wang                           |    Phone:  +46 18 471 6840
Department of Quantum Chemistry      |    Fax:    +46 18 50 24 02
Uppsala University                   |    E-mail: wangyn_at_kvac.uu.se   
Box 518
S-751 20 Uppsala, Sweden
Received on Thu Mar 02 2000 - 03:34:52 PST
Custom Search