[gambit-list] gsc gets a linker error with -exe

Mikael mikael.rcv at gmail.com
Wed Sep 25 21:25:36 EDT 2013


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


2013/9/26 Dan Wilckens <dwilckens at gmx.com>

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


More information about the Gambit-list mailing list