[RTEMS Project] #4051: libbsd test fails to build

RTEMS trac trac at rtems.org
Thu Aug 13 08:44:07 UTC 2020


#4051: libbsd test fails to build
-----------------------------+--------------------
  Reporter:  Chris Johns     |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  highest         |  Milestone:  5.1
 Component:  network/libbsd  |    Version:  5
  Severity:  blocker         |   Keywords:
Blocked By:                  |   Blocking:
-----------------------------+--------------------
 {{{
 In file included from ../../testsuite/cdev01/test_main.c:153:0:
 ../../testsuite/include/rtems/bsd/test/default-init.h: In function 'Init':
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: error:
 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_WRITE'?
    rtems_test_begin(TEST_NAME, TEST_STATE);
                                ^~~~~~~~~~
                                TEST_WRITE
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: note: each
 undeclared identifier is reported only once for each function it appears
 in

 In file included from ../../testsuite/arphole/test_main.c:118:0:
 ../../testsuite/include/rtems/bsd/test/default-network-init.h: In function
 'Init':
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 error: 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 note: each undeclared identifier is reported only once for each function
 it appears in

 In file included from ../../testsuite/commands01/test_main.c:340:0:
 ../../testsuite/include/rtems/bsd/test/default-init.h: In function 'Init':
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: error:
 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
    rtems_test_begin(TEST_NAME, TEST_STATE);
                                ^~~~~~~~~~
                                TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: note: each
 undeclared identifier is reported only once for each function it appears
 in

 In file included from ../../testsuite/condvar01/test_main.c:404:0:
 ../../testsuite/include/rtems/bsd/test/default-init.h: In function 'Init':
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: error:
 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
    rtems_test_begin(TEST_NAME, TEST_STATE);
                                ^~~~~~~~~~
                                TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: note: each
 undeclared identifier is reported only once for each function it appears
 in

 In file included from ../../testsuite/dhcpcd01/test_main.c:78:0:
 ../../testsuite/include/rtems/bsd/test/default-network-init.h: In function
 'Init':
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 error: 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 note: each undeclared identifier is reported only once for each function
 it appears in

 In file included from ../../testsuite/crypto01/test_main.c:204:0:
 ../../testsuite/include/rtems/bsd/test/default-init.h: In function 'Init':
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: error:
 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
    rtems_test_begin(TEST_NAME, TEST_STATE);
                                ^~~~~~~~~~
                                TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-init.h:48:31: note: each
 undeclared identifier is reported only once for each function it appears
 in

 In file included from ../../testsuite/dhcpcd02/test_main.c:55:0:
 ../../testsuite/include/rtems/bsd/test/default-network-init.h: In function
 'Init':
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 error: 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 note: each undeclared identifier is reported only once for each function
 it appears in

 ../../testsuite/evdev01/init.c: In function 'Init':
 ../../testsuite/evdev01/init.c:574:30: error: 'TEST_STATE' undeclared
 (first use in this function); did you mean 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/evdev01/init.c:574:30: note: each undeclared identifier is
 reported only once for each function it appears in

 In file included from ../../testsuite/foobarclient/test_main.c:283:0:
 ../../testsuite/include/rtems/bsd/test/default-network-init.h: In function
 'Init':
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 error: 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 note: each undeclared identifier is reported only once for each function
 it appears in

 In file included from ../../testsuite/foobarserver/test_main.c:227:0:
 ../../testsuite/include/rtems/bsd/test/default-network-init.h: In function
 'Init':
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 error: 'TEST_STATE' undeclared (first use in this function); did you mean
 'TEST_NAME'?
   rtems_test_begin(TEST_NAME, TEST_STATE);
                               ^~~~~~~~~~
                               TEST_NAME
 ../../testsuite/include/rtems/bsd/test/default-network-init.h:195:30:
 note: each undeclared identifier is reported only once for each function
 it appears in

 ../../testsuite/epoch01/test_main.c:82:2: error: unknown type name
 'rtems_test_parallel_context'
   rtems_test_parallel_context base;
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
 ../../testsuite/epoch01/test_main.c:100:11: error: unknown type name
 'rtems_test_parallel_context'; did you mean 'rtems_assert_context'?
  test_init(rtems_test_parallel_context *base, void *arg, size_t
 active_workers)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
            rtems_assert_context
 ../../testsuite/epoch01/test_main.c:110:11: error: unknown type name
 'rtems_test_parallel_context'; did you mean 'rtems_assert_context'?
  test_fini(rtems_test_parallel_context *base, const char *name,
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4051>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list