Hi, I'm about to start playing with HWS-WP (web server + plugins). It relies on RuntimeLoader: http://www.algorithm.com.au/wiki/hacking/haskell.ghc_runtime_loading I grabbed the example and built it (only one minor tweak to imports to get it to build) but it doesnt quite work: $ ./src/TextFilter ./plugins/Lower.o < README TextFilter: ./plugins/Lower.o: unknown symbol `__stginit_Char_' TextFilter: user error (resolveFunctions failed?False) There were also some warnings during building: Compiling RuntimeLoader ( ../runtime_loader/RuntimeLoader.hs, ./RuntimeLoader .o ) /tmp/ghc11951.hc: In function `s2Pj_ret': /tmp/ghc11951.hc:170: warning: implicit declaration of function `unloadObj' /tmp/ghc11951.hc: In function `s2JU_entry': [...] I assume this is because it is mucking with some ghc internals? Is anyone familiar with this package? Is there a more up-to-date version or alternative? Tim Newsham http://www.lava.net/~newsham/
I've never used that Runtime Loader package but I have gotten hs-plugins to work: http://www.cse.unsw.edu.au/~dons/hs-plugins/ Hope that helps, Jared. On 4/13/06, Tim Newsham <newsham@lava.net> wrote:
Hi, I'm about to start playing with HWS-WP (web server + plugins). It relies on RuntimeLoader:
http://www.algorithm.com.au/wiki/hacking/haskell.ghc_runtime_loading
I grabbed the example and built it (only one minor tweak to imports to get it to build) but it doesnt quite work:
$ ./src/TextFilter ./plugins/Lower.o < README TextFilter: ./plugins/Lower.o: unknown symbol `__stginit_Char_' TextFilter: user error (resolveFunctions failed?False)
There were also some warnings during building:
Compiling RuntimeLoader ( ../runtime_loader/RuntimeLoader.hs, ./RuntimeLoader .o ) /tmp/ghc11951.hc: In function `s2Pj_ret': /tmp/ghc11951.hc:170: warning: implicit declaration of function `unloadObj' /tmp/ghc11951.hc: In function `s2JU_entry': [...]
I assume this is because it is mucking with some ghc internals? Is anyone familiar with this package? Is there a more up-to-date version or alternative?
Tim Newsham http://www.lava.net/~newsham/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- http://www.updike.org/~jared/ reverse ")-:"
Triggered by your msg, I've added a link to hs-plugins from GHC's user-documentation page http://haskell.org/haskellwiki/GHC/Documentation It's a Wiki page with a specific section for collaborative documentation; please add more material. Simon | -----Original Message----- | From: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] On Behalf Of | Jared Updike | Sent: 14 April 2006 16:15 | To: Tim Newsham | Cc: haskell-cafe@haskell.org | Subject: Re: [Haskell-cafe] RuntimeLoader | | I've never used that Runtime Loader package but I have gotten | hs-plugins to work: | http://www.cse.unsw.edu.au/~dons/hs-plugins/ | | Hope that helps, | Jared. | | On 4/13/06, Tim Newsham <newsham@lava.net> wrote: | > Hi, | > I'm about to start playing with HWS-WP (web server + plugins). It | > relies on RuntimeLoader: | > | > http://www.algorithm.com.au/wiki/hacking/haskell.ghc_runtime_loading | > | > I grabbed the example and built it (only one minor tweak to imports | > to get it to build) but it doesnt quite work: | > | > $ ./src/TextFilter ./plugins/Lower.o < README | > TextFilter: ./plugins/Lower.o: unknown symbol `__stginit_Char_' | > TextFilter: user error (resolveFunctions failed?False) | > | > There were also some warnings during building: | > | > Compiling RuntimeLoader ( ../runtime_loader/RuntimeLoader.hs, | > ./RuntimeLoader | > .o ) | > /tmp/ghc11951.hc: In function `s2Pj_ret': | > /tmp/ghc11951.hc:170: warning: implicit declaration of function | > `unloadObj' | > /tmp/ghc11951.hc: In function `s2JU_entry': | > [...] | > | > I assume this is because it is mucking with some ghc internals? | > Is anyone familiar with this package? Is there a more up-to-date | > version or alternative? | > | > Tim Newsham | > http://www.lava.net/~newsham/ | > _______________________________________________ | > Haskell-Cafe mailing list | > Haskell-Cafe@haskell.org | > http://www.haskell.org/mailman/listinfo/haskell-cafe | > | | | -- | http://www.updike.org/~jared/ | reverse ")-:" | _______________________________________________ | Haskell-Cafe mailing list | Haskell-Cafe@haskell.org | http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Jared Updike -
Simon Peyton-Jones -
Tim Newsham