has anyone tried to compile this on digital unix 4.0e

I have been unable to, here are the errors:

cc -std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C  -O4 
spamd
/spamc.c  -o spamd/spamc -L/usr/local/lib -ldbm -ldb -lm
cc: Error: spamd/spamc.c, line 60: In the initializer for 
ESC_PASSTHROUGHRAW, "E
X__MAX" is not declared. (undeclared)
const int ESC_PASSTHROUGHRAW = EX__MAX+666;
-------------------------------^
cc: Warning: spamd/spamc.c, line 161: In this statement, the referenced type of
the pointer value "msg_buf" is "char", which is not compatible with 
"unsigned ch
ar". (ptrmismatch)
   if((bytes = full_read (in, msg_buf, max_size+1024, max_size+1024)) > 
max_size)
-----------------------------^
cc: Warning: spamd/spamc.c, line 166: In this statement, the referenced type of
the pointer value "header_buf" is "char", which is not compatible with 
"const un
signed char". (ptrmismatch)
     full_write (out,header_buf,bytes2);
--------------------^
cc: Warning: spamd/spamc.c, line 194: In this statement, the referenced type of
the pointer value "header_buf" is "char", which is not compatible with 
"const un
signed char". (ptrmismatch)
     full_write (out,header_buf,bytes2);
--------------------^
cc: Warning: spamd/spamc.c, line 194: In this statement, the referenced type of
the pointer value "header_buf" is "char", which is not compatible with 
"const un
signed char". (ptrmismatch)
     full_write (out,header_buf,bytes2);
--------------------^
cc: Warning: spamd/spamc.c, line 195: In this statement, the referenced type of
the pointer value "msg_buf" is "char", which is not compatible with "const 
unsig
ned char". (ptrmismatch)
     full_write (out,msg_buf,bytes);
--------------------^
cc: Warning: spamd/spamc.c, line 298: In this statement, the referenced type of
the pointer value "buf" is "char", which is not compatible with "unsigned 
char".
  (ptrmismatch)
           if(full_read (in,buf,2,2) != 2 || !('\r' == buf[0] && '\n' == 
buf[1]))
---------------------------^
cc: Warning: spamd/spamc.c, line 313: In this statement, the referenced type of
the pointer value "buf" is "char", which is not compatible with "unsigned 
char".
  (ptrmismatch)
     while((bytes=full_read (in,buf,8192, 8192)) > 0)
-------------------------------^
cc: Warning: spamd/spamc.c, line 340: In this statement, the referenced type of
the pointer value "out_buf" is "char", which is not compatible with "const 
unsig
ned char". (ptrmismatch)
       full_write (out, out_buf, out_index);
-----------------------^
cc: Warning: spamd/spamc.c, line 488: In this statement, the referenced type of
the pointer value "msg_buf" is "char", which is not compatible with "const 
unsig
ned char". (ptrmismatch)
       full_write (STDOUT_FILENO,msg_buf,amount_read);
--------------------------------^
cc: Warning: spamd/spamc.c, line 503: In this statement, the referenced type of
the pointer value "msg_buf" is "char", which is not compatible with "const 
unsig
ned char". (ptrmismatch)
       full_write(STDOUT_FILENO,msg_buf,amount_read);
-------------------------------^
*** Exit 1
Stop.


any help would greatly appreciated. I really would like to get this working.

Thanks

Chris


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to