-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Apparently one of the calls to ___printf should be commented out (because ___printf is only defined when ___DEBUG is defined). Here's the patch:
% diff os_tty.c-new os_tty.c-old 1177d1176 < #if 0 1179d1177 < #endif
Marc
On 17-Apr-07, at 6:55 PM, Tom Ayerst wrote:
Thanks for the info.
I am compiling gambc-4.0b22 under WinXP service pack 2 using MinGW-3.1.0-1 under MSYS-1.0.9
I have run:
configure --prefix=/c/dev/scheme/Gambit-C-4.0b22
and then make:
and I get:
$ make making all in include make[1]: Entering directory `/c/dev/scheme/gambc-4.0b22/include' make[1]: Leaving directory `/c/dev/scheme/gambc-4.0b22/include' making all in lib make[1]: Entering directory `/c/dev/scheme/gambc-4.0b22/lib' make[1]: Leaving directory `/c/dev/scheme/gambc-4.0b22/lib' making all in gsi make[1]: Entering directory `/c/dev/scheme/gambc-4.0b22/gsi' gcc _gsi.o _gsi_.o ../lib/libgambc.a -lws2_32 -o gsi.exe ../lib/libgambc.a(os_tty.o)(.text+0x2aeb):os_tty.c: undefined reference to `___printf' make[1]: *** [gsi.exe] Error 1 make[1]: Leaving directory `/c/dev/scheme/gambc-4.0b22/gsi' make: *** [all-recursive] Error 1
Can anyone point out what I am doing wrong? (Other than working in Windows!)