
I could figure out the problems mentioned earlier. The type library problem is easy fixed by switching on the SUPPORT_TYPELIBS option in the src/Makefile during the build of hdirect. Note that you cannot switch on this option in a first time build. The link error has something to do with cygwin, when I remove cygwin from my PATH, this error disappears. But then unfortunately no dll file is built at all, without any error message! So I am still waiting for a solution... Patrick -----Original Message----- From: Janna Khegai [mailto:janna@cs.chalmers.se] Sent: Montag, 12. November 2001 00:47 To: glasgow-haskell-users@haskell.org Cc: Patrick.Lehti@softwareag.com Subject: hdirect-0.18 comserv example I've tried to build the comserv example with hDirect-0.18 and ghc-5.02 under Windows ME. I've encountered the problems similar to ones mentioned earlier in: http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/000974.h tml <http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/000974. html> :
problems generating the type library: it is simply not created.
and http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/000979.h tml <http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/000979. html> :
a problem linking the DLL, I always get this error message:
/usr/lib/mingw/libmingw32.a(gccmain.o)(.text+0x88):gccmain.c: multiple definition of `__main' /usr/lib/libm.a(ds00023.o)(.text+0x0): first defined here
If anybody already knows the cure to these problems, help me, please! thanks in advance, Janna Khegai
participants (1)
-
Lehti, Patrick