[Image-SIG] Compile problem on SGI IRIX 6.2

Mona Wong mona@eel.ucsd.edu
Thu, 10 Jun 1999 16:55:25 -0700


Hi:

	I'm attempting to compile PIL 1.0b1 on a SGI IRIX 6.2 machine.  I got
the following error:

...
gcc -O -I./. -I/usr/local/include -DHAVE_CONFIG_H   -c Draw.c -o Draw.o
In file included from Draw.c:28:
/usr/local/lib/gcc-lib/mips-sgi-irix6.2/2.8.1/include/math.h:686: parse error
before `size_t'
gmake: *** [Draw.o] Error 1

	I looked at the math.h file and it is this line:

extern char *   initstate(unsigned int, char *, size_t);

	Does anyone know how to fix this problem?

Mona


-- 
==================================================================
Mona Wong
graphics / visualization programmer wanna-be & web fool-arounder
National Center for Microscopy and Imaging Research
University of California, San Diego
http://www-ncmir.ucsd.edu/
==================================================================