You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Nicholson <ro...@elastica.com> on 2006/12/30 16:56:48 UTC

Compile error from CVS code on freebsd

Anybody else getting this?

gcc  -g -O2 spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/ 
utils.c  -o spamc/spamc
spamc/libspamc.c: In function `transport_setup':
spamc/libspamc.c:1706: error: `EAI_ADDRFAMILY' undeclared (first use  
in this function)
spamc/libspamc.c:1706: error: (Each undeclared identifier is reported  
only once
spamc/libspamc.c:1706: error: for each function it appears in.)
spamc/libspamc.c:1711: error: `EAI_NODATA' undeclared (first use in  
this function)
*** Error code 1

Stop in /home/elastica/spamassassin.
*** Error code 1

Stop in /home/elastica/spamassassin.

$ uname -a
FreeBSD XXXXXXXX 6.1-STABLE-200608 FreeBSD 6.1-STABLE-200608 #0: Mon  
Aug  7 18:52:33 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/ 
src/sys/SMP  i386

Re: Compile error from CVS code on freebsd

Posted by Robert Nicholson <ro...@elastica.com>.
Ok looks like that only applys on windows which isn't clear from reading

BUILD_SPAMC'  ,    # Set to 'no' to skip build of spamc.

at the top of Makefile.PL

On Dec 30, 2006, at 10:03 AM, Robert Nicholson wrote:

> Just like to add that this
>
> $ perl Makefile.PL BUILD_SPAMC=no
>
> has no effect with this code
>
> On Dec 30, 2006, at 9:56 AM, Robert Nicholson wrote:
>
>> Anybody else getting this?
>>
>> gcc  -g -O2 spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/ 
>> utils.c  -o spamc/spamc
>> spamc/libspamc.c: In function `transport_setup':
>> spamc/libspamc.c:1706: error: `EAI_ADDRFAMILY' undeclared (first  
>> use in this function)
>> spamc/libspamc.c:1706: error: (Each undeclared identifier is  
>> reported only once
>> spamc/libspamc.c:1706: error: for each function it appears in.)
>> spamc/libspamc.c:1711: error: `EAI_NODATA' undeclared (first use  
>> in this function)
>> *** Error code 1
>>
>> Stop in /home/elastica/spamassassin.
>> *** Error code 1
>>
>> Stop in /home/elastica/spamassassin.
>>
>> $ uname -a
>> FreeBSD XXXXXXXX 6.1-STABLE-200608 FreeBSD 6.1-STABLE-200608 #0:  
>> Mon Aug  7 18:52:33 UTC 2006     root@opus.cse.buffalo.edu:/usr/ 
>> obj/usr/src/sys/SMP  i386

Re: Compile error from CVS code on freebsd

Posted by Robert Nicholson <ro...@elastica.com>.
Just like to add that this

$ perl Makefile.PL BUILD_SPAMC=no

has no effect with this code

On Dec 30, 2006, at 9:56 AM, Robert Nicholson wrote:

> Anybody else getting this?
>
> gcc  -g -O2 spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/ 
> utils.c  -o spamc/spamc
> spamc/libspamc.c: In function `transport_setup':
> spamc/libspamc.c:1706: error: `EAI_ADDRFAMILY' undeclared (first  
> use in this function)
> spamc/libspamc.c:1706: error: (Each undeclared identifier is  
> reported only once
> spamc/libspamc.c:1706: error: for each function it appears in.)
> spamc/libspamc.c:1711: error: `EAI_NODATA' undeclared (first use in  
> this function)
> *** Error code 1
>
> Stop in /home/elastica/spamassassin.
> *** Error code 1
>
> Stop in /home/elastica/spamassassin.
>
> $ uname -a
> FreeBSD XXXXXXXX 6.1-STABLE-200608 FreeBSD 6.1-STABLE-200608 #0:  
> Mon Aug  7 18:52:33 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/ 
> usr/src/sys/SMP  i386