Subject | Re: [firebird-support] module name or entrypoint could not be found. |
---|---|
Author | Steve Wiser |
Post date | 2005-11-07T03:01:23Z |
I'm not sure about the invalid token part... But once I saw this happen
in a test environment where the udf was already proved to be working in
another test environment. We found that the udf library and function
point was fine and was actually installed on the server. But the udf
was dependent on another library (.so file) that wasn't on the server.
We found this by opening the actual binary in vi and I saw that it was
looking for other libraries and that we were missing one of them. Once
the missing library file was put there it worked fine. Not sure if this
is your situation, but thought I would throw it out there.
-steve
in a test environment where the udf was already proved to be working in
another test environment. We found that the udf library and function
point was fine and was actually installed on the server. But the udf
was dependent on another library (.so file) that wasn't on the server.
We found this by opening the actual binary in vi and I saw that it was
looking for other libraries and that we were missing one of them. Once
the missing library file was put there it worked fine. Not sure if this
is your situation, but thought I would throw it out there.
-steve
On Mon, 2005-11-07 at 01:35 +0000, Steve Harp wrote:
> Hi All,
>
> I'm trying to write a very simple UDF library. Currently, I only have
> 3 functions. They all have the same calling convensions and return
> types. One of the functions works perfectly and the other two give an
> error:
>
> "Invalid token.
> invalid request BLR at offset 63.
> function H_MYFUNC is not defined.
> module name or entrypoint could not be found."
>
> All 3 functions have the same declaration:
>
> declare EXTERNAL FUNCTION h_myfunc
> CSTRING(80)
> RETURNS CSTRING (240) FREE_IT
> ENTRY_POINT 'MyFunc' MODULE_NAME 'myudf';
>
> In fact, I used copy/paste to create the 3 declarations so I know
> there're no errors. All 3 functions do pretty much the same thing;
> they receive a string, manipulate it and return a string.
>
> What could I be missing and how do I troubleshoot this?
>
> Thanks,
> Steve
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
[Non-text portions of this message have been removed]