[GRASSLIST:2465] Re: More info: build error in 5.7 on OSX

Christopher Fonnesbeck chris at fonnesbeck.org
Wed Feb 4 09:07:13 EST 2004


On Feb 4, 2004, at 9:02 AM, Paul Kelly wrote:

> On Wed, 4 Feb 2004, Christopher Fonnesbeck wrote:
>
>>
>>> main.c:112: error: `create' undeclared (first use in this function)
>>> main.c:112: error: (Each undeclared identifier is reported only once
>>> main.c:112: error: for each function it appears in.)
>>> make[2]: *** [OBJ.powerpc-apple-darwin7.2.0/main.o] Error 1
>>> make[1]: *** [subdirs] Error 1
>>> make: *** [default] Error 1
>>
>> Sorry I left this out ... main.c is from g.proj
>>
>
> That would be my fault---I didn't check compiling without OGR/GDAL 
> when I
> made some recent changes to g.proj. I have fixed it in CVS or you can 
> move
> the #ifdef HAVE_OGR on line 34 to the other side of *create,

However, "create" is also used further down (line 367) outside of the 
HAVE_OGR if statement ...

C.

--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia




More information about the grass-user mailing list