On 2019-12-17 3:07 a.m., Oleg Gavrilchenko wrote: > Can I build mesa swrast for my device and how can I do it? > ... > ninja -C build/ > > build fail with errors: > > [84/882] Linking target src/mapi/es1api/libGLESv1_CM.so.1.1.0. > FAILED: src/mapi/es1api/libGLESv1_CM.so.1.1.0 > arm-linux-gnueabihf-gcc -o src/mapi/es1api/libGLESv1_CM.so.1.1.0 > 'src/mapi/es1api/ffa5f0c@@GLESv1_CM@sha/.._entry.c.o' -Wl,--as-needed > -Wl,--no-undefined -shared -fPIC -Wl,--start-group > -Wl,-soname,libGLESv1_CM.so.1 src/mapi/shared-glapi/libglapi.so.0.0.0 > -Wl,--gc-sections -pthread -L/home/oleg/work/z-turn-dvi/sysroot/usr/lib > -ldrm -lm -ldl -Wl,--end-group '-Wl,-rpath,$ORIGIN/../shared-glapi' > -Wl,-rpath-link,/home/oleg/src/mesa-19.2.7/build/src/mapi/shared-glapi > /opt/Xilinx/SDK/2018.2/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/../lib/gcc/arm-linux-gnueabihf/7.2.1/../../../../arm-linux-gnueabihf/bin/ld: > cannot find -ldrm > collect2: error: ld returned 1 exit status > > DRM option enable in Linux kernel, but I do not install libdrm on my > system. Should I do it? And how it will work with my fbdev? > Thank you for answers. And sorry for my English.
I have no experience with connecting Mesa to a custom fbdev, but just want to note I don't use libdrm in my scenario either but successfully run builds with a minimal (--disable-<everything>) libdrm linked in just to avoid upstream diffs. And you'll need libexpat after that. -Nathan _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev