From: Lyle Johnson [mailto:email@example.com]
No, that’s a new one for me too. That line of opengl_wrap.cpp
use of the macro ALLOCA_N which is defined in “ruby.h”, but the macro
just turns around and calls the alloca() function (a semi-standard C
library function). And for some reason it hasn’t seen a
alloca() by that point in the compilation.
Between your post Lyle and this from Guy:
if defined(HAVE_ALLOCA_H) && !defined(GNUC)
Something struck me about the warnings with gcc 3.1:
cc1: warning: changing search order for system directory
cc1: warning: as it has already been specified as a non-system
I have been able to ignore this bug/feature in the past, but guessing that
they might be the culprit, I rebuilt using gcc 2.95.3. Sure enough, that
worked. It appears that it simply wasn’t including that header (or any?)
Trying to ‘require fox’ gives me ld errors, however, which I haven’t tracked
down yet. Could be because I built fox with gcc 3.1 and fxruby with 2.95.
We’ll see how it goes.