On 30/08/17 09:32, Artur Wiebe wrote:
Hi,
On my ArchLinux GLIB from current PtxDist is not building.
I get the error:
./.libs/libgio-2.0.so: undefined reference to `__dn_expand'
./.libs/libgio-2.0.so: undefined reference to `__res_query'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:2285: glib-compile-resources] Error 1
Does anyone have any idea?
Best Regards,
Artur
I attempted (and failed) to reproduce the problem by building
"DistroKit" for the "platform-v7a" BSP (see
<http://www.pengutronix.de/en/2017-08-28-distrokit-a-playground-bsp-for-ptxdist.html>)
in an up-to-date ArchLinux "Docker" container on my Debian "testing"
amd64 host. The build used the "OSELAS.Toolchain-2016.06.1" toolchain
for the "arm-v7a-linux-gnueabihf" target architecture and Arch Linux's
current native toolchain for the amd64 host.
I ran into a couple of known problems in ptxdist-2017.07.0 (due to the
host-ncurses and host-intltool packages needing fixes) but after fixing
those the build went smoothly.
If I run objdump -T on the built libgio-2.0.so.0.5200.1 file, it
contains both the '__dn_expand' and '__res_query' symbols in its .text
section as expected.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbo...@mev.co.uk> )=-
-=( Web: http://www.mev.co.uk/ )=-
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de