Search squid archive

Re: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC

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

 



On Thu, Oct 3, 2013 at 7:15 PM, Amos Jeffries <squid3@xxxxxxxxxxxxx> wrote:
>>> Does it build past this error if you run this command before ./configure
>>> ?
>>>    sed --in-place s/_LIBRARIES/_LTLIBRARIES/ compat/Makefile.in
>>
>> Unfortunately not. Same error in both 3.4.0.1 & 3.4.0.2.
>
> Strange. It is building with "-fPIC -DPIC" for me after the above, yet as
> you pointed out was not beforehand.
>
> What versions of automake, libtool and autoconf are you building with?

* automake (GNU automake) 1.11.3
* libtool (GNU libtool) 2.4.2
* autoconf (GNU Autoconf) 2.68

>  can you confirm that *_LIBRARIES does not exist in compat/Makefile after
> the above change to Makefile.in and re-./configure?

it is still available at the following section:

===[cut]===
clean-noinstLIBRARIES:
        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LIBRARIES)
===[cut]===

Fixing it doesn't change anything. For example:
gcc -DHAVE_CONFIG_H  -I.. -I../include -I../lib -I../src -I../include
-I/usr/include  -I../libltdl  -I/usr/include/libxml2
-D_FORTIFY_SOURCE=2 -Wall -Wpointer-arith -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow
-Werror -pipe -D_REENTRANT -m64  -c eui64_aton.c

Niki




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux