<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">That’s an odd one… the error says that</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="margin: 0px;"><font face="helvetica">lwgeom_accum.c:109:46: error: 'AggState {aka struct AggState}' has no member named ‘aggcontext'</font></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><span style="font-family: helvetica;"><br></span></div><div id="bloop_customfont" style="margin: 0px;"><font face="helvetica">But, in all of 9.3, 9.4, 9.5, it does in fact have such a member… is it possible that there’s an ancient (8.4 or < ) header lying around that the build is picking up by accident instead of the one we want used?</font></div><div id="bloop_customfont" style="margin: 0px;"><font face="helvetica"><br></font></div><div id="bloop_customfont" style="margin: 0px;"><font face="helvetica">P </font></div> <div id="bloop_sign_1436284533282643968" class="bloop_sign"><div><br></div><span style="font-family:helvetica,arial;font-size:13px"></span>-- <br><span>http://postgis.net</span><div><span>http://cleverelephant.ca</span></div><div><br></div></div> <br><p style="color:#000;">On July 7, 2015 at 8:40:21 AM, Devrim GÜNDÜZ (<a href="mailto:devrim@gunduz.org">devrim@gunduz.org</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div><br>Hi,<br><br>Just noticed this while working RPMs. This is gcc 5.1.1:<br><br><br>gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX_OOM_ADJ=0 -fpic -I../liblwgeom -I../libpgcommon -I/usr/include -I/usr/include/libxml2 -I. -I./ -I/usr/pgsql-9.5/include/server -I/usr/pgsql-9.5/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -c -o lwgeom_box3d.o lwgeom_box3d.c<br>lwgeom_accum.c: In function 'pgis_geometry_accum_transfn':<br>lwgeom_accum.c:109:46: error: 'AggState {aka struct AggState}' has no member named 'aggcontext'<br> aggcontext = ((AggState *) fcinfo->context)->aggcontext;<br> ^<br><builtin>: recipe for target 'lwgeom_accum.o' failed<br>make[2]: *** [lwgeom_accum.o] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>lwgeom_functions_analytic.c: In function 'ptarray_grid':<br>lwgeom_functions_analytic.c:300:11: warning: variable 'opn' set but not used [-Wunused-but-set-variable]<br> int ipn, opn; /* point numbers (input/output) */<br> ^<br>lwgeom_functions_analytic.c: In function 'lwpoly_grid':<br>lwgeom_functions_analytic.c:376:9: warning: variable 'minvisiblearea' set but not used [-Wunused-but-set-variable]<br> double minvisiblearea;<br> ^<br>lwgeom_functions_analytic.c: In function 'point_in_polygon':<br>lwgeom_functions_analytic.c:1180:14: warning: variable 'ring' set but not used [-Wunused-but-set-variable]<br> POINTARRAY *ring;<br> ^<br>lwgeom_functions_analytic.c: In function 'point_in_multipolygon':<br>lwgeom_functions_analytic.c:1226:14: warning: variable 'ring' set but not used [-Wunused-but-set-variable]<br> POINTARRAY *ring;<br> ^<br>make[2]: Leaving directory '/home/devrim/rpm/BUILD/postgis-2.1.8/postgis-2.0.7/postgis'<br>GNUmakefile:14: recipe for target 'all' failed<br>make[1]: *** [all] Error 1<br><br>-- <br>Devrim GÜNDÜZ<br>Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com<br>PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer<br>Twitter: @DevrimGunduz , @DevrimGunduzTR<br><br><br>_______________________________________________<br>postgis-devel mailing list<br>postgis-devel@lists.osgeo.org<br>http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</div></div></span></blockquote></body></html>