[milters] Archive

Lists Index Date Thread Search

Article: 1619
From: cstetson
Date: 2007-07-18 00:02:01 -0400
Subject: Compile Error with Snert

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

Hi All

I am trying to compile the snert milter on Mac OS X 10.3 and getting an error 
when doing the lib/make build

gcc -I/Tanzania/Downloads/unix_stuff/org/sqlite/include -D_REENTRANT -O2 -Wall 
-I./../../include -D__unix__ -L/Tanzania/Downloads/unix_stuff/org/sqlite/lib 
-L./../../lib  -o smtpout smtpout.c -lsnert
ld: Undefined symbols:
_MailSpanDomainName
make[1]: *** [smtpout] Error 1
make: *** [build] Error 2


Running make predefines gives this

gcc -I/Tanzania/Downloads/unix_stuff/org/sqlite/include -D_REENTRANT -O2 -Wall 
-I./../../include -D__unix__ -dM -E -xc /dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __BIG_ENDIAN__ 1
#define __FLT_MIN__ 1.17549435e-38F
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __FLT_EVAL_METHOD__ 0
#define __unix__ 1
#define __SIZE_TYPE__ long unsigned int
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 0
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 2.2204460492503131e-16L
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.7976931348623157e+308L
#define __NATURAL_ALIGNMENT__ 1
#define _ARCH_PPC 1
#define __APPLE_CC__ 1640
#define __OPTIMIZE__ 1
#define __LDBL_MAX_EXP__ 1024
#define __LONG_MAX__ 2147483647L
#define __SCHAR_MAX__ 127
#define __DBL_DIG__ 15
#define _BIG_ENDIAN 1
#define __USER_LABEL_PREFIX__ _
#define __STDC_HOSTED__ 1
#define __LDBL_MANT_DIG__ 53
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 2.2250738585072014e-308L
#define __DYNAMIC__ 1
#define __WCHAR_TYPE__ int
#define __ppc__ 1
#define __FLT_DIG__ 6
#define __FLT_MAX_10_EXP__ 38
#define __APPLE__ 1
#define __INT_MAX__ 2147483647
#define __MACH__ 1
#define __FLT_MAX_EXP__ 128
#define __DECIMAL_DIG__ 17
#define _REENTRANT 1
#define __DBL_MANT_DIG__ 53
#define __WINT_TYPE__ unsigned int
#define __GNUC__ 3
#define __LDBL_MIN_EXP__ (-1021)
#define __LDBL_MAX_10_EXP__ 308
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_MAX_EXP__ 1024
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __FLT_MAX__ 3.40282347e+38F
#define __GXX_ABI_VERSION 102
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MIN_EXP__ (-125)
#define __GNUC_MINOR__ 3
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L
#define __DBL_MIN__ 2.2250738585072014e-308
#define __PTRDIFF_TYPE__ int
#define __LDBL_MIN_10_EXP__ (-307)
#define __REGISTER_PREFIX__
#define __LDBL_DIG__ 15
#define __POWERPC__ 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "3.3 20030304 (Apple Computer, Inc. build 1640)"

Thoughts?

Chris
-- 
_____________________________////////////////////////////////////
Christopher Stetson          WebDirector
cstetson@metadogs.com        http://www.metadogs.com/
                              (510) 658-8766  home
An Oblique Strategy          (510) 459-5269  cell
"Water"   brian eno


Lists Index Date Thread Search