build failing

abhinav mehndiratta abhinavmehndiratta at gmail.com
Wed Sep 5 11:55:50 UTC 2018


*Command:*

../rtems/configure --target=sparc-rtems5 --enable-rtemsbsp=erc32
--enable-tests=samples --prefix=${HOME}/development/rtems/5

*Error:*

In file included from
../../../../../../rtems/c/src/../../testsuites/samples/../support/include/tmacros.h:32:0,
                 from
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:15:
../../../../../../rtems/c/src/../../testsuites/samples/../support/include/buffer_test_io.h:15:22:
warning: data definition has no type or storage class
 #define TEST_END()   rtems_test_end(rtems_test_name)
                      ^
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:32:3:
note: in expansion of macro 'TEST_END'
   TEST_END();
   ^~~~~~~~
../../../../../../rtems/c/src/../../testsuites/samples/../support/include/buffer_test_io.h:15:22:
warning: type defaults to 'int' in declaration of 'rtems_test_end'
[-Wimplicit-int]
 #define TEST_END()   rtems_test_end(rtems_test_name)
                      ^
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:32:3:
note: in expansion of macro 'TEST_END'
   TEST_END();
   ^~~~~~~~
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:32:3:
warning: parameter names (without types) in function declaration
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:33:20:
error: expected declaration specifiers or '...' before numeric constant
   rtems_test_exit( 0 );
                    ^
../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c:34:1:
error: expected identifier or '(' before '}' token
 }
 ^
Makefile:1064: recipe for target 'hello/hello-init.o' failed
make[5]: *** [hello/hello-init.o] Error 1
make[5]: Leaving directory
'/home/abhinav/development/rtems/kernel/b-erc32/sparc-rtems5/c/erc32/testsuites/samples'
Makefile:665: recipe for target 'samples' failed
make[4]: *** [samples] Error 2
make[4]: Leaving directory
'/home/abhinav/development/rtems/kernel/b-erc32/sparc-rtems5/c/erc32/testsuites'
Makefile:1140: recipe for target 'testsuites' failed
make[3]: *** [testsuites] Error 2
make[3]: Leaving directory
'/home/abhinav/development/rtems/kernel/b-erc32/sparc-rtems5/c/erc32'
Makefile:638: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/home/abhinav/development/rtems/kernel/b-erc32/sparc-rtems5/c/erc32'
Makefile:289: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/abhinav/development/rtems/kernel/b-erc32/sparc-rtems5/c'
Makefile:410: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20180905/509c2396/attachment-0001.html>


More information about the users mailing list