<div dir="auto">My advice in these situations is to look for an existing that that uses the framework and see what it looks like in the source files and Makefile.am.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 19, 2020, 3:17 PM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hello everyone,<br></div>I tried to implement the new RTEMS Test framework <br></div>told in this mail<br><a href="https://lists.rtems.org/pipermail/devel/2020-April/059203.html" target="_blank" rel="noreferrer">https://lists.rtems.org/pipermail/devel/2020-April/059203.html</a><br></div>to pthread_getcpuclockid test suite as Dr Joel suggested<br><a href="https://lists.rtems.org/pipermail/devel/2020-April/059466.html" target="_blank" rel="noreferrer">https://lists.rtems.org/pipermail/devel/2020-April/059466.html</a><br></div>But the terminal flashes the error when I replace POSIX_init with <br></div>T_TEST_CASE()<br>psxgetcpuclockid01/psxgetcpuclockid01-init.o:(.sdata2._POSIX_Threads_User_thread_table+0x0): undefined reference to `POSIX_Init'<br></div>and when I remove <br>#define CONFIGURE_POSIX_INIT_THREAD_TABLE<br></div><div>Then it shows the error <br></div><div> #error "You must define one of CONFIGURE_IDLE_TASK_INITIALIZES_APPLICATION, CONFIGURE_RTEMS_INIT_TASKS_TABLE, and CONFIGURE_POSIX_INIT_THREAD_TABLE"<br> </div><div>which option would be selected in the case and what other changes would be required <br><br></div><div>Thanks :)<br></div><div>-Eshan <br></div><br></div>
</blockquote></div>