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]

Re: ecos port to X86


Jonathan,
Thanks for the tip. It takes me one step closer. After
making this change, I get the following:

Owner@NUVO-DESKTOP /ecos-c/workdir/application
$ make
i386-elf-gcc -nostartfiles
-LC:/workdir/ecosAll_install/lib -Wl --gc-sections -W
l,--Map -Wl,ping_test.map -o ping_test ping_test.o
-Ttarget.ld -nostdlib
/opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
lf/bin/ld: address 0x14e43f of ping_test section .text
is not within region rom
/opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
lf/bin/ld: address 0x14e440 of ping_test section .fini
is not within region rom
/opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
lf/bin/ld: address 0x14e440 of ping_test section
.rodata1 is not within region rom
/opt/ecos/gnutools/i386-elf/bin/../lib/gcc-lib/i386-elf/3.2.1/../../../../i386-e
lf/bin/ld: address 0x1577bc of ping_test section
.rodata is not within region rom
collect2: ld returned 1 exit status
make: *** [ping_test] Error 1


I don't get this error when building applications such
as serial. This is seen only with network files.My
makefile is the same in both cases except for the
application name and the addition of -D__ECOS flag in
the network application makefile.
Any suggestions?
Thanks,
Baljeet

--- Jonathan Larmour <jifl@eCosCentric.com> wrote:
> baljeet singh wrote:
> > I am trying to build ecos with networking stack
> using
> > ecos 2.0.
> [snip]
> > 
> > By looking at these files, I can see that some of
> > these files are required if __ECOS flag is not
> > defined. 
> > Question, Have I missed something/component in the
> > generation of the library. My assumption is that
> the
> > __ECOS flag should be defined somewhere. 
> 
> Correct. I thought this was documented, but it only
> appears to be 
> documented in 
>
http://ecos.sourceware.org/docs-latest/ref/tcpip-openbsd-tcpip-apis.html
> 
> and not the FreeBSD docs. I'll fix that.
> 
> Jifl
> -- 
> eCosCentric    http://www.eCosCentric.com/    The
> eCos and RedBoot experts
> Visit us at Embedded World 2004, Nürnberg, Germany,
> 17-19 Feb, Stand 12-449
> --["No sense being pessimistic, it wouldn't work
> anyway"]-- Opinions==mine
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 



__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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