473,666 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SRF function : missing library on PostgreSQL 8.3.6 on Windows?

2 New Member
Hello,

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

FuncCallContext *funcctx;
...
if (SRF_IS_FIRSTCA LL()){
funcctx = SRF_FIRSTCALL_I NIT(); // If I remove this line, no link error
...
}


I have this link error : "undefined reference to 'init_MultiFunc Call(FunctionCa llInfoData*)'". The init_MultiFuncC al 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
1 3368
Belial611
1 New Member
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

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

Similar topics

9
4950
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my webserver runs that part of the script (see attached file, snippet.php), though, it doesn't go through. I don't get an error message or anything...it just returns a "1" (whereas it should return a "0") as far as I can tell. I have read the PHP...
1
1763
by: Bjorn T Johansen | last post by:
I am trying to check performance in out database but I seem to be missing something. I try to run : select relname, idx_tup_fetch + seq_tup_read as total from pg_stat_all_tables but all the tables have total = 0, shouldn't these be numbers > 0? And shouldn't there be views like pg_statio and pg_stat? (they do not exist in my database...)
29
3475
by: Paul Ganainm | last post by:
Hi all, Following up on another thread, here is a comparison between FB and PG from an FB'ers POV. BTW, FB is the love-child of Open-Source-Interbase. BTW, I have tried to be as accurate as I can with the information available to me at this point in time - I was unable to find anything resembling a feature list on the FB site, so most of this is from memory. I do have an email account on the various lists on that site, and I will post...
1
5143
by: Rob Deacon via .NET 247 | last post by:
I am just getting into this .NET stuff. Looks really handy. I wastrying to run some standard tests, like throwing up aMessageBox.Show("Code Hit Here - ln 124"); Just to make sure Iwas building things right. I realize I needed to use a few things from the library to makethis work, one of the big ones being System.Windows.Forms, butit wasn't there in my library at all. I checked at MSN Libraryto find out all the System namespaces and I am...
2
742
by: noleander | last post by:
I'm trying to call the Microsoft image-processing function AlphaBlend() in my Visual C++ application. My software compiles okay, but gets a link error (details below) that says it cannot find the symbol AlphaBlend(). I'm calling dozens of other Microsoft bitmap and imagery functions without error. The MS documentation says that AlphaBlend is in msimg32.dll. I have this file, in folder C:\Windows\System32.
1
1969
by: Anthony_Barker | last post by:
Aberdeen has a review of open source rdbms. The overall review was quite positive but mentioned a few things missing. Features desired according to users: Gui control centre Improved Replication Two-phase commit
5
2691
by: Raphael Bauduin | last post by:
Hi, I'm looking at the logging of a database we'll put in production soon. I've seen some posts on this list about history tables, like mentioned in http://www-106.ibm.com/developerworks/web/library/wa-dbdsgn2.html . I think I'll go that way too, but I still have some questions on the approach, and would appreciate any advice on it. Here are some questions I have: - is it possible to write only one function used for all logging...
2
2842
by: joey.powell | last post by:
I have a windows forms app with a statusbar. In the form's code, I use a delegates and spawn a worker thread to get processing off of the GUI thread. Then in the worker thread I access a function in a library file. The function needs to be able to update some of the forms status bar panels. I have had great success in doing the following... Invoke(new UpdateStatusDelegate(this.UpdateStatus), new object { "My Message" });
4
1518
by: Ben Sizer | last post by:
I've been looking for a Windows version of a library to interface to PostgreSQL, but can only find ones compiled under Python version 2.4. Is there a 2.5 build out there? -- Ben Sizer
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.