<div dir="ltr">Judging by <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms738514(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/ms738514(v=vs.85).aspx</a> you need to ensure the ws2_32 library is linked in.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/26 Dan Wilckens <span dir="ltr"><<a href="mailto:dwilckens@gmx.com" target="_blank">dwilckens@gmx.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
I have a scheme program I'm trying to compile with Gambit-C in<br>
MinGW/MSYS under Windows.  If I do<br>
<br>
gsc -exe "filename"<br>
<br>
the c file is output and gcc compiles fine-until it gets an error in the<br>
linker stage:( after successfully compiling DansScheme1.o and<br>
DansScheme1_.o and attempting to link them)<br>
C:\...lib/libgambc.a(os_base.o):os_base.c:(.text+0x737):undefined<br>
reference to 'gai_strerrorA'<br>
<br>
If I just compile with gsc -c "filename" it puts out a .c file no<br>
problem.  What should I be looking for?  If you need more details let me<br>
know.  This is version 4.7.0 using Windows Vista with the prebuilt<br>
binaries.  Any help would be much appreciated.Thanks,<br>
Dan<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</blockquote></div><br></div>