Re: AMBER: More AMBER 8 compilation problems on OSF1 4.0F

From: David A. Case <case.scripps.edu>
Date: Mon, 18 Oct 2004 08:59:58 -0700

On Mon, Oct 18, 2004, Atro Tossavainen wrote:

> OSF1 4.0F doesn't have snprintf, so I get:
>
> cc -o xaLeap basics.o sysdepend.o stringExtra.o varArray.o getline.o avl.o pdb_format.o pdb_read.o pdb_sprntf.o pdb_sscanf.o pdb_write.o vector.o zMatrix.o sort.o bag.o hash.o dictionary.o database.o nVector.o ring.o matrix.o fortran.o displayer.o assoc.o atom.o byteArray.o collection.o container.o internal.o list.o loop.o molecule.o oDouble.o oInteger.o oString.o objekt.o parmSet.o residue.o unit.o unitio.o tripos.o graphUtil.o select.o amber.o build.o elements.o library.o chirality.o minimizer.o model.o parmLib.o pdbFile.o tools.o variables.o parser.o help.o helptext.o octree.o commands.o mathop.o block.o restraint.o hybrid.o xTank.o xAction.o x3d.o xBasics.o xaLeapc.o xaUnitEditor.o xaTable.o xaAtomTable.o XrawRegistr.o xaCommand.o xaTools.o xaAtomParmTable.o xaBondParmTable.o xaAngleParmTable.o xaParmEditor.o xaTorsionParmTable.o xaImproperParmTable.o xaHBondParmTable.o ../Xraw/libXaw.a ../Wc/libWcLeap.a ../Xpm/libXpm.a ../Xmu/libXmu.a -L/usr/X11R6/lib -lX!
 t !
-l!
> Xext -lSM -lICE -lX11 -lm -lpthread
> ld:
> Unresolved:
> vsnprintf

I know it is probably not much help, but I don't see this behavior. I get the
above command with no "unresolved" messages. Here is my system:

% cc -V
cc (cc)
        Digital UNIX Compiler Driver 3.11
Compaq C V6.1-120 on Digital UNIX V4.0G (Rev. 1530)
/usr/lib/cmplrs/cc/ld:
        $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06
19:54:27 $
        $RCSfile: ld.c,v $ $Revision: 4.3.140.2 $ (DEC) $Date: 1999/08/10
19:02:06 $

....etc.

% uname -a
OSF1 peano.scripps.edu V4.0 1530 alpha


>
> I know that libdb includes
> functions with these names, but I seem to recall that they are merely
> non-checking wrappers for the non-checking versions and that the
> desired functionality is not there. It would allow the program to
> compile but do I want to do this?

Sounds reasonable to me; why not try it??

....dac

-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Mon Oct 18 2004 - 17:53:00 PDT
Custom Search