Skip to content
Prev 16573 / 63424 Next

memory allocation problem under linux

On Mon, 2005-06-13 at 12:12 +0200, antonio.dinarzo at studio.unibo.it
wrote:
It gives you a hint about what the problem is. Your global variable
"box" is conflicting with another symbol.  I tracked this down to the
ncurses library, to which R is linked under Linux, but not Windows. 

[martyn at seurat ~]$ nm /usr/lib/libncurses.so | grep box -
07a6d036 T box

This explains why your problem is platform-specific.  You should declare
"box" to be static.

M.