I am having problems getting povray 3.5 to compile on my SGI with IRIX 6.5. I get the following errors:

gmake[1]: Entering directory `/home/didonato/temp/povray-3.50a/src'
g++ -DPREFIX=\"/home/didonato/bin/povray\" -DPOV_LIB_DIR=\"/home/didonato/bin/povray/share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/home/didonato/bin/povray/etc\"   -I/usr/freeware/include  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c atmosph.cpp
atmosph.cpp: In function `void do_rainbow(RAY*, INTERSECTION*, float*)':
atmosph.cpp:502: `max' undeclared (first use this function)
atmosph.cpp:502: (Each undeclared identifier is reported only once for each
   function it appears in.)
atmosph.cpp: In function `double constant_fog(RAY*, double, double, FOG*,
   float*)':
atmosph.cpp:688: `min' undeclared (first use this function)
gmake[1]: *** [atmosph.o] Error 1
gmake[1]: Leaving directory `/home/didonato/temp/povray-3.50a/src'
gmake: *** [all-recursive] Error 1

Has anyone successfully compiled it for IRIX?
 

Mike
 

-- 
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology 
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037

Tel: (858) 784-9261
FAX: (858) 784-2277

http://www.scripps.edu/~didonato
*********************************