Trouble with rtems-libbsd

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Sep 17 04:59:43 UTC 2018


On 14/09/2018 16:08, Jeff Mayes wrote:
>
> [1329/2017] Compiling freebsd/sys/arm/at91/at91_mci.c
>
> In file included from 
> /home/tester/rtems/rtems-libbsd/freebsd/sys/sys/systm.h:42:0,
>
> from ../../freebsd/sys/arm/at91/at91_mci.c:36:
>
> /home/tester/rtems/rtems-libbsd/freebsd/sys/powerpc/include/machine/cpufunc.h:166:1: 
> error: redefinition of 'eieio'
>
> eieio(void)
>
> ^~~~~
>
> In file included from 
> /home/tester/rtems/kernel/ppc/powerpc-rtems5/mcp750/lib/include/bsp.h:14:0,
>
> from 
> /home/tester/rtems/kernel/ppc/powerpc-rtems5/mcp750/lib/include/bsp/fdt.h:18,
>
> from 
> /home/tester/rtems/rtems-libbsd/rtemsbsd/include/rtems/bsd/local/opt_platform.h:1,
>
> from ../../freebsd/sys/arm/at91/at91_mci.c:30:
>
> /home/tester/rtems/kernel/ppc/powerpc-rtems5/mcp750/lib/include/libcpu/io.h:53:20: 
> note: previous definition of 'eieio' was here
>
> static inline void eieio(void)
>
> ^~~~~
>

The problem is just as the compiler says. You have two conflicting 
definitions of the eieio() function, one in the BSP and one in libbsd.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list