From: | "Tony Griffiths(RA)" <griffitt(at)cs(dot)man(dot)ac(dot)uk> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Missing library files?? |
Date: | 2002-06-19 09:37:20 |
Message-ID: | 3D1050D0.2090109@cs.man.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-06-19 12:45:43 | Re: Roadmap for a Win32 port |
Previous Message | Michael Meskes | 2002-06-19 07:36:49 | Re: ecpg and bison again |