This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with ld after eCos Build


I’m new to using ecos.  I’m having problems with ld errors building the
test cases.  I downloaded, built, and installed the GNU compilers (C &
C++) with the patch without errors.  I built and installed ecos v1.3.1
off the redhat page without error using the new configtool that uses the
GUI compatible with Linux.  I selected the Linux synethic target
template.  When I build the ecos libraries without the tests, it
compiles ok and builds the ecos libraries without conflicts.  When I
build it with tests I get the following (all the compiles completed
without error, all the ld’s had the same warning):

tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text._linux_entry'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section
`.rel.text.construct_converter(Cyg_Clock::converter *, unsigned long
long, unsigned long long, unsigned long long, unsigned long long)'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.Cyg_Alarm::rel.text.synchronize(void)'
collect2: ld returned 1 exit status
make[1]: ***
[/home/joel/project-docs/ebtideconfig_install/tests/hal/common/v1_3_1/tests/cache]
Error 1
make: *** [tests] Error 2

When I compile the test case “hello world” separately using the ecos
library I get:

/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section
`.Cyg_StdioStream::rel.text.read_byte(unsigned char *)'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.Cyg_StdioStream::rel.text.write(unsigned
char const *, unsigned int, unsigned int *)'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text.cyg_iso_c_start'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text.cyg_libc_stdio_flush_all_but'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text._fflush'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text.cyg_libc_invoke_main'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: warning: no memory
region specified for section `.rel.text.__libc_exit'
/tools/H-i686-pc-linux-gnu/i686-pc-linux-gnu/bin/ld: section .data
[00000000 -> 0000027f] overlaps section .text [00000000 -> 0000a6af]
collect2: ld returned 1 exit status

It looks like I need to set memory areas.  I know the new tool doesn’t
have that capability.  From what I could tell, the correct mlt file was
available.  Is there a separate path I need to set for it?  I looked
through the docs and the last 2 months of questions and couldn’t find
this problem.  Do I need to install the most current version of ecos off
of cvs?  Will I need to use the command line tool to build the ecos
library rather than the GUI tool?  Can I edit source files directly?
Which ones? Will I have to edit those files each time I enter or rebuild
the library since many of them are generated by the configtool?

Thanks for your help
Joel Hansen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]