[postgis-devel] [PostGIS] #2046: raster: Getting compile errors on postgresql 9.0 build caused by raster

PostGIS trac at osgeo.org
Fri Oct 12 23:09:48 PDT 2012


#2046: raster: Getting compile errors on postgresql 9.0 build caused by raster
-----------------------------------+----------------------------------------
 Reporter:  robe                   |       Owner:  dustymugs    
     Type:  defect                 |      Status:  new          
 Priority:  blocker                |   Milestone:  PostGIS 2.1.0
Component:  build/upgrade/install  |     Version:  trunk        
 Keywords:  mingw64                |  
-----------------------------------+----------------------------------------
 This is winnie mingw64 9.0.

 Still need to setup debbie to build 9.0 chain so not sure it's a global
 9.0 issue.

 I'm actually not sure when this started since I neglected to add 9.0 to my
 regress and my packaging was bogusly reporting success.


 {{{
 make[2]: Entering directory `/c/jenkins/postgis/branches/2.1/raster/rt_pg'
 x86_64-w64-mingw32-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -fexcess-precision=standard -g  -I/c/jenkins/geos/rel-3.4.0devw64/include
 -I/c/ming64/projects/proj/rel-4.8.0w64/include
 -I/c/ming64/projects/json-c/rel-0.9w64/include -I/c/ming64/projects/libxml
 /rel-libxml2-2.7.8w64/include/libxml2 "-I../../liblwgeom"
 -I/c/jenkins/gdal/rel-1.9.1w64/include "-I../../libpgcommon"
 -I/c/ming64/projects/proj/rel-4.8.0w64/include -I../rt_core -I. -I.
 -Ic:/jenkins/POSTGR~1/rel/PG9~1.0W6/include/server
 -Ic:/jenkins/POSTGR~1/rel/PG9~1.0W6/include/internal
 -I./src/include/port/win32 -DEXEC_BACKEND
 "-Ic:/jenkins/POSTGR~1/rel/PG9~1.0W6/lib/pgxs/src/MAKEFI~1/../../src/include/port/win32"
 -Ic:/jenkins/POSTGR~1/rel/PG9~1.0W6/include/server/port/win32  -c -o
 rt_pg.o rt_pg.c
 rt_pg.c: In function 'RASTER_nMapAlgebra':
 rt_pg.c:14149:134: error: macro "InitFunctionCallInfoData" passed 6
 arguments, but takes just 5
 rt_pg.c:14149:3: error: 'InitFunctionCallInfoData' undeclared (first use
 in this function)
 rt_pg.c:14149:3: note: each undeclared identifier is reported only once
 for each function it appears in
 make[2]: *** [rt_pg.o] Error 1
 make[2]: Leaving directory `/c/jenkins/postgis/branches/2.1/raster/rt_pg'
 make[1]: *** [pglib] Error 2
 make[1]: Leaving directory `/c/jenkins/postgis/branches/2.1/raster'
 make: *** [all] Error 1

 }}}


 It looks like a difference between 9.0 and 9.1 to me.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2046>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list