A new release, PROJ.4.2.1.Z, on charon.er.usgs.gov was necessary to
fix Makefile gaffs. For those who have aready downloaded 4.2, the only
critical patch is as follows. PROJ.4.2.A.tar is not affected.
File PROJ.4/src/Makefile needs corrections as follows:
< == old Makefile
== new Makefile
line 70, both files, one comma too many---delete
< $L(pj_tsfn.o) $L(mk_cheby.o) $L(pj_list.o), $L(vector1.o) \
--- ~
$L(pj_tsfn.o) $L(mk_cheby.o) $L(pj_list.o) $L(vector1.o) \
lines 92,93, both files, correct nad2bin compilation from:
< nad2bin: nad2bin.o
< $(CC) -o nad2bin nad2nad.o $T $L -lm
--- to: ~~~ ~~
nad2bin: nad2bin.o $T $L
$(CC) -o nad2bin nad2bin.o $T -lm
at end of Makefile, add
nad2bin.o: projects.h
For DEC users change line 31 in file PROJ.4/install from:
make install LIB=$lib LIB_NAME=$libname STRTOD='$L(strtod.o)'
to:
make install CC=gcc LIB=$lib LIB_NAME=$libname STRTOD='$L(strtod.o)'
The native DEC C compiler has a lot of problems with certain
kinds of initializations.
The above corrections have been made to PROJ.4.2.1.tar.Z.
Gerald (Jerry) I. Evenden Internet: gie@charon.er.usgs.gov
voice: (508)563-6766 Postal: P.O. Box 1027
fax: (508)457-2310 N.Falmouth, MA 02556-1027