Newsgroups: perl.perl6.internals
From: mic...@sabren.com (Michal Wallace)
Date: Wed, 21 Jan 2004 13:49:43 -0500 (EST)
Local: Wed, Jan 21 2004 1:49 pm
Subject: how to subclass dynamic PMCs?
Hi all, I'm hoping this is just a simple linker option, but I'm trying to make a dynamically loaded PMC that // file 1: pisequence.pmc } // file 2: piobject.pmc #include "parrot/parrot.h" #define enum_class_PiString -1 pmclass PiString extends PiSequence need_ext dynpmc { } I added these to the Makefile, ran make -C dynclasses and now, I have two *.so files: % find runtime -name "pi*.so" Then I try to run this: .sub __main__ loadlib P0, "pisequence" loadlib P1, "pistring" end Output is: Couldn't load 'runtime/parrot/dynext/pistring': \ If I copy the get_integer function to PiString 51 It seems the problem is that pistring.so can't I don't think this is a bug... I think I just Sincerely, Michal J Wallace You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||