[Mesa-users] Problem when building Mesa on Ubuntu 13.04

Hongze Zhao zhaohongze at gmail.com
Fri Apr 18 13:10:50 PDT 2014


Hi All,

I encountered this problem when I tried to build Mesa on an Ubuntu 13.04
machine.


Making all in radeon
make[5]: Entering directory
`/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/radeon'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/radeon'
Making all in swrast
make[5]: Entering directory
`/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/swrast'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri/swrast'
make[5]: Entering directory
`/home/hongze/Downloads/Mesa-10.0.4/src/mesa/drivers/dri'
  CXXLD  mesa_dri_drivers.la
/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
../../.libs/libmesa.a(ff_fragment_shader.o): could not read symbols: Bad
value

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?

Thanks,
Randy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20140418/5e31969d/attachment.html>


More information about the mesa-users mailing list