AMBER Archive (2005)

Subject: Re: AMBER: AMBER 8 installation problem -- undefined reference to `EXIT'

From: Wei Zhang (zweig_at_pku.edu.cn)
Date: Tue Mar 22 2005 - 18:29:26 CST


Dear Lu,

Here is the solution, after configure absoft,
edit config.h
turn line 50 from
   FC=f90
to
   FC=f90 -YEXT_NAMES=LCS

,then
         make clean
         make

That might work.

----- Original Message -----
From: <luckyang_at_gmail.com>
To: <amber_at_scripps.edu>
Sent: Wednesday, March 23, 2005 7:34 AM
Subject: AMBER: AMBER 8 installation problem -- undefined reference to `EXIT'

> Dear AMBER users,
>
> I am trying to install AMBER 8 on a Linux machine (OS: Fedora Core 3) with
> fortran compiler from ABSOFT. I got the following problem. Does this
> imply that my operate system miss the exit(status) function? Thank you
> very much for your help and suggestions.
>
> Lu
>
> ************************************************************************
> ..
> ..
> make[2]: Leaving directory `/usr/softwares/amber8/src/lib'
> f90 -o addles lesmain.o addspace.o readprm.o writprm.o readcrd.o
> writcrd.o pick.orline.o nxt.o intgr.o find.o of.o geti.o
> unit.o getc.o alert.o echo.o get4c.o getd.o wlesprm.o
> lesprm.o les2prm.o checksz.o ../lib/random.o ../lib/mexit.o
> ../lib/nxtsec.o -lm
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ../lib/mexit.o(.text+0x3f): In function `MEXIT':
> : undefined reference to `EXIT'
> collect2: ld returned 1 exit status
> link failed.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> make[1]: *** [addles] Error 1
> make[1]: Leaving directory `/usr/softwares/amber8/src/addles'
> make: *** [serial] Error 2
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber_at_scripps.edu
> To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
>
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu