Re: [AMBER] problems compiling ambertool

From: Bill Ross <ross.cgl.ucsf.edu>
Date: Mon, 16 Mar 2009 22:50:44 +0000

> ...[lots of warnings that can be ignored]...
> cc ncsu-penalties.o bondtype.o -o bondtype [no -lm flag]
> Undefined first referenced
> symbol in file
> fabs bondtype.o
> ld: fatal: Symbol referencing errors. No output written to bondtype
> *** Error code 1

Ironic that a missing math library routine would be what stops the
compile. Note that other compiles use the math lib (-lm):

> cc atomtype.o -lm -o atomtype

But this flag is missing from the bondtype compile above.

Bill

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Mar 18 2009 - 01:12:37 PDT
Custom Search