error while compling libbsd (cannot find rtems/timecounter.h)
Chan Kim
ckim at etri.re.kr
Tue Jun 9 04:43:30 UTC 2015
In my email, the last part of the error message was cut short. I attach it here.
...
In file included from rtemsbsd/include/rtems/bsd/sys/param.h:100:0,
from freebsd/sys/contrib/altq/altq/altq_subr.c:40:
rtemsbsd/include/rtems/bsd/sys/time.h:35:31: fatal error: rtems/timecounter.h: No such file or directory
#include <rtems/timecounter.h>
^
compilation terminated.
make: *** [freebsd/sys/contrib/altq/altq/altq_subr.o] Error 1
보낸 사람 : "Chan Kim" <ckim at etri.re.kr>
보낸 날짜 : 2015-06-09 13:37:47 ( +09:00 )
받는 사람 : users at rtems.org <users at rtems.org>
참조 :
제목 : error while compling libbsd (cannot find rtems/timecounter.h)
Hello,
I already have rtems4.11 built for our BSP. and trying to install libbsd, I followed libbsd.txt file config.inc.
I believe my toolchain uses Binutils 2.24, Newlib 2.1.0. and linkcmds file has the rtemsroset and rtemsrwset specified.
My config.inc is as below.
# Mandatory: Select your BSP and installation prefix
TARGET = sparc-rtems4.11
BSP = aldebaran2
#PREFIX = /opt/rtems-4.11-toolchain
PREFIX = /home/ckim/RTEMS/rtems_abc/build-rtems/rtems-package
# Optional: Separate installation base directory
INSTALL_BASE = $(PREFIX)/$(TARGET)/$(BSP)
# Optional: Network test configuration
TEST_RUNNER = $(BSP)
NET_CFG_SELF_IP = 10.0.2.1
NET_CFG_NETMASK = 255.255.0.0
NET_CFG_PEER_IP = 192.168.100.11
NET_CFG_GATEWAY_IP = 192.168.100.11
NET_TAP_INTERFACE = tap0
ckim at stph45:~/RTEMS/rtems-libbsd] make clean
.... ok
ckim at stph45:~/RTEMS/rtems-libbsd] make install
./rtemsbsd/rtems/generate_kvm_symbols > rtemsbsd/rtems/rtems-kvm-symbols.c
sparc-rtems4.11-gcc --pipe -B/home/ckim/RTEMS/rtems_abc/build-rtems/rtems-package/sparc-rtems4.11/aldebaran2/lib/ -specs bsp_specs -qrtems -Wall -O4 -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/sparc/include -Ifreebsd/sys -Ifreebsd/sys/sparc/include -Ifreebsd/sys/contrib/altq -Ifreebsd/sys/contrib/pf -Ifreebsd/include -Ifreebsd/lib/libc/include -Ifreebsd/lib/libc/isc/include -Ifreebsd/lib/libc/resolv -Ifreebsd/lib/libutil -Ifreebsd/lib/libkvm -Ifreebsd/lib/libmemstat -Ifreebsd/lib/libipsec -Irtemsbsd/sys -ImDNSResponder/mDNSCore -ImDNSResponder/mDNSShared -ImDNSResponder/mDNSPosix -Itestsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT freebsd/sys/contrib/altq/altq/altq_rmclass.o -MD -MP -MF freebsd/sys/contrib/altq/altq/altq_rmclass.d -std=gnu11 -mtune=v8 -msoft-float -fcommon -DTARGET_ALDEBARAN -c -o freebsd/sys/contrib/altq/altq/altq_rmclass.o freebsd/sys/contrib/altq/altq/altq_rmclass.c
sparc-rtems4.11-gcc --pipe -B/home/ckim/RTEMS/rtems_abc/build-rtems/rtems-package/sparc-rtems4.11/aldebaran2/lib/ -specs bsp_specs -qrtems -Wall -O4 -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/sparc/include -Ifreebsd/sys -Ifreebsd/sys/sparc/include -Ifreebsd/sys/contrib/altq -Ifreebsd/sys/contrib/pf -Ifreebsd/include -Ifreebsd/lib/libc/include -Ifreebsd/lib/libc/isc/include -Ifreebsd/lib/libc/resolv -Ifreebsd/lib/libutil -Ifreebsd/lib/libkvm -Ifreebsd/lib/libmemstat -Ifreebsd/lib/libipsec -Irtemsbsd/sys -ImDNSResponder/mDNSCore -ImDNSResponder/mDNSShared -ImDNSResponder/mDNSPosix -Itestsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT freebsd/sys/contrib/altq/altq/altq_rio.o -MD -MP -MF freebsd/sys/contrib/altq/altq/altq_rio.d -std=gnu11 -mtune=v8 -msoft-float -fcommon -DTARGET_ALDEBARAN -c -o freebsd/sys/contrib/altq/altq/altq_rio.o freebsd/sys/contrib/altq/altq/altq_rio.c
sparc-rtems4.11-gcc --pipe -B/home/ckim/RTEMS/rtems_abc/build-rtems/rtems-package/sparc-rtems4.11/aldebaran2/lib/ -specs bsp_specs -qrtems -Wall -O4 -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/sparc/include -Ifreebsd/sys -Ifreebsd/sys/sparc/include -Ifreebsd/sys/contrib/altq -Ifreebsd/sys/contrib/pf -Ifreebsd/include -Ifreebsd/lib/libc/include -Ifreebsd/lib/libc/isc/include -Ifreebsd/lib/libc/resolv -Ifreebsd/lib/libutil -Ifreebsd/lib/libkvm -Ifreebsd/lib/libmemstat -Ifreebsd/lib/libipsec -Irtemsbsd/sys -ImDNSResponder/mDNSCore -ImDNSResponder/mDNSShared -ImDNSResponder/mDNSPosix -Itestsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT freebsd/sys/contrib/altq/altq/altq_subr.o -MD -MP -MF freebsd/sys/contrib/altq/altq/altq_subr.d -std=gnu11 -mtune=v8 -msoft-float -fcommon -DTARGET_ALDEBARAN -c -o freebsd/sys/contrib/altq/altq/altq_subr.o freebsd/sys/contrib/altq/altq/altq_subr.c
In file included from rtemsbsd/include/rtems/bsd/sys/param.h:100:0,
from freebsd/sys/contrib/altq/altq/altq_subr.c:40:
rtemsbsd/include/rtems/bsd/sys/time.h:35:31: fatal error: rtems/timecounter.h: No such file or directory
#include
As you see, the makefile cannot find rtems/timecounter.h (is it supposed to be rtemsbsd/include/rtems/timecounter.h ?)
What is wrong?
Thanks!
Chan Kim
_______________________________________________
users mailing list
users at rtems.org
http://lists.rtems.org/mailman/listinfo/users
More information about the users
mailing list