Missing library files?? - Mailing list pgsql-hackers

From Tony Griffiths(RA)
Subject Missing library files??
Date
Msg-id 3D1050D0.2090109@cs.man.ac.uk
Whole thread Raw
Responses Re: Missing library files??
List pgsql-hackers
Hi,
I've mailed this previously to the novice list, but got no response, so 
hopefully this is more the appropriate place.

I'm trying to invoke the DirectFunctionCall1function as follows:
                       BOX* __tmp;                       Datum d = DirectFunctionCall1(box_in, 
BoxPGetDatum(ret_bbox));                       __tmp = DatumGetBoxP(d); 

(where ret_bbox is a string representation of a box)

from some client side code, but get linker errors stating that:

-> undefined reference to `DirectFunctionCall1(unsigned long 
(*)(FunctionCallInfoData*), unsigned long)'

-->  undefined reference to `box_in(FunctionCallInfoData*)

Is this because I'm calling the function incorrectly, or because I'm 
missing the library in which these functions reside?

Many thanks,


Tony



pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg and bison again
Next
From: Tom Lane
Date:
Subject: Re: Roadmap for a Win32 port