[Mimedefang] OT: SpamAssassin Error (still)

Doug Hubbard doug at trackmaster.com
Thu May 19 14:54:01 EDT 2005


I posted this a while ago and got some help, then our ISP swap came and 
I dropped it.
I am trying to update MD from 2.42 to 2.51 and SpamAssassin from 2.63 to 
3.03 (to get caught up).
When I run the make on SA I get the following

# make
make -f spamc/Makefile spamc/spamc
make[1]: Entering directory `/export/builds/new/Mail-SpamAssassin-3.0.3'
gcc  -g -O2 spamc/spamc.c spamc/libspamc.c spamc/utils.c \
        -o spamc/spamc   -ldl -lnsl -lsocket
spamc/spamc.c: In function `read_args':
spamc/spamc.c:185: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:185: error: (Each undeclared identifier is reported only once
spamc/spamc.c:185: error: for each function it appears in.)
spamc/spamc.c:217: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c:306: error: `EX_USAGE' undeclared (first use in this function)
spamc/spamc.c:313: error: `EX_TEMPFAIL' undeclared (first use in this 
function)
spamc/spamc.c: In function `get_output_fd':
spamc/spamc.c:350: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c: In function `get_current_user':
spamc/spamc.c:439: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:449: error: `EX_OSERR' undeclared (first use in this function)
spamc/spamc.c: In function `main':
spamc/spamc.c:479: error: `EX_OK' undeclared (first use in this function)
spamc/spamc.c:480: error: `EX_TEMPFAIL' undeclared (first use in this 
function)
spamc/spamc.c:509: error: `EX_NOHOST' undeclared (first use in this 
function)
spamc/libspamc.c: In function `_translate_connect_errno':
spamc/libspamc.c:145: error: `EX_SOFTWARE' undeclared (first use in this 
function)
spamc/libspamc.c:145: error: (Each undeclared identifier is reported 
only once
spamc/libspamc.c:145: error: for each function it appears in.)
spamc/libspamc.c:150: error: `EX_UNAVAILABLE' undeclared (first use in 
this function)
spamc/libspamc.c:153: error: `EX_NOPERM' undeclared (first use in this 
function)
spamc/libspamc.c: In function `_opensocket':
spamc/libspamc.c:219: error: `EX_SOFTWARE' undeclared (first use in this 
function)
spamc/libspamc.c:222: error: `EX_NOPERM' undeclared (first use in this 
function)
spamc/libspamc.c:228: error: `EX_OSERR' undeclared (first use in this 
function)
spamc/libspamc.c:273: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_unix':
spamc/libspamc.c:298: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_try_to_connect_tcp':
spamc/libspamc.c:374: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_message_read_raw':
spamc/libspamc.c:455: error: `EX_OSERR' undeclared (first use in this 
function)
spamc/libspamc.c:461: error: `EX_IOERR' undeclared (first use in this 
function)
spamc/libspamc.c:471: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_message_read_bsmtp':
spamc/libspamc.c:481: error: `EX_OSERR' undeclared (first use in this 
function)
spamc/libspamc.c:489: error: `EX_IOERR' undeclared (first use in this 
function)
spamc/libspamc.c:514: error: `EX_DATAERR' undeclared (first use in this 
function)
spamc/libspamc.c:542: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `message_read':
spamc/libspamc.c:553: error: `EX_OSERR' undeclared (first use in this 
function)
spamc/libspamc.c:567: error: `EX_USAGE' undeclared (first use in this 
function)
spamc/libspamc.c: In function `_spamc_read_full_line':
spamc/libspamc.c:667: error: `EX_IOERR' undeclared (first use in this 
function)
spamc/libspamc.c:678: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c: In function `_handle_spamd_header':
spamc/libspamc.c:792: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c:799: error: `EX_PROTOCOL' undeclared (first use in this 
function)
spamc/libspamc.c: In function `message_filter':
spamc/libspamc.c:835: error: `EX_SOFTWARE' undeclared (first use in this 
function)
spamc/libspamc.c:841: error: `EX_OSERR' undeclared (first use in this 
function)
spamc/libspamc.c:898: error: `EX_OK' undeclared (first use in this function)
spamc/libspamc.c:935: error: `EX_PROTOCOL' undeclared (first use in this 
function)
spamc/libspamc.c: In function `message_process':
spamc/libspamc.c:1061: error: `EX_OK' undeclared (first use in this 
function)
spamc/libspamc.c: In function `transport_setup':
spamc/libspamc.c:1203: error: `EX_OK' undeclared (first use in this 
function)
spamc/libspamc.c:1220: error: `EX_NOHOST' undeclared (first use in this 
function)
spamc/libspamc.c:1222: error: `EX_TEMPFAIL' undeclared (first use in 
this function)
spamc/libspamc.c:1224: error: `EX_OSERR' undeclared (first use in this 
function)
make[1]: *** [spamc/spamc] Error 1
make[1]: Leaving directory `/export/builds/new/Mail-SpamAssassin-3.0.3'
make: *** [spamc/spamc] Error 2

I am running on solaris 8 and the latest advice was to update gcc (which 
I have done)
gcc version is
# gcc --version
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

perl version is
This is perl, v5.8.6 built for sun4-solaris

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License 
or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Any and all help would be greatly appreciated.
-- 

*********************
Doug Hubbard - IT Manager
TrackMaster, an Equibase Company
email doug at trackmaster.com <mailto:doug at trackmaster.com>
Website www.trackmaster.com <http://www.trackmaster.com>
*********************


This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately.
Thank you!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doug.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <https://lists.mimedefang.org/pipermail/mimedefang_lists.mimedefang.org/attachments/20050519/913f7541/attachment-0002.vcf>


More information about the MIMEDefang mailing list