Helping needed on Type and a linking error.

7 views
Skip to first unread message

Magicloud Magiclouds

unread,
Dec 31, 2012, 3:00:08 AM12/31/12
to yeso...@googlegroups.com
Hi,
  I want to make a sinkPersist function to insert fed entities. First I made it in Handler.FetchProcessPathRollup and it worked. Then I thought why not made it more general for not only ProcessPathRollup entity.
  So I moved it to Helper. Then I got:
Linking dist/build/FChart/FChart ...
/home/magicloud/src/FChart/dist/build/libHSFChart-0.0.0.a(FetchProcessPathRollup.o): In function `s1h8U_info':
(.text+0x837e): undefined reference to `FChartzm0zi0zi0_Helper_sinkPersist_closure'
/home/magicloud/src/FChart/dist/build/libHSFChart-0.0.0.a(FetchProcessPathRollup.o): In function `FChartzm0zi0zi0_HandlerziFetchProcessPathRollup_getFetchProcessPathRollupR_srt':
(.data+0x11e0): undefined reference to `FChartzm0zi0zi0_Helper_sinkPersist_closure'
collect2: error: ld returned 1 exit status

  What should I do?

  And, what should be the type of Helper.sinkPersist and Helper.getKey?
--
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.

Michael Snoyman

unread,
Dec 31, 2012, 3:02:06 AM12/31/12
to yeso...@googlegroups.com
Did you add the newly created module to your cabal file?
Reply all
Reply to author
Forward
0 new messages