[ECOS] linking problem.
jameshq@liverpool.ac.uk
jameshq@liverpool.ac.uk
Tue Nov 19 14:16:00 GMT 2002
Hi all:
I wrote a additional file call hal_aux.c in the /hal/ directory and
set it compiled in the *.cdl file.
hal_aux.c
void testfun(void)
{
cyg_uint32 a = 1000;
}
and when I call testfun() in the kapi.cxx file inside
cyg_thread_create() as:
in kapi.cxx file
extern void testfun(void);
cyg_thread_create(xxx)
{
xxx
testfun();
xxx
}
I can build the ecos library without problem, but when I try to
compile the user programe and link with the ecos library it generates
a error says the testfun is not defined. so how can I solve it problem
thanks a lot.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list