Hello all,

Trying to rebuild the OSELAS Mini2440 BSP. Again this had been built
previously on Ubuntu 10 and 12, now trying to rebuild on a new
machine.

ptxdist-2013.09.0
BSP release 2013.10.0
Host: Ubuntu 16.04.2

When building the host-pkg-config package I get a ton of errors about
multiple definitions in the internal copy of glib. Here's a short
fragment:

[...]
./.libs/libglib.a(gtree.o): In function `g_bit_storage':
/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616:
multiple definition of `g_bit_storage'
testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616:
first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_lsf':
/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1579:
multiple definition of `g_bit_nth_lsf'
testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1579:
first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf':
/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1597:
multiple definition of `g_bit_nth_msf'
testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1597:
first defined here
./.libs/libglib.a(gutils.o): In function `g_bit_storage':
/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616:
multiple definition of `g_bit_storage'
testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616:
first defined here
collect2: error: ld returned 1 exit status

Any hints on where to start ?

-- 
Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to