X running on target is picking drivers from wrong directory
abhijit
abhijitnaik27 at gmail.com
Wed Jul 19 06:49:36 UTC 2017
Hi,
I am trying to build xserver 1.17.1 for imx57 based board. But cross
compiled executable is trying to pick libraries and drivers from NFS
root file system path.
Following is the configuration command,
> ./configure --enable-maintainer-mode
--host=arm-xilinx-linux-gnueabi
--prefix=/media/VAYAVYA/freedreno_proj/xserver/installs
LIBS="-lm -ldl" --with-log-dir=/var/log/
Following is snippet of /var/log/Xorg.0.log from target,
/media/VAYAVYA/freedreno_proj/xserver/installs/lib/xorg/protocol.txt
(==) ModulePath set to " /media/VAYAVYA/freedreno_proj/xserver/installs/"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
Can some one help me what are proper configuration options.
I tried following, but it xserver is trying to install in
/usr/lib/xorg/modules, which is system root directory.
./configure --enable-maintainer-mode --host=arm-xilinx-linux-gnueabi
--prefix=/media/VAYAVYA/freedreno_proj/xserver/installs LIBS=-lm -ldl
--with-log-dir=/var/log/ --with-module-dir=/usr/lib/xorg/modules
--with-dri-driver-path=/usr/lib/dri
Thanks,
Abhijit
More information about the xorg
mailing list