[Mimedefang] compiling problem with sm 8.12.3

hans mayer hans.mayer at relay.bfl.at
Mon Apr 8 05:38:06 EDT 2002


hi all 

i have a strange compiling problem. 
environment: solaris 7, gcc version 2.95.3
sendmail 8.12.3 mimedefang 2.6 

i just want to test sendmails new version 8.12.3 with md.
compiling and installing sendmail without problems. 
removing mimedefang-2.6 directory and starting from scratch.
./configure did work without errors. now doing a gmake i 
get the following error: 

gcc -g -O2 -DPERL_PATH=\"/uni/bin/perl\"
-DMIMEDEFANG_PL=\"/usr/local/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm\"
-DVERSION=\"2.6\" -DSPOOLDIR=\"/var/spool/MIMEDefang\"  -I/usr/include
-c -o mimedefang-multiplexor.o mimedefang-multiplexor.c
mimedefang-multiplexor.c: In function `statsLog':
mimedefang-multiplexor.c:1552: `__builtin_va_alist' undeclared (first
use in this function)
mimedefang-multiplexor.c:1552: (Each undeclared identifier is reported
only once
mimedefang-multiplexor.c:1552: for each function it appears in.)

checking mimedefang-multiplexor.c i see around 1552: 
  1549      if (fmt) {
  1550          int len = strlen(statbuf);
  1551          statbuf[len] = ' ';
  1552          va_start(ap, fmt);
  1553          vsnprintf(statbuf+len+1, sizeof(statbuf)-len-1, fmt,
ap);
  1554          va_end(ap);
  1555          statbuf[sizeof(statbuf)-1] = 0;
  1556      }

va_start is only 2 times used but not defined in md-package. 
also a grep with __builtin_va_alist brings no results. 

i am a little bit amazed. 

i am asuming the problem is in combination with sm 8.12.3 as i 
did compile md 2.6 and sm 8.12.2 on the same server weeks ago without 
problems. 

any ideas ? 


best regards 
hans 

--



More information about the MIMEDefang mailing list