Search Postgresql Archives

Re: Srf function : missing library on PostgreSQL 8.3.6 on Windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ben Ali Rachid <souliman239@xxxxxxxx> writes:
> I have this link error : "undefined reference to 'init_MultiFuncCall(FunctionCallInfoData*)'".

The fact that the linker knows the argument data type indicates that
you're trying to compile your code as C++.  Postgres is written in C,
not C++.

You can try putting extern "C" { ... } around your inclusions of
Postgres header files, but you're likely to run into other problems
later on.  On the whole I'd recommend using plain C for backend
functions if you possibly can.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux