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
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:
>problems generating the type
library: it is simply not created.
and
> 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