Compilation error of rtems for sparc-leon2 with multilib enabled
Joel Sherrill
joel.sherrill at oarcorp.com
Sat Apr 25 15:25:02 UTC 2015
On April 25, 2015 11:21:22 AM EDT, Jan Sommer <soja-misc at aries.uberspace.de> wrote:
>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.
A large patch came in from Gaisler. You probably need to bootstrap from the top of the tree and build from scratch.
With that patch set merged, the RTEMS.org and Gaisler RTEMS trees should be synchronized.
>Best regards,
>
> Jan
>_______________________________________________
>users mailing list
>users at rtems.org
>http://lists.rtems.org/mailman/listinfo/users
--joel
More information about the users
mailing list