Re: [uCsimm] lib scrt0.o

From: Erwin Authried (eauth@softsys.co.at)
Date: Wed Nov 08 2000 - 11:49:51 EST


David[SMTP:davidbeamonte@yahoo.es] wrote:
> Hi!
>
> I'm trying to compile an SNMP agent (cmu-snmp) and I am given an error asking
> me for the library "scrt0.o" in the directory [my_root]/m68k-pic-coff/lib/.
>
> I decided to duplicate the crt0.o library with that name but that doesn't seem
> to be the solution, because when I recomplie I get the error:
>
> region a5world is full (libsnmp.so.3.7 section .bss)
> ..
> scrt0.o:(.text+0xc):crt0.S: relocation truncated to fit: 16 end
> scrt0.o:(.text+0x24):crt0.S: undefined reference to 'main'
> .. more "relocation truncated..."
> and after that, lots of "undefinded reference to ...."
>
> I hope anyone can give me a hint over which is the problem.
>
> Thanks.
>
Hi David,

scrt0 is for shared libraries. They are not available with the uCsimm. Maybe you
called gcc with wrong options? The message "region a5world is full" says
that you have more than 32KB data+bss.

Regards,

Erwin



This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:39 EST