AMBER Archive (2009)

Subject: Re: [AMBER] problems compiling ambertool

From: Bill Ross (ross_at_cgl.ucsf.edu)
Date: Mon Mar 16 2009 - 17:50:44 CDT


> ...[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_at_ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber