Subject | Re: UDF with ANSI C++ |
---|---|
Author | markusschmidkade |
Post date | 2003-03-05T19:17:56Z |
Thomas,
"Thomas Steinmaurer" <ts@...> schrieb im Newsbeitrag
news:3e65eb20@......
CSTRING(255)
RETURNS CSTRING(255)
ENTRY_POINT 'strtrim' MODULE_NAME 'eq_UDF';
checked
the case of the entrypoint with "nm" under linux and it had the
correct
case.
Regards,
Markus
build
I
After
C++.
the
I
"Thomas Steinmaurer" <ts@...> schrieb im Newsbeitrag
news:3e65eb20@......
> Markus,Firebird 1.0
>
> - What InterBase version are you using?
> - How was the UDF declared in your database?DECLARE EXTERNAL FUNCTION StrTrim
CSTRING(255)
RETURNS CSTRING(255)
ENTRY_POINT 'strtrim' MODULE_NAME 'eq_UDF';
> - Be aware that library names and entry points are case-sensitiveI am! I have changed the cases several times without success. I also
checked
the case of the entrypoint with "nm" under linux and it had the
correct
case.
Regards,
Markus
> "Markus Schmid" <M@...> schrieb im Newsbeitragnews:3e65e9df$1@......
> > Hi,When I
> > I have written a UDF in C++ and it works very well under Win32.
build
> > a Linux version and try to use it whenever I access a UDF withIBExpert
I
> > get the following erroris not
> > "Invalid token, invalid request BLR at offset 63. function XXX
> > defined. module name or entrypoint could not be found."success.
> > I have tried all kind of upper/lowercase combinations without
After
> > extensive search on the web I couldn't find any UDF alreadywritten in
C++.
> > Rfunc2 for example claims to be in C++ but is only C.and so
> > I guess there is something different with Linux shared library
the
> > database server cannot find the entry points. Since it worksunder Win32
I
> > made everything correct with the entry points and classinitialization...
> > Is there anyone out there who had any success in building a C++UDF in
> > Linux?
> > Thanks in advance!
> > Markus