[Mimedefang] Problems compiling on BSD/OS 4.0
Chris Wargaski
mime at wargaski.org
Sun Oct 6 14:17:01 EDT 2002
Hello--
I am attempting to compile MIMEdefang-2.21 on BSD/OS 4.0. I have run into
no other
problems with perl-5.8 or other modules, yet.
Here is the make output:
mchenry: {25} % make
gcc -g
-O2 -D_POSIX_PTHREAD_SEMANTICS -DPERL_PATH=\"/usr/bin/perl\" -DMIMEDEFAN
G_PL=\"/usr/local/bin/mimedefang.pl\" -DRM=\"/bin/rm\" -DVERSION=\"2.21\"
-DSPO
OLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var/spool/MIMEDefang\"
-DCONFDIR=\"/et
c/mail\" -c -o mimedefang.o mimedefang.c
[ snip ]
gcc -g -O2 -o mimedefang mimedefang.o drop_privs.o utils.o rm_r.o
/usr/local/lib/
libmilter.a -lresolv
rm_r.o: In function `rm_r':
/home/cjw/src/modules/mimedefang-2.21/rm_r.c:67: undefined reference to
`readdir_r
'
*** Error code 1
Stop.
I do see a reference to the system call readdir() in the OS, but not
readdir_r(). It appears
that this has not been implemented in 4.0. Can anyone suggest a
work-around or have a
homemade reddir_r()?
cjw
More information about the MIMEDefang
mailing list