Re: AMBER: a quistion about compile

From: David A. Case <case.scripps.edu>
Date: Wed, 21 Dec 2005 13:01:52 -0800

On Wed, Dec 21, 2005, snowyowls wrote:

> i find the fist fail messeg is this commond
> g95 -o new2oldparm new2oldparm.o nxtsec.o
> then i goto src/lib
> run the same commod
> and get the same out put:
> lots of
> nxtsec.o(.text+0x146b): In function `nxtsec_':
> : undefined reference to `_g95_st_write'
> nxtsec.o(.text+0x1470): In function `nxtsec_':
> : undefined reference to `_g95_st_write_done'
> nxtsec.o(.text+0x1476): In function `nxtsec_':
> : undefined reference to `_g95_filename'
> nxtsec.o(.text+0x1480): In function `nxtsec_':
> : undefined reference to `_g95_line'
> nxtsec.o(.text+0x1489): In function `nxtsec_':
> : undefined reference to `_g95_stop_blank'
> nxtsec.o(.text+0x148e): In function `nxtsec_':
>
> than i change to try another commond
> g95 -o new2oldparm new2oldparm.f nxtsec.f
> this time it succesfull
> and i got the file named new2oldparm

It sounds like you failed to do a "make clean" after you reinstalled the
compiler. So the first test was picking up an old nxtsec.o file, and failing,
whereas the second test was working.

So, do a "make clean" in the $AMBERHOME/src directory, and try again.

....dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Dec 21 2005 - 21:53:01 PST
Custom Search