[Mesa-dev] MESA_Build_ERROR

Sergii Romantsov sergii.romantsov at globallogic.com
Fri Mar 15 11:42:38 UTC 2019


>
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c: In
> function 'memfd_create':
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19:
> error: 'SYS_memfd_create' undeclared (first use in this function)
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19:
> note: each undeclared identifier is reported only once for each function it
> appears in

What is your kernel (uname -a)?
Seems memfd_create is supported from 3.17
And just for case what is content of file '/usr/include/bits/syscall.h'?

On Fri, Mar 15, 2019 at 10:26 AM Milav <milav.soni at teqdiligent.com> wrote:

> Hello Sir,
>
> This Is Milav Soni From TEQ DILIGENT.
>
> I cross compiled the xserver using jhbuild.
>
> I follow the following link.
>
> https://www.x.org/wiki/CrossCompilingXorg/
>
> But when it comes in mesa configuration, it gives following error.
>
>
> /*------------------------------------------------------error-------------------------------------------------------------------------*/
>
> copying selected object files to avoid basename conflicts...
>   CXXLD    glsl_compiler
> make[4]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler'
> make[3]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler'
> Making all in intel
> make[3]: Entering directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'
> make  all-am
> make[4]: Entering directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'
>   CC       isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo
>   CC       tools/tools_aubinator-aub_mem.o
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c: In
> function 'memfd_create':
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19:
> error: 'SYS_memfd_create' undeclared (first use in this function)
> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19:
> note: each undeclared identifier is reported only once for each function it
> appears in
> make[4]: *** [tools/tools_aubinator-aub_mem.o] Error 1
> make[4]: *** Waiting for unfinished jobs....
> *arm-cortexa8-linux-gnueabihf-gcc: error: unrecognized command line option
> '-msse4.1'*
> make[4]: *** [isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo]
> Error 1
> make[4]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src'
> make: *** [all-recursive] Error 1
> *** Error during phase build of mesa-mesa: ########## Error running make
> -j 2  *** [37/38]
>
>   [1] Rerun phase build
>   [2] Ignore error and continue to install
>   [3] Give up on module
>   [4] Start shell
>   [5] Reload configuration
>   [6] Go to phase "wipe directory and start over"
>   [7] Go to phase "configure"
>   [8] Go to phase "clean"
>   [9] Go to phase "distclean"
> choice: ^X^CInterrupted
> teqdiligent at ubuntu:~$
>
>
> /*-----------------------------------------------------------------------------------------------------------------------------------*/
>
> I use following configuration.
>
> $/home/teqdiligent/sources/xorg/git/mesa/mesa/autogen.sh --prefix
> /home/teqdiligent/jhbuild/wega_build/usr/local --disable-Werror
> --enable-autotools --enable-xa  --disable-static --disable-dri2
> --with-driver=dri --cache-file=~/sources/xorg/git/autoconf-cache
> --with-log-dir=/var/log --with-mesa-source=~/sources/xorg/git/mesa
> --enable-malloc0returnsnull --build=x86_64-unknown-linux-gnu
> --host=arm-cortexa8-linux-gnueabihf --target=arm-cortexa8-linux-gnueabihf
> AR="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-ar"
> RANLIB="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-ranlib"
> STRIP="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-strip"
> AS="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-as"
> OBJDUMP="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-objdump"
> NM="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-nm"
>
>
>
> please help me to sort out this problem.
>
> Looking forward hearing from you.
>
> Regards
>
> Milav Soni
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



-- 
Sergii Romantsov | Senior Software Engineer
GlobalLogic Inc.
M +3.8098.660.7538  S sromerson
www.globallogic.com

http://www.globallogic.com/email_disclaimer.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190315/0fa0a1fb/attachment-0001.html>


More information about the mesa-dev mailing list