Compilation error of rtems for sparc-leon2 with multilib enabled

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


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


More information about the users mailing list