This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: symbol not present in a.out
- From: sandeep <sandeep at codito dot com>
- To: mohanlal jangir <mohanlaljangir at hotmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 26 Jul 2004 14:48:14 +0530
- Subject: Re: [ECOS] symbol not present in a.out
- References: <BAY16-DAV6kqeS7C4fW0006f05d@hotmail.com>
/* And here's an instance of the class just to make the code run*/
static my_init_class my_init CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_LIBC);
is this definition part of init.cc ??
try moving it to the file that contains cyg_start, or some other function, that
you know for sure gets linked in your final executable.
When I link libtarget.a to my hello world application and get an a.out, I
don't see this symbol in a.out. i386-elf-nm a.out | grep my_init does not
return anything. Any clues?
--
regards
sandeep
--------------------------------------------------------------------------
Speak softly and carry a +6 two-handed sword.
--------------------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss