[Mimedefang] MIMEDefang 2.70 compile error

Eric Laizure starfire at emeden.net
Wed Jun 30 13:58:50 EDT 2010


Hello,

I recently downloaded the 2.70 version and attempted to compile it with 
the following options on Fedora 12 x64:

./configure --prefix=/usr --with-user=smmsp 
--with-quarantinedir=/var/spool/MD-Quarantine --mandir=/usr/share/man ; make

When I do, I get the following error:

gcc -g -O2 -Wall -Wstrict-prototypes  -D_REENTRANT -D_GNU_SOURCE 
-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm  -I/usr/lib64/perl5/5.10.0/x86_64-linux-thr
ead-multi/CORE  -pthread -D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL 
-DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/bin/perl\" 
-DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/bin/rm\" 
-DVERSION=\"2.70\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" 
-I../sendmail-8.14.4/include -c -o embperl.o ./embperl.c
./embperl.c:20: warning: function declaration isn a prototype
gcc -g -O2 -Wall -Wstrict-prototypes  -D_REENTRANT -D_GNU_SOURCE 
-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm 
-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE  -pthread 
-D_POSIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL 
-DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" 
-DRM=\"/bin/rm\" -DVERSION=\"2.70\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" 
-DQDIR=\"/var/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\" 
-I../sendmail-8.14.4/include -c -o xs_init.o ./xs_init.c
./xs_init.c: In function s_init
./xs_init.c:15: error: y_perlundeclared (first use in this function)
./xs_init.c:15: error: (Each undeclared identifier is reported only once
./xs_init.c:15: error: for each function it appears in.)
./xs_init.c:15: warning: passing argument 3 of erl_newXSfrom incompatible 
pointer type
/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/proto.h:1500: note: 
expected SUBADDR_tbut argument is of type oid (*)(struct CV *)
make: *** [xs_init.o] Error 1

I'm attaching the logs I made of this. Any idea what I might have done 
wrong or how I can fix this?

-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.zip
Type: application/x-zip-compressed
Size: 7656 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20100630/a9a0a34f/attachment.bin>


More information about the MIMEDefang mailing list