Problem when building Mesa on Ubuntu 13.04

Hongze Zhao <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAJXpkDHys0U5KCGAg8+Pd=Bg0fzAFV1S342OHTYPKGX3TzXdvg@mail.gmail.com>
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

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.