RTEMS web server linking error !
Rosimildo da Silva
rdasilva at connecttel.com
Wed May 24 11:57:19 UTC 2000
Nick.SIMON at syntegra.bt.co.uk wrote:
> Aha! My tarfile.o had _binary_o-optimize-tarfile_start etc. in it. Now
> fixed. Here's a diff on netdemos-4.5.0-beta2/http/Makefile:
> < $(LD) -r -o $(ARCH)/temp.o $(ARCH)/init.o -b binary $(ARCH)/tarfile
> > cp $(ARCH)/tarfile .
> > $(OBJCOPY) -I binary -O elf32-powerpc tarfile $(ARCH)/tarfile.o
> > $(LD) -r -o $(ARCH)/temp.o $(ARCH)/init.o $(ARCH)/tarfile.o
> I'm not wild about this (esp having elf32-powerpc embedded in it), but it
> seems to work.
> Thanks for your help,
> -- Nick Simon
I did not like this either. For the pc386 I have written a small utility
generates a "C" file as a global array. This approach might have serious
consequences on systems with low memory footprint, because you may endup
copy of the array in ROM and another in RAM.
For the PC386, this is not one issue and memory is not either. :-).
It automatically creates the routine to call and initialize the FS in
Rosimildo da Silva rdasilva at connectel.com
ConnectTel, Inc. Austin, TX -- USA
Phone : 512-338-1111 Fax : 512-918-0449
Company Page: http://www.connecttel.com
Home Page: http://members.xoom.com/rosimildo/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3275 bytes
Desc: not available
More information about the users