<div dir="ltr"><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">/home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c: In function 'memfd_create':<br>/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)<br>/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</blockquote><div>What is your kernel (uname -a)?</div><div>Seems memfd_create is supported from 3.17</div><div>And just for case what is content of file '/usr/include/bits/syscall.h'?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 15, 2019 at 10:26 AM Milav <<a href="mailto:milav.soni@teqdiligent.com">milav.soni@teqdiligent.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF">
    Hello Sir,
    <div class="gmail-m_-7286888648549992733moz-forward-container">
      <div class="gmail-m_-7286888648549992733moz-forward-container">
        <div class="gmail-m_-7286888648549992733moz-forward-container">
          <p>This Is Milav Soni From TEQ DILIGENT.</p>
          <p>I cross compiled the xserver using jhbuild.</p>
          <p>I follow the following link.</p>
          <p><a class="gmail-m_-7286888648549992733moz-txt-link-freetext" href="https://www.x.org/wiki/CrossCompilingXorg/" target="_blank">https://www.x.org/wiki/CrossCompilingXorg/</a></p>
          <p>But when it comes in mesa configuration, it gives following
            error.</p>
          <p>/*------------------------------------------------------error-------------------------------------------------------------------------*/<br>
          </p>
          <p>copying selected object files to avoid basename
            conflicts...<br>
              CXXLD    glsl_compiler<br>
            make[4]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler'<br>
            make[3]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler'<br>
            Making all in intel<br>
            make[3]: Entering directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'<br>
            make  all-am<br>
            make[4]: Entering directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'<br>
              CC      
            isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo<br>
              CC       tools/tools_aubinator-aub_mem.o<br>
/home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:
            In function 'memfd_create':<br>
/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)<br>
/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<br>
            make[4]: *** [tools/tools_aubinator-aub_mem.o] Error 1<br>
            make[4]: *** Waiting for unfinished jobs....<br>
            <b>arm-cortexa8-linux-gnueabihf-gcc: error: unrecognized
              command line option '-msse4.1'</b><br>
            make[4]: ***
            [isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo]
            Error 1<br>
            make[4]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'<br>
            make[3]: *** [all] Error 2<br>
            make[3]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel'<br>
            make[2]: *** [all-recursive] Error 1<br>
            make[2]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src'<br>
            make[1]: *** [all] Error 2<br>
            make[1]: Leaving directory
            `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src'<br>
            make: *** [all-recursive] Error 1<br>
            *** Error during phase build of mesa-mesa: ########## Error
            running make -j 2  *** [37/38]<br>
            <br>
              [1] Rerun phase build<br>
              [2] Ignore error and continue to install<br>
              [3] Give up on module<br>
              [4] Start shell<br>
              [5] Reload configuration<br>
              [6] Go to phase "wipe directory and start over"<br>
              [7] Go to phase "configure"<br>
              [8] Go to phase "clean"<br>
              [9] Go to phase "distclean"<br>
            choice: ^X^CInterrupted<br>
            teqdiligent@ubuntu:~$ <br>
          </p>
          <p>/*-----------------------------------------------------------------------------------------------------------------------------------*/</p>
          <p>I use following configuration.</p>
          <p>$/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"
            <br>
          </p>
          <p> <br>
          </p>
          <p>please help me to sort out this problem.</p>
          <p>Looking forward hearing from you.</p>
          <p>Regards</p>
          <p>Milav Soni<br>
          </p>
          <p><br>
          </p>
        </div>
      </div>
    </div>
  </div>

_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,0,0);font-weight:700">Sergii Romantsov | Senior Software Engineer</span><br></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><span style="color:rgb(23,43,77)">GlobalLogic Inc.</span><br></font></div><div dir="ltr"><div style="margin:0px;padding:0px;color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;font-size:14px"><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">M +3.8098.660.7538  S sromerson</span><br></div></div><div dir="ltr"><div style="margin:0px;padding:0px;color:rgb(23,43,77)"><font face="arial, helvetica, sans-serif"><a href="http://www.globallogic.com/" rel="nofollow" style="color:rgb(0,82,204)" target="_blank">www.globallogic.com</a><br></font></div><div style="margin:0px;padding:0px;color:rgb(23,43,77)"><font face="arial, helvetica, sans-serif"><br></font></div><div style="margin:0px;padding:0px;color:rgb(23,43,77)"><div style="margin:0px;padding:0px"><div style="margin:0px;padding:0px"><div style="margin:0px;padding:0px"><span style="color:rgb(17,85,204)"><a href="http://www.globallogic.com/email_disclaimer.txt" rel="nofollow" style="color:rgb(0,82,204)" target="_blank"><font face="arial, helvetica, sans-serif">http://www.globallogic.com/email_disclaimer.txt</font></a></span></div></div></div></div></div></div></div></div></div></div></div></div></div>