On Sat, Feb 01, 2020 at 10:02:16AM +0100, Michael Olbrich wrote:
> Well this patch and the 3.20 update still fails here with:
> 
> .../bin/ld: gpspacket-py_2_7_16_final_0.cpython-37m-arm-linux-gnueabihf.so:
> in function `Lexer_dealloc':
> platform-arm-hf/build-target/gpsd-3.20/gpspacket.c:129: undefined reference
> to `PyObject_Free'
> 
> This looks suspicious to me: 2.7.16 is python2 version... I think there is
> some stuff leaking in from the build Python.

This one was easy to fix, it comes from here:
https://gitlab.com/gpsd/gpsd/blob/master/SConstruct#L1910
GetPythonValue should be used instead. But is not root of the problem.
And that is those python modules are not linked against
sysroot-target/usr/lib/libpython3.7m.so.1.0

        ladis

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to