Subject: Problems compiling...
To: None <port-mac68k@NetBSD.ORG>
From: Christopher J Mason <cmason+@CMU.EDU>
List: port-mac68k
Date: 11/19/1996 23:58:26
I'm trying to compile a kerberized lpr. I've fixed several references
to sys_errlist[] but now I get:
In file included from /usr/include/a.out.h:42,
from lp.local.h:19,
from lpdchar.c:14:
/usr/include/sys/exec.h:98: syntax error before `__P'
/usr/include/sys/exec.h:101: syntax error before `u_int'
/usr/include/sys/exec.h:107: syntax error before `u_int'
/usr/include/sys/exec.h:117: syntax error before `u_int'
/usr/include/sys/exec.h:123: syntax error before `u_long'
/usr/include/sys/exec.h:144: syntax error before `__P'
/usr/include/sys/exec.h:149: syntax error before `u_long'
In file included from /usr/include/sys/exec.h:211,
from /usr/include/a.out.h:42,
from lp.local.h:19,
from lpdchar.c:14:
/usr/include/sys/exec_aout.h:43: syntax error before `u_long'
*******from lp.local.h:*************
#ifndef SOLARIS
#include <a.out.h>
#else
#include <sys/exechdr.h>
#endif
#include <ar.h>
************************************
If I comment those lines out it keeps compiling but then I get:
cc -g -I/usr/local/include -I/usr/include/kerberosIV
-I/usr/local/include -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR
-DUSE_RE_COMP -DNO_REGCOMP -DUSE_GETWD -DNO_MEMMOVE -DNO_ALLOCA
-DBOGUS_MB_MAX -DNO_CONST -DVFS -DKERBEROS -DZEPHYR -DLACL -DANDREW
-c printjob.c
printjob.c: In function `printjob':
printjob.c:139: warning: passing arg 2 of `signal' from incompatible
pointer type
printjob.c:140: warning: passing arg 2 of `signal' from incompatible
pointer type
printjob.c:141: warning: passing arg 2 of `signal' from incompatible
pointer type
printjob.c:142: warning: passing arg 2 of `signal' from incompatible
pointer type
printjob.c:192: warning: passing arg 1 of `syslog' makes integer from
pointer without a cast
printjob.c: In function `print':
printjob.c:738: warning: passing arg 1 of `wait3' from incompatible
pointer type
printjob.c:786: warning: passing arg 2 of `waitpid' from incompatible
pointer type
cc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1
Stop.
cmason@ros:/proj/klpr#
I have no idea what this means.
Can anyone help?
-c
_____________________________________________________________________
|Chris Mason - cmason@nyx.net cmason@cmu.edu http://ros.res.cmu.edu |
|"You can always count on a murderer for a fancy prose style."-Nabokov|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~