Compilation error of rtems for sparc-leon2 with multilib enabled

Jan Sommer soja-misc at aries.uberspace.de
Sat Apr 25 15:27:31 UTC 2015


Forgot to mention my system setup.

I  use the following configure for a gcc-4.9.2 cross compiler:

../rtems-git/configure --target=sparc-rtems4.11 --enable-rtemsbsp=leon2 --
enable-tests=samples --enable-networking --enable-posix --enable-multilib --
enable-rdbg --enable-cxx --prefix=


Am Samstag, 25. April 2015, 17:21:22 schrieb Jan Sommer:
> Hello,
> 
> A few weeks ago I could compile rtems for sparc with leon2 bsp with multilib
> enabled. After a git pull today the compilation failed with the error:
> 
> sparc-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I.. -I../../lib/include   -g
> -O2 -Wall -Wimplicit-function-declaration -Wstrict-prototypes
> -Wnested-externs -MT pci_access.o -MD -MP -MF $depbase.Tpo -c -o
> pci_access.o ../../../../rtems- git/cpukit/libpci/pci_access.c &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from ../../lib/include/pci.h:284:0,
>                  from ../../../../rtems-git/cpukit/libpci/pci_access.c:11:
> ../../lib/include/pci/access.h:17:30: fatal error: libcpu/byteorder.h: No
> such file or directory
>  #include <libcpu/byteorder.h>
>                               ^
> compilation terminated.
> Makefile:486: recipe for target 'pci_access.o' failed
> make[3]: *** [pci_access.o] Error 1
> 
> I checked out some past commits of the repository and the problem seems to
> appear somewhere between commit  e51eb80e8887b8e91b9a1dd80fc7a92ce22c218d
> and commit 219d4045e76f3de36fca7d67ef79dbe6cca299b5.
> 
> Best regards,
> 
>    Jan
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users




More information about the users mailing list