[Mimedefang] Compiling 2.5 on HPUX

Ray Spinhirne rays at admin.stedwards.edu
Thu Feb 28 16:51:48 EST 2002


I have loaded sendmail 8.12.2 on HP-UX 11.0.

Sendmail compiled and seems to run ok.

I get the following errros when doing a make on mimedefang 2.5

-------------------------------------------------------------------------
        cc -g -DPERL_PATH=\"/usr/bin/perl\"  
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\"  -DRM=\"/usr/bin/rm\"  
-DVERSION=\"2.5\"  -DSPOOLDIR=\"/var/spool/MIMEDefang\"  all: mimedefang 
mimedefang-multiplexor -I/usr/local/include/sendmail -c -o 
mimedefang-multiplexor.o mimedefang-multiplexor.c
cc: "mimedefang-multiplexor.c", line 1077: warning 562: Redeclaration of 
"checkSlaveForExpiry" with a different storage class specifier: 
"checkSlaveForExpiry" will have internal linkage.
cc: "mimedefang-multiplexor.c", line 1095: warning 562: Redeclaration of 
"killSlave" with a different storage class specifier: "killSlave" will have 
internal linkage.
cc: "mimedefang-multiplexor.c", line 1163: warning 562: Redeclaration of 
"handlePipe" with a different storage class specifier: "handlePipe" will have 
internal linkage.
cc: "mimedefang-multiplexor.c", line 1234: warning 562: Redeclaration of 
"shutDescriptors" with a different storage class specifier: "shutDescriptors" 
will have internal linkage.
        cc -g -DPERL_PATH=\"/usr/bin/perl\"  
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\"  -DRM=\"/usr/bin/rm\"  
-DVERSION=\"2.5\"  -DSPOOLDIR=\"/var/spool/MIMEDefang\"  all: mimedefang 
mimedefang-multiplexor -I/usr/local/include/sendmail -c -o event.o event.c
cc: "event.c", line 441: warning 562: Redeclaration of "DestroySelector" with a 
different storage class specifier: "DestroySelector" will have internal linkage.
cc: "event.c", line 462: warning 562: Redeclaration of "DestroyHandler" with a 
different storage class specifier: "DestroyHandler" will have internal linkage.
cc: "event.c", line 478: warning 562: Redeclaration of "DoPendingChanges" with a 
different storage class specifier: "DoPendingChanges" will have internal 
linkage.
        cc -g -DPERL_PATH=\"/usr/bin/perl\"  
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\"  -DRM=\"/usr/bin/rm\"  
-DVERSION=\"2.5\"  -DSPOOLDIR=\"/var/spool/MIMEDefang\"  all: mimedefang 
mimedefang-multiplexor -I/usr/local/include/sendmail -c -o event_tcp.o 
event_tcp.c
cc: "event_tcp.c", line 92: warning 604: Pointers are not assignment-compatible.
cc: "event_tcp.c", line 92: warning 563: Argument #5 is not the correct type.
        cc -g -o mimedefang-multiplexor -lpthread -lnsl  -lsm 
mimedefang-multiplexor.o event.o event_tcp.o
/usr/ccs/bin/ld: Can't find library for -lsm
*** Error exit code 1
---------------------------------------------------------------------------



Any help would be appreciated.

Ray Spinhirne
Director Computer Services
St. Edward's University




More information about the MIMEDefang mailing list