This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

wolfSSL error and missing eader file

I installed for testing wolfSSL pack version 3.3.9.
In Manage Run-Time Environment add to project Simple Client, Resolve Dependencies
and make rebuild.

compiler return

compiling client.c...
C:\Keil\ARM\PACK\wolfSSL\CyaSSL\3.6.9\wolfssl\wolfssl/ssl.h(950): error:  #5: cannot open source input file "sys/uio.h": No such file or directory
              #include <sys/uio.h>
...
C:\Keil\ARM\PACK\wolfSSL\CyaSSL\3.6.9\wolfssl\wolfssl/wolfcrypt/wc_port.h(78): error:  #5: cannot open source input file "pthread.h": No such file or directory
          #include <pthread.h>
...


in ssl.h on page 950 is

 #elif !defined(WOLFSSL_MDK_ARM) && !defined(WOLFSSL_IAR_ARM) && !defined(WOLFSSL_PICOTCP)
            #include <sys/uio.h>
        #endif

unfortunely folder wolfSSL do not inslude file uio.h and pthread.h
Any solution for this error?

Parents
  • Refer to http://www.keil.com/forum/60483/, and I think you meant CyaSSL v3.6.9

    Several options are controlled in "wc_port.h".

    See how well these controls match project's requirements.

    To edit read-only files, like "wc_port.h", first, change their read-only attribute in Windows Explorer.

    Then enable and configure appropriate middleware.

    Then define WOLFSSL_MDK_ARM, WOLFSSL_MDK5, and WOLFSSL_CMSIS_RTOS in Options for Target / C++ tab.

    I think the rest of the messages are from test.h, so you may wish to contact wolfSSL about this part.

Reply
  • Refer to http://www.keil.com/forum/60483/, and I think you meant CyaSSL v3.6.9

    Several options are controlled in "wc_port.h".

    See how well these controls match project's requirements.

    To edit read-only files, like "wc_port.h", first, change their read-only attribute in Windows Explorer.

    Then enable and configure appropriate middleware.

    Then define WOLFSSL_MDK_ARM, WOLFSSL_MDK5, and WOLFSSL_CMSIS_RTOS in Options for Target / C++ tab.

    I think the rest of the messages are from test.h, so you may wish to contact wolfSSL about this part.

Children