Bug 64042

Summary: Mesalib Installation Error
Product: Mesa Reporter: Andree <andree.tago>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: 7.10   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Andree 2013-04-29 11:01:27 UTC
hello,
I get the code source of Mesalib 7.11 and i configure this code

export NOUVEAU_CFLAGS="-I/usr/include/drm/"
export NOUVEAU_LIBS="-L/usr/local/lib/"

./confgure

when i run make i get this errors :

nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_flush'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_pending'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_marker_undo'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_grobj_autobind'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_marker_emit'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_unmap'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_channel_free'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_grobj_free'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_device_open_existing'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_pushbuf_emit_reloc'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_device_close'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_channel_alloc'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_handle_get'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_map'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_new'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_ref'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_handle_ref'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_notifier_alloc'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_bo_new_tile'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_grobj_alloc'
nouveau_vieux_dri.so.tmp: undefined reference to `nouveau_notifier_free'
collect2: ld returned 1 exit status
make[6]: *** [nouveau_vieux_dri.so] Error 1
make[6]: Leaving directory `/home/administrateur/Bureau/Mesa-7.11/src/mesa/drivers/dri/nouveau'

Please Help Me
Comment 1 Emil Velikov 2013-06-20 00:53:51 UTC
In order to build Mesa 7.11 you would need libdrm-nouveau 0.6
Two notes
* In general you do not need to export either of those
* I'm not too sure if the build system honors non default locations of headers and/or libraries

Either way I would recommend working with mesa 9.0 or greater
Comment 2 Emil Velikov 2013-06-20 00:54:04 UTC
*** Bug 64074 has been marked as a duplicate of this bug. ***

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.