>>>>> "B" == Berger, Daniel <djberge / qwest.com> writes:

B> opengl_wrap.cpp: In function `VALUE FXGLViewer_readPixels(FXGLViewer*, int,
B> int, int, int)':
B> opengl_wrap.cpp:677: `alloca' undeclared (first use this function)
B> opengl_wrap.cpp:677: (Each undeclared identifier is reported only once 
B> for each function it appears in.)

 Strange, this is a 2.8

g++ -fPIC -g -O2 -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/sparc-solaris2.8 -I/usr/home/msys/decoux/ruby/FXRuby-1.0.12/ext/fox -I/usr/local/include -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H   -I/usr/home/msys/decoux/local/fox/include/fox -I/usr/local/include -c -o opengl_wrap.o opengl_wrap.cpp

g++ -fPIC -g -O2 -O0 -Iinclude -I. -I/usr/local/lib/ruby/1.6/sparc-solaris2.8 -I/usr/home/msys/decoux/ruby/FXRuby-1.0.12/ext/fox -I/usr/local/include -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H   -I/usr/home/msys/decoux/local/fox/include/fox -I/usr/local/include -c -o ui_wrap.o ui_wrap.cpp


 Do you have ?

nasun% locate alloca.h
/usr/include/alloca.h
nasun% 

 Normally it's included by ruby.h

if defined(HAVE_ALLOCA_H) && !defined(__GNUC__)
#include <alloca.h>
#endif



Guy Decoux