Lessons learned from browsing the mod_parrot source and questions about Parrot_call_sub

Andrew Whitworth wknight8111 at gmail.com
Thu Mar 4 13:31:00 UTC 2010


On Thu, Mar 4, 2010 at 12:58 AM, Jonathan Leto <jaleto at gmail.com> wrote:
> 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.

The Parrot_call_sub function had been deprecated and removed. All uses
of it should be replaced with Parrot_ext_call, which is tested. The
primary difference between the two functions is the signature string
format. Parrot_ext_call uses the new PCC-style signature strings,
while Parrot_call_sub used an older style.

If you need any help with the conversion, let me know.

--Andrew Whitworth


More information about the parrot-dev mailing list