First, thanks to Josif for pointing out the B_M can indeed limit the
number of receipients per envelope with the -maxrcpts flag
Alas, now I'm having trouble with the compile. BTW, I see mention of
B_M versions 1.3 and 1.5, but the ftp site only has 1.13...are other
numbers typos?
I am running AIX5.3 maintenance level 1, compiling with the IBM V6 C
compiler and gcc at I believe 3.3.3. Both barf on type mismatch. Here
is the console output. Wouls someone be kind enough to help. It's been
awhile since wrastled with C compiles........
with gcc (symbolic link to /usr/local/bin/gcc)
configure run output:
4125 root@donkey:/usr/local/bulkmailer/bulk_mailer-1.13 ## ./configure
loading cache ./config.cache
checking for gethostbyname in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for gethostname... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
creating ./config.status
creating Makefile
4126 root@donkey:/usr/local/bulkmailer/bulk_mailer-1.13 ## make
cc -c -DHAVE_LIBNSL=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_GETHOSTN
AME=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 bulk_mailer.c
bulk_mailer.c:301: warning: static declaration for `strndup' follows
non-static
bulk_mailer.c: In function `strndup':
bulk_mailer.c:303: error: argument `str' doesn't match prototype
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/include/string.h:225:
error:
prototype declaration
bulk_mailer.c:303: error: argument `len' doesn't match prototype
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.3/include/string.h:225:
error:
prototype declaration
make: 1254-004 The error code from the last command is 1.
with cc (symbolic link to /usr/vac/bin/xlc)
configure run output:
4128 root@donkey:/usr/local/bulkmailer/bulk_mailer-1.13 ## ./configure
loading cache ./config.cache
checking for gethostbyname in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for gethostname... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
creating ./config.status
creating Makefile.
4129 root@donkey:/usr/local/bulkmailer/bulk_mailer-1.13 ## make
cc -c -DHAVE_LIBNSL=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_GETHOSTN
AME=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 bulk_mailer.c
"bulk_mailer.c", line 300.1: 1506-343 (S) Redeclaration of strndup
differs from
previous declaration on line 261 of "/usr/include/string.h".
"bulk_mailer.c", line 300.1: 1506-381 (I) The type "unsigned long" of
parameter
2 in the prototype declaration is not compatible with the corresponding
paramete
r type "int" in the nonprototype declaration.
make: 1254-004 The error code from the last command is 1.
--
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean@bard.edu voice: 845-758-7475, fax: 845-758-7035
|
|