RE: [nhc-bugs] Build Error under nhc98

When using the original nhc98 binaries I built from the included C sources, I got a build error while building ...../prelude/Binary/PutBits.gc
No C type decl for variable foreign in DIS: Apply (Constructor "BH") [Apply (Declare "BinHandle" (Var "bh")) [Apply (Var "foreign") [Exp "finaliseBH",Var "bh"]]] greencard-nhc98 failed on ./PutBits.gc make: *** [/home/bfulgham/nhc98-1.04/targets/ix86-Linux/obj/prelude/Bina ry/PutBits.o] Error 1
As it turns out, it seems that the correct answer is to set "SEARCH = ../$(MACHINE)" -- using ../IO caused segfaults later in the build (during the time profiling build). All is well now, but I'm not sure what the "real" solution should be. Thanks, -Brent

When using the original nhc98 binaries I built from the included C sources, I got a build error while building ...../prelude/Binary/PutBits.gc
As it turns out, it seems that the correct answer is to set "SEARCH = ../$(MACHINE)" -- using ../IO caused segfaults later in the build (during the time profiling build).
Thanks for reporting this apparent bug. I can't reproduce it here, and it is not clear to me how your proposed solutions work. At first glance, those particular changes to the search path should have no effect on GreenCard. I suspect that there is something deeper and more troubling going on. Regards, Malcolm
participants (2)
-
Brent Fulgham
-
Malcolm Wallace