Thanks for your answers, everybody.
--
_jsn
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 29 Mar 2008, at 10:21 PM, Jason Dusek wrote:
Stefan O'Rear <[EMAIL PROTECTED]> wrote:
The only type that you are allowed to assume corresponds to a C
int is
CInt, in the Foreign.C.Types module. This probably isn't the
problem,
but it could make problems of its own on a 64-bit or other
Jason Dusek wrote:
Stefan O'Rear <[EMAIL PROTECTED]> wrote:
The only type that you are allowed to assume corresponds to a C int is
CInt, in the Foreign.C.Types module. This probably isn't the problem,
but it could make problems of its own on a 64-bit or otherwise weird
system.
So say I
On Sat, Mar 29, 2008 at 10:21:32PM -0700, Jason Dusek wrote:
> Stefan O'Rear <[EMAIL PROTECTED]> wrote:
> > The only type that you are allowed to assume corresponds to a C int is
> > CInt, in the Foreign.C.Types module. This probably isn't the problem,
> > but it could make problems of its own
Stefan O'Rear <[EMAIL PROTECTED]> wrote:
> The only type that you are allowed to assume corresponds to a C int is
> CInt, in the Foreign.C.Types module. This probably isn't the problem,
> but it could make problems of its own on a 64-bit or otherwise weird
> system.
So say I turn everything
Bertram Felgenhauer <[EMAIL PROTECTED]> wrote:
> Jason Dusek wrote:
> > It compiles fine and loads fine -- but it doesn't run fine:
> > unknown symbol `___stginit_cedictzm0zi1zi1_DataziCharziCEDICTziMatter_'
>
> This is a cabal pitfall.
Thank you -- this tip saved my bacon.
--
_jsn
__
On Fri, Mar 28, 2008 at 11:33:52AM -0700, Jason Dusek wrote:
> Thomas Schilling <[EMAIL PROTECTED]> wrote:
> > Did you try removing all .hi and .o files?
>
> Yes. I tried it again this morning, and I've got the same
> error -- same unknown symbol, &c.
>
> I don't have trouble with most Hask
Jason Dusek wrote:
> I have a program here:
>
> https://svn.j-s-n.org/public/haskell/cedict
>
> currently at revision 302, which compiles okay but I can't get
> it to work. I'm using the FFI to take a (currently small)
> array and translate it into a Map.
>
> It compiles fine and l
jason.dusek:
> The message
>
> unknown symbol `___stginit_cedictzm0zi1zi1_DataziCharziCEDICTziMatter_'
>
> says that it can't find the initializer for`
> Data.Char.CEDICT.Matter` in `cedict-0.1.1` (this is
> 'z-encoding', if I remember correctly). So, the odd thing is,
> that is not
The message
unknown symbol `___stginit_cedictzm0zi1zi1_DataziCharziCEDICTziMatter_'
says that it can't find the initializer for`
Data.Char.CEDICT.Matter` in `cedict-0.1.1` (this is
'z-encoding', if I remember correctly). So, the odd thing is,
that is not the part with the C FFI stuf
Thomas Schilling <[EMAIL PROTECTED]> wrote:
> Did you try removing all .hi and .o files?
Yes. I tried it again this morning, and I've got the same
error -- same unknown symbol, &c.
I don't have trouble with most Haskell programs on my Mac, so
I assume it's the way I'm connecting to C that
Did you try removing all .hi and .o files?
On 28 mar 2008, at 10.34, Jason Dusek wrote:
I have a program here:
https://svn.j-s-n.org/public/haskell/cedict
currently at revision 302, which compiles okay but I can't get
it to work. I'm using the FFI to take a (currently small)
array
I have a program here:
https://svn.j-s-n.org/public/haskell/cedict
currently at revision 302, which compiles okay but I can't get
it to work. I'm using the FFI to take a (currently small)
array and translate it into a Map.
It compiles fine and loads fine -- but it doesn't run fine:
13 matches
Mail list logo