Home > Archive > Unix Programming > June 2005 > DT_TEXTREL ??
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Lukasz Wojtow 2005-06-03, 4:00 pm |
| Hi,
I get this warning when compilling a module:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
What is it and how can I get rid of it (except for linker option)?
Thanks,
Lukasz
| |
| Måns Rullgård 2005-06-03, 4:00 pm |
| Lukasz Wojtow <lw@ftw.zamosc.pl> writes:
> Hi,
> I get this warning when compilling a module:
>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld:
> warning: creating a DT_TEXTREL in object.
>
> What is it and how can I get rid of it (except for linker option)?
Are you sure you need to get rid of it? Try compiling your code with
the -fPIC compiler flag.
--
Måns Rullgård
mru@inprovide.com
| |
| Lukasz Wojtow 2005-06-03, 4:00 pm |
| Måns Rullgård wrote:
>
>
> Are you sure you need to get rid of it? Try compiling your code with
> the -fPIC compiler flag.
So simple and I forgot about it, thanks.
Lukasz
|
|
|
|
|