From: smith@icat.larc.nasa.gov (Steven L. Smith)
Subject: AKCL on SGI
Originator: smith@icat.larc.nasa.gov
Organization: NASA Langley Research Center, Hampton, VA  USA
Date: Wed, 30 Sep 1992 10:55:43 GMT




Has anyone successfully compiled akcl 1.615 on there SGI machine?
We have a PI running IRIX 4.01. I made a few modifications to
the akcl/h/sgi.def file to include the -cckr compiler option.
Any help would be appreciated. The errors I encountered were as
follows:
 
			.
			.
			.

        cc -cckr -I/usr/include/bsd -DVOL= -I/usr/local/src/lisp/akcl/akcl/o  -c -O -I../h  -g ../c/main.c
ccom: Error: ../c/main.c, line 327: unknown size
        struct sigvec vec;
      -------------------^
ccom: Error: ../c/main.c, line 328: unknown size
        vec.sv_handler =  handler;
      -----^
ccom: Error: ../c/main.c, line 328: sv_handler undefined
        vec.sv_handler =  handler;
      ---------------^
ccom: Error: ../c/main.c, line 328: member of structure or union required
        vec.sv_handler =  handler;
      ---------------^
ccom: Warning: ../c/main.c, line 328: Illegal pointer combination:  pointer to void  versus  pointer to function returning void
        vec.sv_handler =  handler;
      ---------------------------^
ccom: Error: ../c/main.c, line 329: unknown size
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      -----^
ccom: Error: ../c/main.c, line 329: sv_flags undefined
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      -------------^
ccom: Error: ../c/main.c, line 329: member of structure or union required
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      -------------^
ccom: Error: ../c/main.c, line 329: SV_ONSTACK undefined
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      ----------------------------------------------------------------^
ccom: Warning: ../c/main.c, line 329: illegal combination of pointer and integer, op =
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      --------------------------------------------------------------------^
ccom: Warning: ../c/main.c, line 329:  types :  pointer to void  versus  int
        vec.sv_flags =  (signo == 11     || signo == 10  ? SV_ONSTACK : 0);
      --------------------------------------------------------------------^
ccom: Error: ../c/main.c, line 330: unknown size
        vec.sv_mask =   (1L << ((signo)-1));
      -----^
ccom: Error: ../c/main.c, line 330: sv_mask undefined
        vec.sv_mask =   (1L << ((signo)-1));
      ------------^
ccom: Error: ../c/main.c, line 330: member of structure or union required
        vec.sv_mask =   (1L << ((signo)-1));
      ------------^
ccom: Warning: ../c/main.c, line 330: illegal combination of pointer and integer, op =
        vec.sv_mask =   (1L << ((signo)-1));
      -------------------------------------^
ccom: Warning: ../c/main.c, line 330:  types :  pointer to void  versus  int
        vec.sv_mask =   (1L << ((signo)-1));
      -------------------------------------^
ccom: Error: ../c/main.c, line 331: unknown size
        sigvec(signo,&vec,0);
      -------------------^
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-- 
*******************************************************************************
Steve Smith                          | Internet: smith@icat.larc.nasa.gov
NASA Langley Research Center         |           s.l.smith@larc.nasa.gov
M/S 152                              | Voice: (804) 864-2004