signals.c issue compiling 3.3 under IRIX 6.5

Help
Eric H.
2005-09-01
2013-05-14
  • Eric H.
    Eric H.
    2005-09-01

    When compiling Regina 3.3 under IRIX 6.5.22m, I get the following error, can someone enlighten me what I need to do? I can't find any binaries for any versions after 3.0 so I'm probably the only person working on it... Any help appreciated..

    gcc -DNDEBUG -O3 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts -DREGINA_SHARE_DIRECTORY=\"/usr/share/regina\" -DHAVE_CONFIG_H   -I. -I.   -o signals.o -c ./signals.c
    signals.c:222: error: conflicting types for `__regina_regina_signal'
    extern.h:405: error: previous declaration of `__regina_regina_signal'
    signals.c: In function `__regina_regina_signal':
    signals.c:225: error: incompatible types in assignment
    signals.c: In function `halt_handler':
    signals.c:279: error: incompatible type for argument 2 of `__regina_regina_signal'
    signals.c: In function `__regina_signal_setup':
    signals.c:321: error: incompatible type for argument 2 of `__regina_regina_signal'
    signals.c:325: error: incompatible type for argument 2 of `__regina_regina_signal'
    signals.c:329: error: incompatible type for argument 2 of `__regina_regina_signal'
    signals.c: At top level:
    signals.c:2: warning: `RCSid' defined but not used
    gmake: *** [signals.o] Error 1

     
    • Eric H.
      Eric H.
      2005-09-06

      Fixed it. Note, IRIX is more BSD-like and configure had set my system as more of a Linux system; commented out the offending 'if define's and compiled without error.

      I suspect that BSD might be workable in that light though I don't know how the signals will work(I haven't gotten to test them here yet either).

       
      • Mark Hessling
        Mark Hessling
        2005-09-06

        Good news Eric. Could you please send me the changes you made so I might be able to incorporate these in Regina 3.4?
        Thanks, Mark