Opened 10 years ago
Closed 10 years ago
#2819 closed defect (fixed)
build on openindiana x86 fails due to isfinite being unresolved
Reported by: | pbelbin | Owned by: | pramsey |
---|---|---|---|
Priority: | blocker | Milestone: | PostGIS 2.1.4 |
Component: | postgis | Version: | 2.1.x |
Keywords: | Cc: |
Description
here is what I see:
make[2]: Entering directory `/home/pbelb/postgis/postgis-2.1.3/raster/loader' /bin/sh ../../libtool —mode=link gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/local/include -I/usr/local/include ../rt_core/librtcore.a raster2pgsql.o ../../liblwgeom/liblwgeom.la -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c -lc -lm -o raster2pgsql libtool: link: gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/local/include -I/usr/local/include -I/usr/local/include raster2pgsql.o -o .libs/raster2pgsql ../rt_core/librtcore.a ../../liblwgeom/.libs/liblwgeom.so -L/usr/local/lib -L/usr/sfw/lib /usr/local/lib/libproj.so /usr/local/lib/libgdal.so -lsqlite3 -lexpat -ljpeg -lpng -lpthread -lrt -ldl -L/usr/lib -lcurl -lgss -lidn -lsldap -lldap -lsocket -lnsl -lz -lssl -lcrypto /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so /usr/sfw/lib/libstdc++.so -lc -lm -R/usr/local/lib -R/usr/sfw/lib Undefined first referenced
symbol in file
isfinite ../../liblwgeom/.libs/liblwgeom.so ld: fatal: symbol referencing errors. No output written to .libs/raster2pgsql
searching the web, it appears some more attention is needed to either avoid the use of isfinite, or, enable a macro for isfinite.
please fix!
I am using openindiana b151a8 with gcc 3.4.3, gdal-1.11.0, geos-3.4.2, postgresql 9.2.x (but will update soon to 9.3.x)
Change History (4)
comment:1 by , 10 years ago
comment:3 by , 10 years ago
fine with me. Should we close or wait for someone having the issue to respond.
I think pulling r12854 back from trunk might resolve this, as long as folks are OK w/ doing so in stable branch.