[milters] Archive

Lists Index Date Thread Search

Article: 1443
From: Rob McMahon
Date: 2007-02-12 05:24:40 -0500
Subject: Re: Libsnert build error with socket2.h/socket2.c

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

Anthony Howe wrote:
>> Environment Solaris 10 Sparc
>> Sendmail 8.13.8
>> Berkley DB4.4
>> SunCC v5.8
>>     
> If my theory is correct and __unix__ is not defined by default, then try 
> explicitly defining missing macro:
>
> 	cd com/snert/src/lib
> 	CFLAGS='-D__unix__' ./configure (other options here)
> 	make clean build
> 	cd ../milter-NAME
> 	./configure
> 	make clean build
> 	sudo make install
>
> If you can supply me the list of predefines, then I should be able to 
> added some clever C macro work around / assertions for SunOS builds.
>
>   
Sun's cc predefines `__unix' (no trailing `__')

Cheers,

Rob

-- 
E-Mail:	Rob.McMahon@warwick.ac.uk		PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England


Lists Index Date Thread Search