<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Sorry for the late reply.<br>
      <br>
      I took a look - it seems that the rtems master branch now has
      <termios.h> and no longer <sys/termios.h><br>
      <br>
      The obvious fix is (you need to 'autoreconf' in order to recreate
      'configure' + friends) attached.<br>
      <br>
      You can get more recent versions of cexpsh at <br>
      <br>
      github.com/till-s/cexpsh<br>
      <br>
      HTH<br>
      - Till<br>
      <br>
      <br>
      On 10/05/2017 04:06 PM, Akiv wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALwhcRbRfEbnQYZFDctpj7u+r-Fc9-kFqAKk0oqqfB24_Fb8Mw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><span style="font-size:12.8px">Hi All, <br>
        </span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">I have built RTEMS 4.12 for the
          pc686 BSP. I am now trying to install cexp 2.2.3. My goal is
          to run pc-rtems according to this guide: <a
            href="https://github.com/nasa/cFE/tree/master/psp/fsw/pc-rtems"
            moz-do-not-send="true">https://github.com/nasa/cFE/tree/master/psp/fsw/pc-rtems</a>.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">After configuring, when I run the
          make I get the following error.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">
          <div>bash-4.1$ ../cexp-CEXP_Release_2_2_3/<wbr>configure
            --with-rtems-top=/home/rtems/<wbr>pc_rtems/development/rtems/4.<wbr>12
            --host=i386-rtems4.12 --enable-std-rtems-installdirs</div>
          <div>bash-4.1$ make -j 8</div>
          <div><br>
          </div>
          <div>make  all-recursive</div>
          <div>make[1]: Entering directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp'</div>
          <div>Making all in pc686</div>
          <div>make[2]: Entering directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686'</div>
          <div>make  all-recursive</div>
          <div>make[3]: Entering directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686'</div>
          <div>Making all in regexp</div>
          <div>make[4]: Entering directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686/regexp'</div>
          <div>make[4]: Nothing to be done for `all'.</div>
          <div>make[4]: Leaving directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686/regexp'</div>
          <div>Making all in libtecla</div>
          <div>make[4]: Entering directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686/libtecla'</div>
          <div>i386-rtems4.12-gcc -B/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/pc686/lib/
            -specs bsp_specs -qrtems  -B /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/lib
            -mtune=pentiumpro -march=pentium  -I/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/pc686/lib/include
            -I/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include
            -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
            -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
            -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
            -DPACKAGE=\"libtecla\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1
            -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
            -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
            -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
            -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT=1 -I.
            -I../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla  
            -I../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla/..
            -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
            -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
            -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
            -DPACKAGE=\"libtecla\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1
            -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
            -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
            -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
            -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT=1    -MT
            libtecla_a-getline.o -MD -MP -MF
            .deps/libtecla_a-getline.Tpo -c -o libtecla_a-getline.o
            `test -f 'getline.c' || echo '../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla/'`getline.c</div>
          <div>i386-rtems4.12-gcc -B/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/pc686/lib/
            -specs bsp_specs -qrtems  -B /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/lib
            -mtune=pentiumpro -march=pentium  -I/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/pc686/lib/include
            -I/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include
            -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
            -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
            -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
            -DPACKAGE=\"libtecla\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1
            -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
            -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
            -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
            -DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT=1 -I.
            -I../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla  
            -I../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla/..
            -D_POSIX_C_SOURCE=199506L -DPREFER_REENTRANT    -MT
            libtecla_r_a-getline.o -MD -MP -MF
            .deps/libtecla_r_a-getline.Tpo -c -o libtecla_r_a-getline.o
            `test -f 'getline.c' || echo '../..//../cexp-CEXP_Release_<wbr>2_2_3/libtecla/'`getline.c</div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:60:2:
            error: #error "This file is deprecated; remove this line if
            you absolutely have to use it"</div>
          <div> #error "This file is deprecated; remove this line if you
            absolutely have to use it"</div>
          <div>  ^~~~~</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:62:8:
            error: redefinition of 'struct winsize'</div>
          <div> struct winsize {</div>
          <div>        ^~~~~~~</div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>49:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ttycom.<wbr>h:52:8:
            note: originally defined here</div>
          <div> struct winsize {</div>
          <div>        ^~~~~~~</div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:74:0:
            warning: "IOCPARM_MASK" redefined</div>
          <div> #define IOCPARM_MASK 0x1fff  /* parameter length, at
            most 13 bits */</div>
          <div> </div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>45:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioccom.<wbr>h:47:0:
            note: this is the location of the previous definition</div>
          <div> #define IOCPARM_MASK ((1 << IOCPARM_SHIFT) - 1) /*
            parameter length mask */</div>
          <div> </div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:76:0:
            warning: "_IOC" redefined</div>
          <div> #define _IOC(inout,group,num,len) (inout | ((len &
            IOCPARM_MASK) << 16) | ((group) << 8) | (num))</div>
          <div> </div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>45:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioccom.<wbr>h:59:0:
            note: this is the location of the previous definition</div>
          <div> #define _IOC(inout,group,num,len)     \</div>
          <div> </div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:60:2:
            error: #error "This file is deprecated; remove this line if
            you absolutely have to use it"</div>
          <div> #error "This file is deprecated; remove this line if you
            absolutely have to use it"</div>
          <div>  ^~~~~</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:62:8:
            error: redefinition of 'struct winsize'</div>
          <div> struct winsize {</div>
          <div>        ^~~~~~~</div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>49:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ttycom.<wbr>h:52:8:
            note: originally defined here</div>
          <div> struct winsize {</div>
          <div>        ^~~~~~~</div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:74:0:
            warning: "IOCPARM_MASK" redefined</div>
          <div> #define IOCPARM_MASK 0x1fff  /* parameter length, at
            most 13 bits */</div>
          <div> </div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>45:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioccom.<wbr>h:47:0:
            note: this is the location of the previous definition</div>
          <div> #define IOCPARM_MASK ((1 << IOCPARM_SHIFT) - 1) /*
            parameter length mask */</div>
          <div> </div>
          <div>In file included from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:154:0:</div>
          <div>../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/../rtems-<wbr>hackdefs.h:76:0:
            warning: "_IOC" redefined</div>
          <div> #define _IOC(inout,group,num,len) (inout | ((len &
            IOCPARM_MASK) << 16) | ((group) << 8) | (num))</div>
          <div> </div>
          <div>In file included from /home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioctl.h:<wbr>45:0,</div>
          <div>                 from ../..//../cexp-CEXP_Release_2_<wbr>2_3/libtecla/getline.c:59:</div>
          <div>/home/rtems/pc_rtems/<wbr>development/rtems/4.12/i386-<wbr>rtems4.12/include/sys/ioccom.<wbr>h:59:0:
            note: this is the location of the previous definition</div>
          <div> #define _IOC(inout,group,num,len)     \</div>
          <div> </div>
          <div>make[4]: *** [libtecla_r_a-getline.o] Error 1</div>
          <div>make[4]: *** Waiting for unfinished jobs....</div>
          <div>make[4]: *** [libtecla_a-getline.o] Error 1</div>
          <div>make[4]: Leaving directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686/libtecla'</div>
          <div>make[3]: *** [all-recursive] Error 1</div>
          <div>make[3]: Leaving directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686'</div>
          <div>make[2]: *** [all] Error 2</div>
          <div>make[2]: Leaving directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp/pc686'</div>
          <div>make[1]: *** [all-recursive] Error 1</div>
          <div>make[1]: Leaving directory `/home/rtems/pc_rtems/<wbr>development/rtems/kernel/b-<wbr>cexp'</div>
          <div>make: *** [all] Error 2</div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Would someone be able to provide
          some insight? </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div>
          <div class="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">--</div>
                <div dir="ltr">Best Regards,
                  <div>Akiv Jhirad</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@rtems.org">users@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <br>
  </body>
</html>