Bug 60723

Summary: Unable to compile Mesa 9.0.2 for radeon
Product: Mesa Reporter: Vincenzo Abate <gogolander>
Component: OtherAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 9.0   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: configure log
make log

Description Vincenzo Abate 2013-02-12 12:17:23 UTC
Hi.
I'm trying to compile Mesa 9.0.2 on my amd64 pc. After launching the following configure command:
  " ./configure --prefix=/usr \
                --with-dri-drivers=radeon \
                --enable-gles1 \
                --enable-gles2 \
                --enable-xa \
                --enable-texture-float \
                --enable-osmesa \
                --enable-glx-tls \
                --enable-opengl \
                --enable-openvg \
                --enable-gallium-egl \
                --with-gallium-drivers="r300,r600,svga,swrast" "

make fails to compile with this error message:
  "r300_dri.so.tmp: undefined reference to `_glapi_tls_Dispatch'
   r300_dri.so.tmp: undefined reference to `_glapi_tls_Context'
   collect2: error: ld returned 1 exit status
   make[3]: *** [r300_dri.so] Error 1"

I haven't found any solution. How can I solve this?

Thanks in advance
Comment 1 Michel Dänzer 2013-02-12 13:49:38 UTC
Does it work if you add --enable-shared-glapi to the configure arguments? If not, please attach the full output from configure and make.
Comment 2 Vincenzo Abate 2013-02-12 14:09:00 UTC
Created attachment 74682 [details]
configure log
Comment 3 Vincenzo Abate 2013-02-12 14:09:35 UTC
Created attachment 74683 [details]
make log
Comment 4 Vincenzo Abate 2013-02-12 14:10:27 UTC
It didn't worked. I attached logs from configure and make as asked...

(In reply to comment #1)
> Does it work if you add --enable-shared-glapi to the configure arguments? If
> not, please attach the full output from configure and make.
Comment 5 Matt Turner 2014-09-21 20:06:37 UTC
Expected fixed. Reopen if not.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.