<div dir="ltr">Hi All,<div><br></div><div>I encountered this problem when I tried to build Mesa on an Ubuntu 13.04 machine.</div><div><br></div><div><br clear="all"><div><div>Making all in radeon</div><div>make[5]: Entering directory `/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/radeon'</div>
<div>make[5]: Nothing to be done for `all'.</div><div>make[5]: Leaving directory `/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/radeon'</div><div>Making all in swrast</div><div>make[5]: Entering directory `/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/swrast'</div>
<div>make[5]: Nothing to be done for `all'.</div><div>make[5]: Leaving directory `/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/swrast'</div><div>make[5]: Entering directory `/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri'</div>
<div> CXXLD <a href="http://mesa_dri_drivers.la">mesa_dri_drivers.la</a></div><div>/usr/bin/ld: ../../.libs/libmesa.a(ff_fragment_shader.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC</div>
<div>../../.libs/libmesa.a(ff_fragment_shader.o): could not read symbols: Bad value</div></div><div><br></div><div>I don't know what options I should add when I execute the configure script to enable -fPIC option for compiler. Could anyone give me some hints to solve it?</div>
<div><br></div><div>Thanks,</div><div>Randy</div><div dir="ltr"><div><br></div></div>
</div></div>