<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt">


        
        
        
        <style type="text/css">P { margin-bottom: 0.21cm; }A:link {  }</style>


<div style="margin-bottom: 0cm">I'm not sure if this will help but I was getting a similar error on Fedora when trying to build piglit.<br></div><div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64/libGL.so:
undefined reference to `_glapi_tls_Dispatch' 
</div>
<div style="margin-bottom: 0cm">collect2: error: ld returned 1 exit
status</div><div style="margin-bottom: 0cm"><br></div>
<div style="margin-bottom: 0cm">I fixed this issue by pointing my system back
to the default GL library rather than the one I had built from git
by deleting /etc/ld.so.conf.d/a-local-xorg.conf</div><div style="margin-bottom: 0cm"><br></div><div style="margin-bottom: 0cm; color: rgb(0, 0, 0); font-size: 16px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;">Tim<br></div>

<div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div class="y_msg_container"><br>Message: 1<br>Date: Mon, 2 Sep 2013 15:31:00 +0530<br>From: Nitin Garg8 <<a ymailto="mailto:nitgarg8@in.ibm.com" href="mailto:nitgarg8@in.ibm.com">nitgarg8@in.ibm.com</a>><br>To: <a ymailto="mailto:piglit@lists.freedesktop.org" href="mailto:piglit@lists.freedesktop.org">piglit@lists.freedesktop.org</a><br>Subject: [Piglit] piglit make failure<br>Message-ID:<br>    <<a ymailto="mailto:OFD175883A.8E72269A-ON65257BDA.0036CBC3-65257BDA.00373400@in.ibm.com" href="mailto:OFD175883A.8E72269A-ON65257BDA.0036CBC3-65257BDA.00373400@in.ibm.com">OFD175883A.8E72269A-ON65257BDA.0036CBC3-65257BDA.00373400@in.ibm.com</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hi, <br><br>     While issuing "make" after
 "ccmake." I am getting the following error <br>: <br><br>waffle-1.2.3]# make<br><br>----<br>--<br>--<br>Linking C executable gl_basic_test<br>/usr/lib/gcc/s390x-redhat-linux/4.7.2/../../../../lib64/libEGL.so: <br>undefined reference to `wl_display_bind'<br>/usr/lib/gcc/s390x-redhat-linux/4.7.2/../../../../lib64/libEGL.so: <br>undefined reference to `wl_display_iterate'<br>/usr/lib/gcc/s390x-redhat-linux/4.7.2/../../../../lib64/libEGL.so: <br>undefined reference to `wl_display_sync'<br>/usr/lib/gcc/s390x-redhat-linux/4.7.2/../../../../lib64/libEGL.so: <br>undefined reference to `wl_display_get_global'<br>collect2: error: ld returned 1 exit status<br>make[2]: *** [tests/functional/gl_basic_test] Error 1<br>make[1]: *** [tests/functional/CMakeFiles/gl_basic_test.dir/all] Error 2<br><br>     Can you please explain me if this is a genuine bug. <br> <br><br>Regards<br>Nitin<br>--------------------------------------------<br>Nitin Garg<br>IBM India
 Software Labs<br>Embassy Golf Links Business Park<br>Bangalore - 560071, INDIA<br>mailto : <a ymailto="mailto:nitgarg8@in.ibm.com" href="mailto:nitgarg8@in.ibm.com">nitgarg8@in.ibm.com</a><br>Ph : +91-80-41776992(off.)<br></div> </div> </div>  </div></body></html>