Re: unresolved relocation??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Iain Worlock <iworlock@xxxxxxxxxxxxxx> writes:

> The flag '-std=c99' was not recognised, but as gcc 2.91.66 is pre 1999
> I didn't find that surprising & removed this.  The real problem I have
> is that a few files in to the compile, I get an 'Error: unresolved
> relocation' in a temporary asm file (/tmp/XYZ.s).  If I remove the
> -fPIC flag (position independent code), compilation goes a little
> further but fails on link.  As I am trying to build a library, I'm
> assuming that I actually do want to specify -fPIC, but have no idea
> what the unresolved relocation is referring to, or how to resolve it.

Show us a small test case, with the generated assembly code.  I don't
know what that error message means.

It is quite likely that it is simply a bug in the ancient toolchain
you are using.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux