Sorry, you need to enable JavaScript to visit this website.

Unable to compile Mesa-10.4.1 - Ubuntu 14.10

3 posts / 0 new
David Witte's picture
Starter
David Witte

Jan 10, 2015 - 12:19pm

  • Hey guys,

    tried to compile the latest release by my self but stuck by Mesa 10.4.1 (make install):

     

    libtool: install: (cd /home/whitey/Downloads/intel/Mesa-10.4.1/src/mapi; /bin/bash /home/whitey/Downloads/intel/Mesa-10.4.1/libtool  --silent --tag CC --mode=relink gcc -pthread -fvisibility=hidden -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -no-undefined -version-number 1:1 -Wl,--gc-sections -Wl,--no-undefined -o es1api/libGLESv1_CM.la -rpath /usr/lib es1api_libGLESv1_CM_la-entry.lo -L/usr/local/lib -ldrm -lm -lpthread -ldl shared-glapi/libglapi.la )
    
    .libs/es1api_libGLESv1_CM_la-entry.o: In function `x86_64_entry_start':
    
    entry.c:(.text+0x3): undefined reference to `_glapi_tls_Dispatch'
    
    .libs/es1api_libGLESv1_CM_la-entry.o: In function `glColor4ub':
    
    entry.c:(.text+0x23): undefined reference to `_glapi_tls_Dispatch'
    
    .libs/es1api_libGLESv1_CM_la-entry.o: In function `glNormal3f':
    
    entry.c:(.text+0x43): undefined reference to `_glapi_tls_Dispatch'
    
    .libs/es1api_libGLESv1_CM_la-entry.o: In function `glCullFace':
    
    entry.c:(.text+0x63): undefined reference to `_glapi_tls_Dispatch'
    
    .libs/es1api_libGLESv1_CM_la-entry.o: In function `glFogf':
    
    entry.c:(.text+0x83): undefined reference to `_glapi_tls_Dispatch'
    
    .libs/es1api_libGLESv1_CM_la-entry.o:entry.c:(.text+0xa3): more undefined references to `_glapi_tls_Dispatch' follow
    
    collect2: error: ld returned 1 exit status
    
    libtool: install: error: relink `es1api/libGLESv1_CM.la' with the above command before installing it
    
    Makefile:1148: recipe for target 'install-libLTLIBRARIES' failed
    
    make[5]: *** [install-libLTLIBRARIES] Error 1
    
    make[5]: Leaving directory '/home/whitey/Downloads/intel/Mesa-10.4.1/src/mapi'
    
    Makefile:1946: recipe for target 'install-am' failed
    
    make[4]: *** [install-am] Error 2
    
    make[4]: Leaving directory '/home/whitey/Downloads/intel/Mesa-10.4.1/src/mapi'
    
    Makefile:1595: recipe for target 'install-recursive' failed
    
    make[3]: *** [install-recursive] Error 1
    
    make[3]: Leaving directory '/home/whitey/Downloads/intel/Mesa-10.4.1/src/mapi'
    
    Makefile:1940: recipe for target 'install' failed
    
    make[2]: *** [install] Error 2
    
    make[2]: Leaving directory '/home/whitey/Downloads/intel/Mesa-10.4.1/src/mapi'
    
    Makefile:524: recipe for target 'install-recursive' failed
    
    make[1]: *** [install-recursive] Error 1
    
    make[1]: Leaving directory '/home/whitey/Downloads/intel/Mesa-10.4.1/src'
    
    Makefile:593: recipe for target 'install-recursive' failed
    
    make: *** [install-recursive] Error 1
     
     
    Now i have general problems with my GLX: 
     
    cat /var/log/Xorg.0.log | grep EE
    
    [     4.649] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: undefined symbol: _glapi_tls_Dispatch)
    
    [     4.649] (EE) AIGLX: reverting to software rendering
    
    [     4.664] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
    
    [     4.664] (EE) GLX: could not load software renderer
     
     
    Any ideas?
     
    regards
     
    Whitey
     
     
    Jan 10, 2015 - 12:19pm
  • I'm getting the same errors on my Ubuntu 14.04 machine, and I used the 1.0.7 installer (although I have manually corrected some other errors to get to this point). 

    <code>

    cat /var/log/Xorg.1.log |grep EE
            (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [    13.433] Initializing built-in extension MIT-SCREEN-SAVER
    [    13.509] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: undefined symbol: _glapi_tls_Dispatch)
    [    13.509] (EE) AIGLX: reverting to software rendering
    [    13.573] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
    [    13.573] (EE) GLX: could not load software renderer
    [    13.574] (EE) intel(0): Failed to submit rendering commands, disabling acceleration.
     
    </code>
     
    I'll check back in if i can get around this. 
    Jan 27, 2015 - 12:04pm
  • I am still at this point. Is there a solution?

    I am not able to revert to the default driver. Its not pleasent without GLX-support.
    Feb 12, 2015 - 02:45am
  • Hey guys, 
     
    it was my fault. I had have many links to other libs which were older or not compatible. 
     
    I deleted all libGL.so* and libglapi.so* from /usr/local/lib and /usr/lib. All fine now but I am back to Ubuntu default driver from the Ubuntu repos. 
     
    Look for 
     
    ldd /usr/lib/xorg/modules/extensions/libglx.so 
     
    for dependencys in /usr/local/lib and /usr/lib if you have similar problems.
     
    regards 
    Feb 13, 2015 - 01:44am
  • Topic locked