Opened 6 years ago

Closed 6 years ago

#4146 closed defect (fixed)

undefined reference to `get_float8_infinity' compiling against postgres 12

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: postgres 12 Cc:

Description

I guess we don't have to worry about this till 2.5.1 or so, but looks like PostGIS 2.5 doesn't work against master (pg 12)

C:\ming64gcc48\projects\postgis\branches\2.5\postgis/gserialized_spgist_2d.c:158: undefined reference to `get_float4_infinity'
gserialized_spgist_3d.o: In function `initCubeBox':
C:\ming64gcc48\projects\postgis\branches\2.5\postgis/gserialized_spgist_3d.c:192: undefined reference to `get_float8_infinity'
collect2.exe: error: ld returned 1 exit status
C:/MING64~1/projects/POSTGR~1/rel/PG12W6~1/lib/pgxs/src/MAKEFI~1/../../src/Makefile.shlib:371: recipe for target 'postgis-2.5.dll' failed
make[1]: *** [postgis-2.5.dll] Error 1
make[1]: Leaving directory '/projects/postgis/branches/2.5/postgis'
GNUmakefile:16: recipe for target 'all' failed
make: *** [all] Error 1

Change History (1)

comment:1 by Raul Marin, 6 years ago

Resolution: fixed
Status: newclosed

In 16692:

PG 12: Use standard macros for float limits

Closes #4146

Note: See TracTickets for help on using tickets.