[Xastir-dev] Geotifs causing crashes

James A Vincent g1pvz at gmx.net
Tue Jan 6 19:09:07 EST 2004


Thanks to all of you who provided advice.  I have downloaded, compiled and installed tiff-v.3.6.1 and attempted to compile libgeotiff-1.2.1.  After ./configure and make I get the following message below !

Any further advice !

Thanks for your tolerance !

James G1PVZ

[root at Boffin libgeotiff-1.2.1]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking for ranlib... (cached) ranlib
checking for ld -shared ... yes
checking for exp in -lm... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for inflateInit_ in -lz... (cached) yes
checking for zlib.h... (cached) yes
checking for jinit_compress_master in -ljpeg... (cached) yes
checking for TIFFOpen in -ltiff... (cached) yes
checking for TIFFMergeFieldInfo in -ltiff... (cached) yes
checking for pj_init in -lproj... (cached) yes
checking for projects.h... (cached) yes
EPSG tables will be read from .csv files.
creating ./config.status
creating Makefile
creating bin/Makefile
creating geo_config.h
geo_config.h is unchanged
[root at Boffin libgeotiff-1.2.1]# make
./config.status
creating Makefile
creating bin/Makefile
creating geo_config.h
geo_config.h is unchanged
touch geo_config.h
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.     ./libxtiff/xtiff.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_free.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_get.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_names.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_new.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_print.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_set.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_tiffp.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_write.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_trans.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_normalize.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geotiff_proj4.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./geo_extra.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./cpl_serv.c
gcc -c -O2  -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.    ./cpl_csv.c
ar r libgeotiff.a xtiff.o geo_free.o geo_get.o geo_names.o geo_new.o geo_print.o geo_set.o geo_tiffp.o geo_write.o geo_trans.o geo_normalize.o geotiff_proj4.o geo_extra.o cpl_serv.o cpl_csv.o
ranlib libgeotiff.a
ld -shared xtiff.o geo_free.o geo_get.o geo_names.o geo_new.o geo_print.o geo_set.o geo_tiffp.o geo_write.o geo_trans.o geo_normalize.o geotiff_proj4.o geo_extra.o cpl_serv.o  cpl_csv.o -lproj -ltiff -ljpeg -lz -lm  -o libgeotiff.so.1.2.1
rm -f libgeotiff.so
ln -s libgeotiff.so.1.2.1 libgeotiff.so
cd ./bin;\
make
make[1]: Entering directory `/tmp/libgeotiff-1.2.1/bin'
gcc -O2  -Wall makegeo.o -L/lib -L.. -lgeotiff -lproj -ltiff -ljpeg -lz -lm  -o makegeo
../libgeotiff.so: undefined reference to `TIFFMergeFieldInfo'
collect2: ld returned 1 exit status
make[1]: *** [makegeo] Error 1
make[1]: Leaving directory `/tmp/libgeotiff-1.2.1/bin'
make: *** [Progs] Error 2
[root at Boffin libgeotiff-1.2.1]#



More information about the Xastir-dev mailing list