[Haskell-cafe] NDP

Henning Thielemann lemming at henning-thielemann.de
Sun Jan 27 06:16:51 EST 2008

On Fri, 25 Jan 2008, Stephan Friedrichs wrote:

> Hi all,
> is someone familiar with compiling ndp (nested data parallel Haskell),
> "Speed with less convenience"-version?
> I followed the guide at
> http://www.haskell.org/haskellwiki/Data_Parallel_Haskell/PackageNDP but
> executing "make" in the examples directory issues the following error:
> (.text+0x8d5): undefined reference to
> `__stginit_parallelzm1zi0zi0zi0_ControlziParallelziStrategies_'
> manually compiling the dotp example on the link mentioned above doesn't
> work either:
> [...]
> (.data+0x5c): undefined reference to
> `ndp_DataziArrayziParallelziUnliftedziFlatziUArr_zdf14_closure'
> DotP.o: In function `sz3_srt':
> (.data+0x88): undefined reference to
> `ndp_DataziArrayziParallelziUnliftedziFlatziBasics_toU_closure'
> DotP.o: In function `sz3_srt':
> (.data+0x8c): undefined reference to
> `ndp_DataziArrayziParallelziUnliftedziFlatziUArr_zdf14_closure'
> /home/sfriedrichs/ghc/rts/libHSrts.a(Main.o): In function `real_main':
> Main.c:(.text+0x12): undefined reference to `__stginit_ZCMain'
> Main.c:(.text+0x2c): undefined reference to `ZCMain_main_closure'
> Does someone know, what's wrong? I'm using ghc-6.9.20080124 as source
> base (which compiled and works just fine).

These errors often indicate that some packages are compiled out of order.
That is a compiled package references another package, which was replaced
by a newer version in the meantime.

More information about the Haskell-Cafe mailing list