[Buildroot] [PATCH] python-netifaces: add -x option to fix cross-compilation

Yegor Yefremov yegor_sub1 at visionsystems.de
Mon Jan 9 10:40:30 UTC 2012


Am 09.01.2012 11:35, schrieb Peter Korsgaard:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> 
>  Thomas> Le Mon, 09 Jan 2012 10:57:23 +0100,
>  Thomas> Yegor Yefremov <yegor_sub1 at visionsystems.de> a écrit :
> 
>  >> That's really strange. I used CodeSourcery toolchain and had no
>  >> problems, but with native BR toolchain I have the same behavior as
>  >> yours. I'll look into this issue.
> 
>  Thomas> CodeSourcery toolchains use glibc, so they have IPv6 support enabled.
> 
> Yes, but that doesn't explain the 2nd error (missing ;):
> 
>         Py_XDECREF (dict);
>         Py_XDECREF (list)
>         Py_XDECREF (family);
> 

I've activated UCLIBC_SUPPORT_AI_ADDRCONFIG and now I can compile netifaces without a problem with native toolchain. Here is my .config for reference. Also take a look at this thread: http://lists.busybox.net/pipermail/uclibc/2008-August/040778.html

Yegor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/xml
Size: 20230 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120109/d77b9158/attachment-0002.wsdl>


More information about the buildroot mailing list