Operating System - Tru64 Unix
1827855 Members
1659 Online
109969 Solutions
New Discussion

Sendmail::Milter compilation

 
Piotr Bienias
New Member

Sendmail::Milter compilation

Hi,

Has anyone successfully compiled perl module Sendmail:Milter (ver. 0.18). This error occurs after make/gmake (whatever):

cc -c -Idir/progs/mail/sendmail-8.13.0/sendmail -Idir/progs/mail/sendmail-8.13.0/incl
ude -pthread -std -D_INTRINSICS -fprm d -ieee -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" "-I/usr/local/perl-threads/lib/5.8.4/alpha-dec_osf-thread-multi/CORE" Milter.c
cc: Error: dir/progs/mail/sendmail-8.13.0/sendmail/timers.h, line 30: Missing ";". (nosemi)
extern void pushtimer __P((TIMER *));
----------------------^
cc: Error: dir/progs/mail/sendmail-8.13.0/sendmail/timers.h, line 31: Missing ";". (nosemi)
extern void poptimer __P((TIMER *));
---------------------^
cc: Error: dir/progs/mail/sendmail-8.13.0/sendmail/timers.h, line 32: Missing ";". (nosemi)
extern char *strtimer __P((TIMER *));
----------------------^
cc: Warning: Milter.xs, line 445: In this statement, the referenced type of the pointer value "&len" is "int", which is not compatible with "unsigned long". (ptrmismatch)
bodyp = SvPV(body_data, len);
----------------^
cc: Warning: Milter.xs, line 445: In this statement, the referenced type of the pointer value "(((body_data)->
sv_flags&(0X0000000000040000))==0X0000000000040000?((len=((XPV ...)(body_data)->sv_any)->xpv_cur),((XPV ...)(b
ody_data)->sv_any)->xpv_pv):Perl_sv_2pv_flags(...))" is "char", which is not compatible with "unsigned char" because they differ by signed/unsigned attribute. (ptrmismatch1)
bodyp = SvPV(body_data, len);
--------^
gmake: *** [Milter.o] Error 1

$ perl-threads -v
This is perl, v5.8.4 built for alpha-dec_osf-thread-multi

sys: Tru64 v5.1

Sendmail was compiled without any problems.

TIA.
--
Piotr Bienias
1 REPLY 1
Ralf Puchner
Honored Contributor

Re: Sendmail::Milter compilation

why not sending a problemdescription to the originator of sendmail:milter?
Help() { FirstReadManual(urgently); Go_to_it;; }