./a.out: symbol errno, version GLIBC_2.0 not defined

Pramod P K pra.engr@gmail.com
Fri Oct 28 05:15:00 GMT 2005


thanx
situation is, ive a target arm-9tdmi-linux-gnu for *old*er versions of
GCC, GLIBC..

Now ive created another, *new* for
gcc-3.4.3
glibc-2.3.3

When I use new one, to compile & get a.out for a program from the two,
new ones a.out gives error:
./a.out: symbol errno, version GLIBC_2.0
not defined in file libc.so.6 with link time reference

When I do:  vi ./a.out
there are two differnces. The *old*  a.out
has(............./lib/ld-linux.so.3..........
GLIBC_2.4...............)
& *new* a.out has ( ...........
/lib/ld-linux.so.2........................GLIBC_2.0........)

What cud be the problem?
Thanx,
Pramod

On 10/27/05, Kai Ruottu <karuottu@mbnet.fi> wrote:
> Kai Ruottu wrote:
>
> > Pramod P K wrote:
> >
> >> when I compile using my new arm-9tdmi-linux-gnu-gcc, why
> >> ../a.out: relocation error: ./a.out: symbol errno, version GLIBC_2.0
> >> not defined in file libc.so.6 with link time reference
> >> error comes?
> >
> >  Did you really produce your crosscompiler for your target?
>
>  Hmmm, in October 21 you wrote your target system being "unexisting",
> so it cannot yet have any runtime libraries like 'libc.so.6' and they
> giving errors about binary uncompatability... What your situation really
> is, do you have an existing 'arm-9tdmi-linux-gnu' target system or not?
>


--
----------------------------------------------------------------
  PRAMOD P. K., <pra.engr@gmail.com>

  CDMA: 91- 9242195490.
----------------------------------------------------------------



More information about the Gcc-help mailing list