[Slackbuilds-users] Call for Bug Fixes, Patches, etc

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sun Feb 7 01:10:16 UTC 2016


>> This builds and runs fine for me.
> 
> Unfortunately not for us
> 
> gcc -o cu_tester cu_tester.o cu_pc_bytes.o cu_pc_schema.o cu_pc_point.o
> cu_pc_patch.o cu_pc_patch_ght.o ../libpc.a -lxml2 -lz -lm -ldl -lcunit
> -lz  -lm
> make[2]: Leaving directory '/tmp/SBo/pointcloud-1.0.1/lib/cunit'
> make[1]: Leaving directory '/tmp/SBo/pointcloud-1.0.1/lib'
> make -C pgsql all
> make[1]: Entering directory '/tmp/SBo/pointcloud-1.0.1/pgsql'
> gcc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
> -Wformat-security -fno-strict-aliasing -fwrapv
> -fexcess-precision=standard -O2 -fPIC -fpic -I../lib -I. -I./
> -I/usr/include/postgresql/server -I/usr/include/postgresql/internal
> -D_GNU_SOURCE -I/usr/include/libxml2   -c -o pc_inout.o pc_inout.c
> gcc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
> -Wformat-security -fno-strict-aliasing -fwrapv
> -fexcess-precision=standard -O2 -fPIC -fpic -I../lib -I. -I./
> -I/usr/include/postgresql/server -I/usr/include/postgresql/internal
> -D_GNU_SOURCE -I/usr/include/libxml2   -c -o pc_access.o pc_access.c
> pc_access.c: In function ‘pointcloud_agg_transfn’:
> pc_access.c:318:46: error: ‘AggState {aka struct AggState}’ has no
> member named ‘aggcontext’
>    aggcontext = ((AggState *) fcinfo->context)->aggcontext;
>                                               ^
> <builtin>: recipe for target 'pc_access.o' failed
> make[1]: *** [pc_access.o] Error 1
> make[1]: Leaving directory '/tmp/SBo/pointcloud-1.0.1/pgsql'
> Makefile:3: recipe for target 'all' failed
> make: *** [all] Error 2

just managed to fix it now
i added upstream commit to build properly against postgresql 9.5
please remove the patch when 1.1.0 is released

-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160207/89aa147a/attachment.asc>


More information about the SlackBuilds-users mailing list