hdirect-0.18 comserv example
Lehti, Patrick
Patrick.Lehti@softwareag.com
Thu, 22 Nov 2001 15:16:32 +0100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C17360.49745560
Content-Type: text/plain;
charset="iso-8859-1"
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
------_=_NextPart_001_01C17360.49745560
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D812000614-22112001>I=20
could figure out the problems mentioned earlier. The type library =
problem is=20
easy fixed by switching on the SUPPORT_TYPELIBS option in the =
src/Makefile=20
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=20
I remove cygwin from my PATH, this error disappears. =
</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D812000614-22112001></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D812000614-22112001>But=20
then unfortunately no dll file is built at all, without any error =
message! So I=20
am still waiting for a solution...</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D812000614-22112001></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D812000614-22112001>Patrick</SPAN></FONT></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Janna Khegai=20
[mailto:janna@cs.chalmers.se]<BR><B>Sent:</B> Montag, 12. November =
2001=20
00:47<BR><B>To:</B> glasgow-haskell-users@haskell.org<BR><B>Cc:</B>=20
Patrick.Lehti@softwareag.com<BR><B>Subject:</B> hdirect-0.18 comserv=20
example<BR><BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>I've tried to build the comserv =
example=20
with hDirect-0.18 and ghc-5.02 under Windows =
ME.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I've encountered the problems =
similar to=20
ones mentioned earlier in: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
=
href=3D"http://www.haskell.org/pipermail/glasgow-haskell-users/2001-Octo=
ber/000974.html">http://www.haskell.org/pipermail/glasgow-haskell-users/=
2001-October/000974.html</A> :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT size=3D3>>problems =
generating the type=20
library: it is simply not created. </FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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-Octo=
ber/000979.html">http://www.haskell.org/pipermail/glasgow-haskell-users/=
2001-October/000979.html</A> :</FONT></DIV>
<DIV><FONT face=3DArial>> a problem linking the DLL, I always get =
this error=20
=
message:<BR>><BR>>/usr/lib/mingw/libmingw32.a(gccmain.o)(.text+0x8=
8):gccmain.c:=20
multiple<BR>>definition of=20
`__main'<BR>>/usr/lib/libm.a(ds00023.o)(.text+0x0): first defined=20
here</FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If anybody already knows =
the cure to=20
these problems, help me, please! </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advance, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Janna=20
Khegai</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C17360.49745560--