Judging by http://msdn.microsoft.com/en-us/library/windows/desktop/ms738514(v=vs.85).as... you need to ensure the ws2_32 library is linked in.
2013/9/26 Dan Wilckens dwilckens@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@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list