hdirect-0.18 comserv example

Janna Khegai janna@cs.chalmers.se
Mon, 12 Nov 2001 00:46:59 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C16B13.8916AD80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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: =20

http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/00097=
4.html :
>problems generating the type library: it is simply not created.=20

and=20

http://www.haskell.org/pipermail/glasgow-haskell-users/2001-October/00097=
9.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! =20
=20
thanks in advance,=20
Janna Khegai

------=_NextPart_000_0008_01C16B13.8916AD80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I've tried to build the comserv example =

with&nbsp;hDirect-0.18 and ghc-5.02 under&nbsp;Windows ME.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I've encountered&nbsp;the problems =
similar to ones=20
mentioned earlier in:&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.haskell.org/pipermail/glasgow-haskell-users/2001-Octob=
er/000974.html">http://www.haskell.org/pipermail/glasgow-haskell-users/20=
01-October/000974.html</A>&nbsp;:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3>&gt;problems generating =
the type=20
library: it is simply not created. </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR></FONT><FONT face=3DArial =
size=3D2><A=20
href=3D"http://www.haskell.org/pipermail/glasgow-haskell-users/2001-Octob=
er/000979.html">http://www.haskell.org/pipermail/glasgow-haskell-users/20=
01-October/000979.html</A>&nbsp;:</FONT></DIV>
<DIV><FONT face=3DArial>&gt; a problem linking the DLL, I always get =
this error=20
message:<BR>&gt;<BR>&gt;/usr/lib/mingw/libmingw32.a(gccmain.o)(.text+0x88=
):gccmain.c:=20
multiple<BR>&gt;definition of=20
`__main'<BR>&gt;/usr/lib/libm.a(ds00023.o)(.text+0x0): first defined=20
here</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If&nbsp; anybody already&nbsp;knows the =
cure to=20
these problems, help me, please!&nbsp;&nbsp;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advance, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Janna Khegai</FONT></DIV></BODY></HTML>

------=_NextPart_000_0008_01C16B13.8916AD80--