3) Some contributions give during compilation errors like:
cc -g -o
/disk03/usr/people/grass/Grass4.1/sgi/etc/bin/contrib/cmd/r.traj.data
OBJ.sgi/list_main.o
/disk03/usr/people/grass/Grass4.1/src/libes/LIB.sgi/libgis.a
ld:
Unresolved:
log
*** Error code 1 (bu21)
*** Error code 1 (bu21)This error seems to be an error due to the fact that he does not find
this function but I compile with the -lm option so it looks really
strange to me
Make sure your -lm or $(MATHLIB) is at the **end** of your CC command
in the Gmakefile (so it gets loaded before other libs, since they are
loaded in reverse order)
4) Compiling the datetime libraries the compilation fails on
/usr/lib/ar: Error:Cannot open /usr/lib/libc.so.1 for writing
You have DATETIMELIB set wrong in src/CMD/gneric/make.mid
It should be:
DATETIMELIB = $(LIBDIR)/libdatetime.a
- Bill