Lessons learned from browsing the mod_parrot source and questions about Parrot_call_sub
Jonathan Leto
jaleto at gmail.com
Thu Mar 4 05:58:55 UTC 2010
Howdy,
I am looking at src/parrot_util.c to see how mod_parrot does the magic
that it does, and I was surprised to see
#include "parrot/parrot.h"
>From what I have been told, this is only for use inside Parrot core,
so it seems that mod_parrot is breaking any semblance of
encapsulation. This is probably because the functions it needed were
not exported.
I ran into this because I got this error message:
psql -f t/sql/test.sql
psql:plparrot.sql:3: ERROR: could not load library
"/home/leto/lib/postgresql/plparrot.so":
/home/leto/lib/postgresql/plparrot.so: undefined symbol:
Parrot_call_sub
from the load_pir branch of PL/Parrot [0].
There are no tests nor docs for Parrot_call_sub. I will attempt to fix that.
Any help with this issue would be greatly appreciated. This is a
mega-blocker for PL/Parrot.
Duke
[0] - http://github.com/leto/plparrot/blob/load_pir/src/plparrot.c
--
Jonathan "Duke" Leto
jonathan at leto.net
http://leto.net
More information about the parrot-dev
mailing list