A bug invoked in process of make.code when aacgm module are compiled:
"
make.version /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/..
make.hdr /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include /Users/huijunli/Tools/Python/rst/include/analysis
/Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h
/Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h -> /Users/huijunli/Tools/Python/rst/include/analysis/aacgm.h
cc -Wall -pedantic -O3 -D_GNU_SOURCE -D_DARWIN -I/opt/local/include -I/Users/huijunli/Tools/Python/rst/include/base -I/Users/huijunli/Tools/Python/rst/include/general -c math.c
math.c:45:33: error: implicitly declaring library function 'floor' with type 'double (double)' [-Werror,-Wimplicit-function-declaration]
if (quotient >= 0) quotient = floor(quotient);
^
math.c:45:33: note: include the header or explicitly provide a declaration for 'floor'
"
Looks like the math library might not be linked (see this stack exchange answer). The makefile might need to be modified with the inclusion of -lm after math.c to link the math library.
A bug invoked in process of make.code when aacgm module are compiled: " make.version /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/.. make.hdr /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include /Users/huijunli/Tools/Python/rst/include/analysis /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h /Users/huijunli/Tools/Python/rst/codebase/analysis/src.lib/aacgm/aacgm.1.15/src/../include/aacgm.h -> /Users/huijunli/Tools/Python/rst/include/analysis/aacgm.h cc -Wall -pedantic -O3 -D_GNU_SOURCE -D_DARWIN -I/opt/local/include -I/Users/huijunli/Tools/Python/rst/include/base -I/Users/huijunli/Tools/Python/rst/include/general -c math.c or explicitly provide a declaration for 'floor'
"
math.c:45:33: error: implicitly declaring library function 'floor' with type 'double (double)' [-Werror,-Wimplicit-function-declaration] if (quotient >= 0) quotient = floor(quotient); ^ math.c:45:33: note: include the header
What's wrong with it?