[RTEMS Project] #3266: cpukit/libpci references BSP headers.
RTEMS trac
trac at rtems.org
Sun Dec 24 04:03:35 UTC 2017
#3266: cpukit/libpci references BSP headers.
-------------------------+--------------------
Reporter: Chris Johns | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 5.1
Component: lib | Version: 5
Severity: normal | Keywords:
-------------------------+--------------------
On the `no-preinstall` branch of https://git.rtems.org/chrisj/rtems.git/
the build fails with:
{{{
sparc-rtems5-gcc --pipe -DHAVE_CONFIG_H -I..
-I/opt/work/chris/rtems/kernel/bsps/beagleboneblack/sparc-
rtems5/c/erc32/include
-I/opt/work/chris/rtems/kernel/rtems.git/cpukit/include
-I/opt/work/chris/rtems/kernel/rtems.git/cpukit/score/cpu/sparc/include
-mcpu=cypress -O2 -g -ffunction-sections -fdata-sections -MT pci_access.o
-MD -MP -MF $depbase.Tpo -c -o pci_access.o
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/libpci/pci_access.c
&&\
mv -f $depbase.Tpo $depbase.Po
In file included from
/opt/work/chris/rtems/kernel/rtems.git/cpukit/include/pci.h:23:0,
from
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/libpci/pci_access.c:10:
/opt/work/chris/rtems/kernel/rtems.git/cpukit/include/pci/access.h:16:10:
fatal error: libcpu/byteorder.h: No such file or directory
#include <libcpu/byteorder.h>
^~~~~~~~~~~~~~~~~~~~
}}}
This header is found under:
{{{
$ find . -name byteorder.h
./bsps/powerpc/include/libcpu/byteorder.h
./bsps/sparc/include/libcpu/byteorder.h
./bsps/i386/include/libcpu/byteorder.h
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3266>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list