My first guess is that it is another instance of this bug:

http://hackage.haskell.org/trac/ghc/ticket/3799

You might be able to use this option:

--haddockdir=DIR installation directory for haddock interfaces

though perhaps that flag is only in the latest version of cabal / ghc.

- jeremy

On Apr 5, 2010, at 4:43 AM, Gracjan Polak wrote:


Hi all,

Probable bug in GHC, I want to inquire before I report it proper. Did anybody
see something like this:


c:\Sources\happstack\happstack\templates\project>cabal build
[1 of 1] Compiling Main             ( Setup.hs, dist\setup\Main.o )
Linking .\dist\setup\setup.exe ...
Preprocessing executables for guestbook-1.0...
Building guestbook-1.0...
[11 of 11] Compiling Main ( src\Main.hs, dist\build \guestbook-server
\guestbook-server-tmp\Main.o )
Linking dist\build\guestbook-server\guestbook-server.exe ...
dist\build\guestbook-server\guestbook-server-tmp\GuestBook \State2.o:fake:(.text+ 0x6d89): undefined reference to `happstackzm0zi4zi3_HappstackziStateziClockTime_
constrZMabmKZN_closure'
dist\build\guestbook-server\guestbook-server-tmp\GuestBook \State2.o:fake:(.text+ 0x6dd1): undefined reference to `happstackzm0zi4zi3_HappstackziStateziClockTime_
dataTypeZMabmJZN_closure'
[...lots of same messages skipped...]
collect2: ld returned 1 exit status

Application is from

http://patch-tag.com/r/mae/happstack/snapshot/current/content/pretty/happstack/templates/project

The Glorious Glasgow Haskell Compilation System, version 6.12.1

System Windows Vista 32bit.

Help!

--
Gracjan




_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to