Subject: 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:05:15
------=_Part_3245_29700764.1151877915042
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I've just ported my 3.0 amd64 box to -current and then removed all of my pkg
stuff.

gcc is gcc version 4.1.2 20060603 prerelease (NetBSD nb1 20060602

i'm failing trying to build glib2 from pkgsrc2006Q2

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


what should I do ?

luca
-- 
www.sironi.tk

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

I've just ported my 3.0 amd64 box to -current and then removed all of my pkg stuff.<br>
<br>
gcc is gcc version 4.1.2 20060603 prerelease (NetBSD nb1 20060602<br>
<br clear="all">i'm failing trying to build glib2 from pkgsrc2006Q2<br>
<br>
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<br>
<br>
<br>
what should I do ?<br>
<br>
luca<br>-- <br><a href="http://www.sironi.tk">www.sironi.tk</a>

------=_Part_3245_29700764.1151877915042--