By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

SRF function : missing library on PostgreSQL 8.3.6 on Windows?

P: 2

I try to use the srf API and I have a link error. When I did :

FuncCallContext *funcctx;
funcctx = SRF_FIRSTCALL_INIT(); // If I remove this line, no link error

I have this link error : "undefined reference to 'init_MultiFuncCall(FunctionCallInfoData*)'". The init_MultiFuncCal function is in the funcapi.h file, but where is the associated library ? I try all the libraries of PostreSQL, but no success .

Any idea ? Thanks.
Mar 20 '09 #1
Share this Question
Share on Google+
1 Reply

P: 1
I am use PostgreeSQL 8.4 and next parameter

-L"C:/Dev-Cpp/lib" -L"C:/Program Files/PGSQL/lib" -L"C:/Program Files/PGSQL/lib/plugins" --no-export-all-symbols --add-stdcall-alias ../../../PGSQL/lib/postgres.lib ../../../PGSQL/lib/libecpg.lib ../../../PGSQL/lib/libpgport.lib ../../../PGSQL/lib/libpq.lib -lobjc

and have success. Sorry for my English:)
Aug 19 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.