Cabal GHC-6.4
Simon Marlow
simonmar at microsoft.com
Wed Mar 16 04:42:45 EST 2005
Looks like you need to add the mtl package to Build-Depends.
Cheers,
Simon
________________________________
From: libraries-bounces at haskell.org
[mailto:libraries-bounces at haskell.org] On Behalf Of Satnam Singh
Sent: 16 March 2005 02:23
To: libraries at haskell.org
Subject: Cabal GHC-6.4
I am trying to use Cabal in GHC-6.4 to build my software.
However, I get the following error when I try and use the package I
made:
satnam at xpc> make examples
ghc -fglasgow-exts -package lava LavaExamples/OneBitAdder.hs
compilation IS NOT required
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x56):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0xc6):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x136):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x198):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x19d):fake: un
defined reference to `ControlziMonadziState_modify_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x20a):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x27a):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x137b):fake: u
ndefined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x158f):fake: u
ndefined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x1847):fake: u
ndefined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x2a2d):fake: m
ore undefined references to
`ControlziMonadziState_zdfMonadStates_closure' follo
w
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.text+0x2de5):fake: u
ndefined reference to `__stginit_ControlziMonadziState_'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x8):fake: unde
fined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x1c):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x30):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x44):fake: und
efined reference to `ControlziMonadziState_modify_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x48):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x5c):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x70):fake: und
efined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x17c):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x198):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x1b4):fake: mo
re undefined references to
`ControlziMonadziState_zdfMonadStates_closure' follow
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x278):fake: un
defined reference to `ControlziMonadziState_zdfMonadState_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Instance.o)(.data+0x294):fake: un
defined reference to `ControlziMonadziState_zdfMonadStates_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Netlist.o)(.text+0x135):fake: und
efined reference to `ControlziMonadziState_execState_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Netlist.o)(.text+0x11fd):fake: un
defined reference to `__stginit_ControlziMonadziState_'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(Netlist.o)(.data+0x38):fake: unde
fined reference to `ControlziMonadziState_execState_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(PutTreeNetlist.o)(.text+0x989):fa
ke: undefined reference to `ControlziMonadziState_execState_closure'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(PutTreeNetlist.o)(.text+0xc95):fa
ke: undefined reference to `__stginit_ControlziMonadziState_'
C:\Program
Files\lava\lava-1.0/libHSlava-1.0.a(PutTreeNetlist.o)(.data+0x8c):fak
e: undefined reference to `ControlziMonadziState_execState_closure'
make: *** [examples] Error 1
satnam at xpc>
Here is my lava.cabal file:
------------------------------------------------------------------------
-------
-- $Id: lava.cabal,v 1.3 2005/03/15 22:39:47 satnams Exp $
------------------------------------------------------------------------
-------
Name: lava
Version: 1.0
License: BSD3
Author: Satnam Singh
Synopsis: The Lava system for FPGA design.
Copyright: Satnam Singh, 2005.
Stability: Experimental
Package-URL: http://www.raintown.org/wiki/index.php/Lava
Maintainer: s.singh at acm.org
Build-Depends: haskell98
Extensions: MultiParamTypeClasses
Exposed-Modules: Lava, Xilinx
Other-Modules: Lava.Bit Lava.Classes Lava.CombinationalSimulation
Lava.Elabora
te Lava.Gates Lava.Instance Lava.Netlist Lava.Primitives
Lava.PutTreeNetlist Lav
a.RPM Lava.Serial Lava.SequentialSimulation Lava.Sim Lava.TypeExpr
Lava.Utils La
va.XST_VHDL Xilinx.Components
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/libraries/attachments/20050316/aead1d62/attachment-0001.htm
More information about the Libraries
mailing list