Opened 12 years ago

Closed 12 years ago

#2040 closed defect (fixed)

lwgeodetic.c:1821:1: error: conflicting types for 'ptarray_area_sphere'

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.1.0
Component: build Version: master
Keywords: Cc:

Description

At first I though it was just fluke but tried again. Something in

r10407

Seems to have broken the imagemagick generator that relies on liblwgeom.

error is

libtool: compile:  gcc -g -O2 -fPIC -DPIC -Wall -Wmissing-prototypes -I/var/lib/jenkins/workspace/geos/rel-3.4.0devw64/include -c lwgeodetic.c  -fPIC -DPIC -o .libs/lwgeodetic.o
lwgeodetic.c:1821: error: conflicting types for ‘ptarray_area_sphere’
lwgeodetic.h:95: note: previous declaration of ‘ptarray_area_sphere’ was here
make[2]: *** [lwgeodetic.lo] Error 1
make[2]: Leaving directory `/var/lib/jenkins/workspace/postgis/branches/2.1/liblwgeom'
make[1]: *** [../../../liblwgeom/.libs/liblwgeom.a] Error 2
make[1]: Leaving directory `/var/lib/jenkins/workspace/postgis/branches/2.1/doc/html/image_src'
make: *** [images] Error 2

See:

http://debbie.postgis.net:8080/job/PostGIS_2.1_docs/100/console

Change History (6)

comment:1 by robe, 12 years ago

Just tried building docs on winnie and get similar error when its trying to build image magic generator

lwgeodetic.c:1821:1: error: conflicting types for 'ptarray_area_sphere'
lwgeodetic.h:95:8: note: previous declaration of 'ptarray_area_sphere' was here
lwgeodetic.c:890:15: warning: 'sphere_excess' defined but not used

comment:2 by strk, 12 years ago

This doesn't have to do with docs, right ?

comment:3 by strk, 12 years ago

Summary: 2.1 doc build appears to be brokenlwgeodetic.c:1821:1: error: conflicting types for 'ptarray_area_sphere'

I have the same problem here

comment:4 by strk, 12 years ago

Resolution: fixed
Status: newclosed

With r10413 the build is fixed, but see #2043

comment:5 by robe, 12 years ago

Resolution: fixed
Status: closedreopened

make doc is still failing at compile time. So though this fixed the make check error, still getting the same error on make doc

I'm rerunning now to confirm

comment:6 by robe, 12 years ago

Resolution: fixed
Status: reopenedclosed

never mind it's building okay now

Note: See TracTickets for help on using tickets.