[Mesa-dev] [PATCH V2 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

Axel Davy axel.davy at ens.fr
Thu May 29 05:08:39 PDT 2014


On 29/05/2014 04:58, Michel Dänzer wrote :
> On 29.05.2014 12:22, Axel Davy wrote:
>> DRI_PRIME is not very handy, because you have to launch the executable
>> with it set, which is not always easy to do.
>> By using drirc, the user specifies the target executable
>> and the device to use. After that the program will be launched everytime
>> on the target device.
>>
>> v2: fix compilation issue
> Still doesn't build here (on top of
> http://lists.freedesktop.org/archives/mesa-dev/2014-May/060312.html
> to fix today's build failure), see below.

> ../drivers/dri2/.libs/libegl_dri2.a(libloader_la-xmlconfig.o): In function `strToF':
> /home/daenzer/src/mesa-git/mesa/build-amd64/src/loader/../../../src/mesa/drivers/dri/common/xmlconfig.c:273: undefined reference to `pow'
> collect2: error: ld returned 1 exit status
> Makefile:664: recipe for target 'libEGL.la' failed
> make[2]: *** [libEGL.la] Error 1
> make[2]: Leaving directory '/home/daenzer/src/mesa-git/mesa/build-amd64/src/egl/main'
>
>
Does adding '-lm' to libloader_la_LIBADD fixes it ?

Axel Davy


More information about the mesa-dev mailing list