Trouble building

Ric Claus claus at slac.stanford.edu
Fri Jul 24 08:21:57 UTC 2015


On Jul 24, 2015, at 10:13 AM, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:

> 
> 
> On 24/07/15 10:08, Ric Claus wrote:
>>>> >>
>>>> >>Building rtems-libbsd, with either a modified Makefile or waf (exactly as per rtems-libbsd/README.waf, i.e., for realview_pbx_a9_qemu), ends with:
>>>> >>
>>>> >>In file included from ../../rtemsbsd/rtems/rtems-bsd-mutex.c:41:0:
>>>> >>.../rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function 'rtems_bsd_mutex_unlock':
>>>> >>.../rtems-libbsd/rtemsbsd/include/machine/rtems-bsd-muteximpl.h:154:34: error: 'Thread_queue_Control' has no member named ‘Queues'
>>> >
>>> >For me the waf configure fails with:
>>> >
>>> >Checking for RTEMS headers
>>> >==>
>>> >#include <rtems.h>
>>> >
>>> >int main() {
>>> >    return 0;
>>> >}
>>> >
>>> ><==
>>> >[1/2] cxx: build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/test.cpp -> build/.conf_check_43c32d88444a1ba1e9b68cfe1006373a/testbuild/test.cpp.1.o
>>> >
>>> >['/opt/rtems-4.11/bin/arm-rtems4.11-g++', '-qrtems', '-B/opt/rtems-4.11/arm-rtems4.11/lib/', '-B/opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/', '--specs', 'bsp_specs', '-march=armv7-a', '-march=armv7-a', '-mthumb', '-mthumb', '-mfpu=neon', '-mfpu=neon', '-mfloat-abi=hard', '-mfloat-abi=hard', '-mtune=cortex-a9', '-mtune=cortex-a9', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
>>> >err: In file included from /opt/rtems-4.11/lib64/gcc/arm-rtems4.11/4.9.4/include/c++/atomic:38:0,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/cpustdatomic.h:32,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/cpuatomic.h:12,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/atomic.h:20,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/thread.h:24,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/score/heap.h:22,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems/rtems/types.h:26,
>>> >                 from /opt/rtems-4.11/arm-rtems4.11/xilinx_zynq_a9_qemu/lib/include/rtems.h:31,
>>> >                 from ../test.cpp:1:
>>> >/opt/rtems-4.11/lib64/gcc/arm-rtems4.11/4.9.4/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
>>> >#error This file requires compiler and library support for the \
>> My tools were built using RSB last Friday.
>> 
>> $ rtems/4.11/bin/arm-rtems4.11-gcc --version
>> arm-rtems4.11-gcc (GCC) 4.9.3 20150626 (RTEMS 4.11, RSB fba2549d5c06a4a3f6f36ec1672a98371f55a916, Newlib 2.2.0.20150423)
> 
> The problem is that the RTEMS header file check is done without -std=gnu++11. So this is a waf problem.

Here’s the output from doing make -j 8:

arm-rtems4.11-gcc --pipe -B/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g  -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/arm/include -Ifreebsd/sys -Ifreebsd/sys/arm/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 -Ifreebsd/contrib/libpcap -Irtemsbsd/sys -Ifreebsd/usr.sbin/tcpdump/tcpdump -Ifreebsd/contrib/tcpdump -Ibuild/arm-rtems4.11-xilinx_zynq_zedboard/testsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT rtemsbsd/rtems/rtems-bsd-mutex.o -MD -MP -MF rtemsbsd/rtems/rtems-bsd-mutex.d -std=gnu11   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9       -c -o rtemsbsd/rtems/rtems-bsd-mutex.o rtemsbsd/rtems/rtems-bsd-mutex.c
rtemsbsd/rtems/rtems-bsd-malloc.c: In function '_bsd_malloc_init':
rtemsbsd/rtems/rtems-bsd-malloc.c:61:22: warning: unused variable 'mtp' [-Wunused-variable]
  struct malloc_type *mtp = data;
                      ^
arm-rtems4.11-gcc --pipe -B/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g  -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/arm/include -Ifreebsd/sys -Ifreebsd/sys/arm/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 -Ifreebsd/contrib/libpcap -Irtemsbsd/sys -Ifreebsd/usr.sbin/tcpdump/tcpdump -Ifreebsd/contrib/tcpdump -Ibuild/arm-rtems4.11-xilinx_zynq_zedboard/testsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT rtemsbsd/rtems/rtems-bsd-muteximpl.o -MD -MP -MF rtemsbsd/rtems/rtems-bsd-muteximpl.d -std=gnu11   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9       -c -o rtemsbsd/rtems/rtems-bsd-muteximpl.o rtemsbsd/rtems/rtems-bsd-muteximpl.c
arm-rtems4.11-gcc --pipe -B/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g  -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/arm/include -Ifreebsd/sys -Ifreebsd/sys/arm/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 -Ifreebsd/contrib/libpcap -Irtemsbsd/sys -Ifreebsd/usr.sbin/tcpdump/tcpdump -Ifreebsd/contrib/tcpdump -Ibuild/arm-rtems4.11-xilinx_zynq_zedboard/testsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT rtemsbsd/rtems/rtems-bsd-newproc.o -MD -MP -MF rtemsbsd/rtems/rtems-bsd-newproc.d -std=gnu11   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9       -c -o rtemsbsd/rtems/rtems-bsd-newproc.o rtemsbsd/rtems/rtems-bsd-newproc.c
arm-rtems4.11-gcc --pipe -B/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g  -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/arm/include -Ifreebsd/sys -Ifreebsd/sys/arm/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 -Ifreebsd/contrib/libpcap -Irtemsbsd/sys -Ifreebsd/usr.sbin/tcpdump/tcpdump -Ifreebsd/contrib/tcpdump -Ibuild/arm-rtems4.11-xilinx_zynq_zedboard/testsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT rtemsbsd/rtems/rtems-bsd-nexus.o -MD -MP -MF rtemsbsd/rtems/rtems-bsd-nexus.d -std=gnu11   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9       -c -o rtemsbsd/rtems/rtems-bsd-nexus.o rtemsbsd/rtems/rtems-bsd-nexus.c
arm-rtems4.11-gcc --pipe -B/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/ -specs bsp_specs -qrtems   -Wall  -O2 -g  -fno-strict-aliasing -ffreestanding -fno-common -Irtemsbsd/include -Irtemsbsd/arm/include -Ifreebsd/sys -Ifreebsd/sys/arm/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 -Ifreebsd/contrib/libpcap -Irtemsbsd/sys -Ifreebsd/usr.sbin/tcpdump/tcpdump -Ifreebsd/contrib/tcpdump -Ibuild/arm-rtems4.11-xilinx_zynq_zedboard/testsuite/include -DHAVE_RTEMS_PCI_H=1 -Wall -Wno-format -MT rtemsbsd/rtems/rtems-bsd-page.o -MD -MP -MF rtemsbsd/rtems/rtems-bsd-page.d -std=gnu11   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9       -c -o rtemsbsd/rtems/rtems-bsd-page.o rtemsbsd/rtems/rtems-bsd-page.c
In file included from rtemsbsd/rtems/rtems-bsd-mutex.c:41:0:
rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function 'rtems_bsd_mutex_unlock':
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:154:34: error: 'Thread_queue_Control' has no member named 'Queues'
   first = _RBTree_First(&m->queue.Queues.Priority, RBT_LEFT);
                                  ^
In file included from /u1/home/claus/development/rtems/4.11/arm-rtems4.11/include/string.h:12:0,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/basedefs.h:49,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/cpustdatomic.h:19,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/cpuatomic.h:12,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/atomic.h:20,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/thread.h:24,
                 from rtemsbsd/include/machine/rtems-bsd-mutex.h:43,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:44,
                 from rtemsbsd/rtems/rtems-bsd-mutex.c:41:
rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function 'rtems_bsd_mutex_destroy':
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:191:39: error: 'Thread_queue_Control' has no member named 'Queues'
  BSD_ASSERT(_RBTree_Is_empty(&m->queue.Queues.Priority));
                                       ^
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:191:2: note: in expansion of macro 'BSD_ASSERT'
  BSD_ASSERT(_RBTree_Is_empty(&m->queue.Queues.Priority));
  ^
In file included from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:0:
rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function 'rtems_bsd_mutex_unlock':
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:154:34: error: 'Thread_queue_Control' has no member named 'Queues'
   first = _RBTree_First(&m->queue.Queues.Priority, RBT_LEFT);
                                  ^
In file included from /u1/home/claus/development/rtems/4.11/arm-rtems4.11/include/string.h:12:0,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/basedefs.h:49,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/cpustdatomic.h:19,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/cpuatomic.h:12,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/atomic.h:20,
                 from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/thread.h:24,
                 from rtemsbsd/include/machine/rtems-bsd-mutex.h:43,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:44,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
rtemsbsd/include/machine/rtems-bsd-muteximpl.h: In function 'rtems_bsd_mutex_destroy':
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:191:39: error: 'Thread_queue_Control' has no member named 'Queues'
  BSD_ASSERT(_RBTree_Is_empty(&m->queue.Queues.Priority));
                                       ^
rtemsbsd/include/machine/rtems-bsd-muteximpl.h:191:2: note: in expansion of macro 'BSD_ASSERT'
  BSD_ASSERT(_RBTree_Is_empty(&m->queue.Queues.Priority));
  ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c: In function 'rtems_bsd_mutex_lock_more':
rtemsbsd/rtems/rtems-bsd-muteximpl.c:61:34: warning: passing argument 1 of '_Thread_queue_Enqueue_critical' from incompatible pointer type
   _Thread_queue_Enqueue_critical(&m->queue, executing,
                                  ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:171:6: note: expected 'struct Thread_queue_Queue *' but argument is of type 'struct Thread_queue_Control *'
 void _Thread_queue_Enqueue_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:61:45: warning: passing argument 2 of '_Thread_queue_Enqueue_critical' from incompatible pointer type
   _Thread_queue_Enqueue_critical(&m->queue, executing,
                                             ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:171:6: note: expected 'const struct Thread_queue_Operations *' but argument is of type 'struct Thread_Control *'
 void _Thread_queue_Enqueue_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:62:7: warning: passing argument 3 of '_Thread_queue_Enqueue_critical' makes pointer from integer without a cast
       STATES_WAITING_FOR_MUTEX, WATCHDOG_NO_TIMEOUT, 0,
       ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:171:6: note: expected 'struct Thread_Control *' but argument is of type 'int'
 void _Thread_queue_Enqueue_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:63:7: warning: passing argument 6 of '_Thread_queue_Enqueue_critical' makes integer from pointer without a cast
       lock_context);
       ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:171:6: note: expected '__uint32_t' but argument is of type 'struct ISR_lock_Context *'
 void _Thread_queue_Enqueue_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:61:3: error: too few arguments to function '_Thread_queue_Enqueue_critical'
   _Thread_queue_Enqueue_critical(&m->queue, executing,
   ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:171:6: note: declared here
 void _Thread_queue_Enqueue_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c: In function 'rtems_bsd_mutex_unlock_more':
rtemsbsd/rtems/rtems-bsd-muteximpl.c:76:34: warning: passing argument 1 of '_Thread_queue_Extract_critical' from incompatible pointer type
   _Thread_queue_Extract_critical(&m->queue, new_owner,
                                  ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:298:6: note: expected 'struct Thread_queue_Queue *' but argument is of type 'struct Thread_queue_Control *'
 void _Thread_queue_Extract_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:76:45: warning: passing argument 2 of '_Thread_queue_Extract_critical' from incompatible pointer type
   _Thread_queue_Extract_critical(&m->queue, new_owner,
                                             ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:298:6: note: expected 'const struct Thread_queue_Operations *' but argument is of type 'struct Thread_Control *'
 void _Thread_queue_Extract_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:77:7: warning: passing argument 3 of '_Thread_queue_Extract_critical' from incompatible pointer type
       lock_context);
       ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:298:6: note: expected 'struct Thread_Control *' but argument is of type 'struct ISR_lock_Context *'
 void _Thread_queue_Extract_critical(
      ^
rtemsbsd/rtems/rtems-bsd-muteximpl.c:76:3: error: too few arguments to function '_Thread_queue_Extract_critical'
   _Thread_queue_Extract_critical(&m->queue, new_owner,
   ^
In file included from /home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadimpl.h:33:0,
                 from rtemsbsd/include/machine/rtems-bsd-muteximpl.h:50,
                 from rtemsbsd/rtems/rtems-bsd-muteximpl.c:41:
/home/claus/development/rtems/4.11/arm-rtems4.11/xilinx_zynq_zedboard/lib/include/rtems/score/threadqimpl.h:298:6: note: declared here
 void _Thread_queue_Extract_critical(
      ^
make: *** [rtemsbsd/rtems/rtems-bsd-muteximpl.o] Error 1
make: *** Waiting for unfinished jobs....
rtemsbsd/rtems/rtems-bsd-newproc.c: In function 'taskEntry':
rtemsbsd/rtems/rtems-bsd-newproc.c:63:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
   free ((struct newtask *)arg);
   ^
rtemsbsd/rtems/rtems-bsd-newproc.c:73:3: warning: implicit declaration of function 'rtems_panic' [-Wimplicit-function-declaration]
   rtems_panic ("Network task returned!\n");
   ^
rtemsbsd/rtems/rtems-bsd-newproc.c: In function 'rtems_bsdnet_newproc':
rtemsbsd/rtems/rtems-bsd-newproc.c:101:3: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
   t = malloc (sizeof *t);
   ^
rtemsbsd/rtems/rtems-bsd-newproc.c:101:5: warning: assignment makes pointer from integer without a cast
   t = malloc (sizeof *t);
     ^
make: *** [rtemsbsd/rtems/rtems-bsd-mutex.o] Error 1

> 
> -- 
> Sebastian Huber, embedded brains GmbH
> 
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> 



More information about the devel mailing list