Opened 11 years ago

Closed 11 years ago

#628 closed defect (invalid)

geos compilation error

Reported by: martinl Owned by: pramsey
Priority: major Milestone: 3.4.0
Component: Build/Install Version: main
Severity: Significant Keywords:
Cc:

Description

Hi,

I am getting compilation error for latest geos from svn trunk.

./configure --prefix=/usr/local --enable-python --with-gnu-ld
make -j1
make[2]: Entering directory `/home/martin/src/geos/doc'
g++ -DHAVE_CONFIG_H -I. -I../include -I../include/geos -I../include   -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2 -MT example.o -MD -MP -MF .deps/example.Tpo -c -o example.o example.cpp
mv -f .deps/example.Tpo .deps/example.Po
/bin/bash ../libtool --tag=CXX   --mode=link g++ -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2   -o example example.o ../src/libgeos.la ../src/libgeos.la
libtool: link: g++ -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -o .libs/example example.o  ../src/.libs/libgeos.so
../src/.libs/libgeos.so: undefined reference to `geos::algorithm::Centroid::getCentroid(geos::geom::Geometry const&, geos::geom::Coordinate&)'
collect2: error: ld returned 1 exit status
make[2]: *** [example] Error 1
make[2]: Leaving directory `/home/martin/src/geos/doc'

Change History (1)

comment:1 by martinl, 11 years ago

Resolution: invalid
Status: newclosed

ops, ./autogen.sh helped, sorry for the noise...

Note: See TracTickets for help on using tickets.