[Buildroot] Issue adding subprocess32 python package to buildroot

Paul Gildea gildeap at tcd.ie
Thu Sep 14 15:22:18 UTC 2017


Thanks Arnout,

That set me on the right path. Disutils was using the wrong compiler for
building shared objects, while the right compiler was being used elsewhere.
Setting the below LDSHARED variable solved the problem:

 LDSHARED="$(TARGET_CC) -pthread -shared"


Regards,

--
Paul


On 12 September 2017 at 00:07, Arnout Vandecappelle <arnout at mind.be> wrote:

>
>
> On 08-09-17 16:18, Paul Gildea wrote:
> > /media/vmpart/5.1.0_x86/buildroot/output/host/usr/bin/ccache
> /usr/bin/gcc -pthread -fno-strict-aliasing -O2 -I/media/vmpart/5.1.0_x86/buildroot/output/host/include
> -I/media/vmpart/5.1.0_x86/buildroot/output/host/usr/include -DNDEBUG -g
> -O3 -Wall -Wstrict-prototypes -fPIC -I/media/vmpart/5.1.0_x86/
> buildroot/output/host/usr/include/python2.7 -c _posixsubprocess.c -o
> build/temp.linux-x86_64-2.7/_posixsubprocess.o
>
>  You're using the host compiler to build a target package. You need to pass
> CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" to setup.py in the build step.
>
>  Regards,
>  Arnout
>
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170914/11215ac5/attachment.html>


More information about the buildroot mailing list