[nhc-users] Newbie question

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Wed Aug 31 04:56:55 EDT 2005


Monique Louise <monique.louise at gmail.com> writes:

> C:/cygwin/usr/local/lib/nhc98/ix86-CYGWIN_NT-5.1/main.o(.text+0xa2):main.c:
> undefined reference to `setjmp'
> C:/cygwin/usr/local/lib/nhc98/ix86-CYGWIN_NT-5.1/main.o(.text+0xdd):main.c:
> undefined reference to `_impure_ptr'
> C:/cygwin/usr/local/lib/nhc98/ix86-CYGWIN_NT-5.1/Runtime.a(haskellInit.o)
> haskellInit.c: undefined reference to `_imp___ctype_'
  ...

> I'm running version 1.16 at Windows XP with Cygwin.
> Does anyone have any idea about what is happening?

It looks like there is a mismatch between the standard C library
that nhc98 was compiled against, and the C library that is available
on your machine.  I guess you downloaded the binary distribution of
nhc98 for Cygwin?  Maybe you could try building nhc98 directly on
your machine from sources.

Regards,
    Malcolm


More information about the Nhc-users mailing list