POV-Ray : Newsgroups : povray.unix : Compiling 3.5 on IRIX 6.5 : Re: Compiling 3.5 on IRIX 6.5 Server Time
28 Jul 2024 10:15:58 EDT (-0400)
  Re: Compiling 3.5 on IRIX 6.5  
From: Ken Cecka
Date: 5 Aug 2002 21:56:56
Message: <3d4f2ce7@news.povray.org>
That's pretty wierd!  Not really familiar with IRIX, but I though it was 
standard for signal handlers to be called with an integer parameter - maybe 
they just have their protypes mixed up.  You could try explicit casting to 
make the compiler happy:

  signal(SIGTERM, ((void (*)()) UNIX_Abort_Handler);

...although no promises on whether the signal handling will behave as 
expected.

Ken

Michael DiDonato wrote:

> Ken Cecka wrote:
> 
>> I think there are some threads further down talking about namespaces and
>> the STL (the STL provides generic templates for min/max which work with
>> any
>> comparable types).  I of course neglected to read these suggestions
>> before I compiled and took a more brute-force approach by changing all
>> calls to
>> min/max to fmin/fmax (and you also have to change min3 and max3).  Not
>> sure if fmin/fmax will be available on IRIX though.
>>
> 
> OK I got by that problem, but now I get another error:
> 
> g++ -DPREFIX=\"/home/didonato/bin/povray35\"
> -DPOV_LIB_DIR=\"/home/didonato/bin/povray35/share/povray-3.5\"
> -DCOMPILER_VER=\".Linux.gcc\"
> -DSYSCONFDIR=\"/home/didonato/bin/povray35/etc\"   -I/usr/freeware/include
>  `if
> [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c unix.cpp
> unix.cpp: In function `void UNIX_Abort_Start()':
> unix.cpp:655: cannot convert `void (*)(int)' to `void (*)()' for argument
> `2'
>    to `void (* signal(int, void (*)()))()'
> unix.cpp:658: cannot convert `void (*)(int)' to `void (*)()' for argument
> `2'
>    to `void (* signal(int, void (*)()))()'
> unix.cpp:661: cannot convert `void (*)(int)' to `void (*)()' for argument
> `2'
>    to `void (* signal(int, void (*)()))()'
> gmake[1]: *** [unix.o] Error 1
> gmake[1]: Leaving directory `/home/didonato/temp/povray-3.50a/src'
> gmake: *** [all-recursive] Error 1
> 
> Thanks for the help.
> 
> 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
> *********************************


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.