Hello,

the following code (foo.pl) results in the error message mentioned in the 
subject line.

```
use Socket qw(:DEFAULT IPPROTO_TCP);

&SOCK_STREAM; &IPPROTO_TCP; &SOMAXCONN;

import Socket qw(/^(?:AI|NI|NIx|EAI)_/);
&AI_ADDRCONFIG;
```

```
>perl foo.pl
Your vendor has not defined Socket macro AI_ADDRCONFIG, used at foo.pl line 6.
```

In case you are wondering where that code is from, it is from SpamAssassin's 
spamd. See 
https://github.com/apache/spamassassin/blob/d13e61ed7b75744eb8bebbe88d6e1e2c6af0c9f0/spamd/spamd.raw#L46
 Because of this error, spamd cannot use IPv6 and falls back to IPv4 instead.

I am currently trying to understand the scope of the problem and what would be 
needed to be done to fix it. I would be grateful for any hints.

Regards,
Martin



________________________________



--------------------------------------------------------
JAM Software GmbH
Managing Director: Joachim Marder
Am Wissenschaftspark 26 * 54296 Trier * Germany
Phone: +49 (0)651-145 653 -0 * Fax: +49 (0)651-145 653 -29
Commercial register number HRB 4920 (AG Wittlich) http://www.jam-software.com

________________________________



----------------------------------------------------
JAM Software GmbH
Geschäftsführer: Joachim Marder
Am Wissenschaftspark 26 * 54296 Trier * Germany
Tel: 0651-145 653 -0 * Fax: 0651-145 653 -29
Handelsregister Nr. HRB 4920 (AG Wittlich) http://www.jam-software.de

Reply via email to