[geos-devel] Compiling Error GEOS-1.4

Düster Horst Horst.Duester at bd.so.ch
Tue Jun 15 03:57:46 EDT 2004


I try to compile GEOS-1.4 but without success. After download
geos-cvs.tar.bz2 and ./configure

make results in the following crash:

if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../source/headers -I../../source/headers -I../../so
urce/headers -DGEOS_VERSION=""1.4""    -g -O2 -MT planarDirectedEdge.lo -MD
-MP -MF ".deps/planarDirectedEdge.Tpo" \
  -c -o planarDirectedEdge.lo `test -f
'../planargraph/planarDirectedEdge.cpp' || echo
'./'`../planargraph/planarDirectedEdg
e.cpp; \
then mv -f ".deps/planarDirectedEdge.Tpo" ".deps/planarDirectedEdge.Plo"; \
else rm -f ".deps/planarDirectedEdge.Tpo"; exit 1; \
fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers
-I../../source/headers -DGEOS_VERSION=1.4 -g -O2
-MT planarDirectedEdge.lo -MD -MP -MF .deps/planarDirectedEdge.Tpo -c
../planargraph/planarDirectedEdge.cpp  -fPIC -DPIC -o
.libs/planarDirectedEdge.o
../planargraph/planarDirectedEdge.cpp: In method `string
geos::planarDirectedEdge::print ()':
../planargraph/planarDirectedEdge.cpp:198: `sprintf' undeclared (first use
this function)
../planargraph/planarDirectedEdge.cpp:198: (Each undeclared identifier is
reported only once for each
function it appears in.)
make[2]: *** [planarDirectedEdge.lo] Error 1
make[2]: leaving directory »/usr/local/src/sogis/geos-1.4/source/geom«
make[1]: *** [all-recursive] Error 1
make[1]: leaving directory »/usr/local/src/sogis/geos-1.4/source«
make: *** [all-recursive] Error 1

My system:
gcc version 2.96 20000731 
Red Hat Linux 7.1 2.96-98


I would be appreciated about any hint.

Best regards 
Horst



More information about the geos-devel mailing list