[Mageia-dev] mesa doesn't build due to missing nouveau_device.h

Colin Guthrie mageia at colin.guthr.ie
Sat Jun 30 18:46:31 CEST 2012


'Twas brillig, and Thomas Backlund at 30/06/12 17:35 did gyre and gimble:
> 30.06.2012 19:12, Colin Guthrie skrev:
>> 'Twas brillig, and Colin Guthrie at 29/06/12 16:12 did gyre and gimble:
>>> 'Twas brillig, and Thomas Backlund at 29/06/12 16:00 did gyre and gimble:
>>>> 29.06.2012 17:22, Colin Guthrie skrev:
>>>>> Can someone please fix?
>>>>>
>>>>> Col
>>>>>
>>>>
>>>> That means either build mesa git, or pull in this:
>>>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d1cdec3ba151168bfc3aef222fba6265dfb41fb
>>>>
>>>> And all needed fixes after...
>>>
>>> I vote to go to git... what's the worst that can happen :D
>>
>> Hmm, mesa git needs newer wayland.... following the chain...
>>
> 
> I think the least painful thing right now would be to back out the
> libdrm_nouveau-2.0 merge from current libdrm  (iirc ~4 patches) so
> we can get current mesa rebuilt right now.
> 
> That would give some time to work on newer mesa...

That seems somewhat sensible.

Even with the latest wayland mesa git is having issues building...

g++ -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id
-Wl,--enable-new-dtags -L/usr/lib64/llvm  -lpthread -lffi -ldl -lm
lp_test_blend.o lp_test_main.o -o lp_test_blend -Wl,--start-group
-L../../auxiliary/ -lgallium libllvmpipe.a -lLLVM  -lXext -lXdamage
-lXfixes -lX11-xcb -lX11 -lxcb-glx -lxcb -lXxf86vm   -ldrm   -lm
-lpthread -ldl -Wl,--end-group
/usr/bin/ld: ../../auxiliary//libgallium.a(u_dl.o): undefined reference
to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO
/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.1/../../../../lib64/libdl.so so
try adding it to the linker command line
/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.1/../../../../lib64/libdl.so:
could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status


So the suggested fix of adding -ldl shouldn't be needed as -ldl is
already there! Could be a weird ordering quirk I guess - certainly
manually placing the -ldl outside of the -Wl,--start-group block does
fix it... too much fu for me tho'.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/




More information about the Mageia-dev mailing list