Subject: Re: having problem compiling glib2
To: None <current-users@netbsd.org>
From: Luca Sironi <luca.sironi@gmail.com>
List: current-users
Date: 07/03/2006 00:13:00
------=_Part_3289_19018326.1151878380946
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2006/7/3, Luca Sironi <luca.sironi@gmail.com>:
>
> the error is
>
> ld: .libs/gconvert.o: relocation R_X86_64_PC32 against
> `_g_charset_get_aliases' can not be used when making a shared object;
> recompile with -fPIC
> ld: final link failed: Bad value
>

forgotten to say  that  configure doesn't seem to complain about this.

checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
....
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes

luca
-- 
www.sironi.tk

------=_Part_3289_19018326.1151878380946
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2006/7/3, Luca Sironi &lt;<a href="mailto:luca.sironi@gmail.com">luca.sironi@gmail.com</a>&gt;:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>the error is<br>
<br>
ld: .libs/gconvert.o: relocation R_X86_64_PC32 against
`_g_charset_get_aliases' can not be used when making a shared object;
recompile with -fPIC<br>
ld: final link failed: Bad value</div></blockquote><div><br>
forgotten to say&nbsp; that&nbsp; configure doesn't seem to complain about this.<br>
<br>
checking for gcc option to produce PIC... -fPIC<br>
checking if gcc PIC flag -fPIC works... yes<br>
....<br>
checking for c++ option to produce PIC... -fPIC<br>
checking if c++ PIC flag -fPIC works... yes<br>
<br>
</div>luca<br>
</div>-- <br><a href="http://www.sironi.tk">www.sironi.tk</a>

------=_Part_3289_19018326.1151878380946--