Correct makefile configuration for test framework?

Eshan Dhawan eshandhawan51 at gmail.com
Sat Apr 11 06:21:52 UTC 2020


> On 11-Apr-2020, at 11:37 AM, Utkarsh Rai <utkarsh.rai60 at gmail.com> wrote:
> 
> 
> I encountered linkage error while building test using the test framework, in particular 
> undefined reference to `_Stack_Space_size'
> undefined reference to `_Thread_Initial_thread_count'
> 
> While building test file through the test framework my makefile configuration is ( I took the libtests/ttest01 configuration as a refernce) -
> 
> if TEST_psxclocknanosleep01
> psx_tests += psxclocknanosleep01
> psxclocknanosleep01_SOURCES = psxclocknanosleep01/init.c psxclocknanosleep01_CPPFLAGS = $(AM_CPPFLAGS) \
> $(TEST_FLAGS_psxclocknanosleep01) $(support_includes) \
> 
> endif
> 
> Can someone kindly point out, what is it that I am doing wrong?
The error is not due to make file 
You haven’t been included the required headers 
I think it is due to 
Missing 
#define CONFIGURE_INIT 
#include <rtems/confdefs.h>

-Eshan 
> 
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list