1 (edited by datorgalva 2016-10-02 22:19:23)

Topic: Compilation error: Error: ./wolfssl/test.h:667:50: error: 'IPPROTO_SCT

Hello!

I have error when i try make "make" afther "configure" using MinGW(gcc) to compile sorces.
Error: ./wolfssl/test.h:667:50: error: 'IPPROTO_SCTP' undeclared (first use in this function
I try this on two PC (64 and 32 bit win7). Wolfssl-3.9.10

I will be very happy if you can help me resolve this issue : )

Post's attachments

Untitled.png
Untitled.png 24.75 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Share

Re: Compilation error: Error: ./wolfssl/test.h:667:50: error: 'IPPROTO_SCT

Hi,

Thanks for the bug report.  This has been fixed with the following commit:

https://github.com/wolfSSL/wolfssl/comm … a1a30f3c95

Thanks,
Chris

3 (edited by datorgalva 2016-10-19 05:23:30)

Re: Compilation error: Error: ./wolfssl/test.h:667:50: error: 'IPPROTO_SCT

10nx for bug fixing, but i have next problem (see attachment)

Your example dont work. I try build my app and get this error list.

Post's attachments

Capture.PNG
Capture.PNG 75.14 kb, 7 downloads since 2016-10-19 

You don't have the permssions to download the attachments of this post.

Share

Re: Compilation error: Error: ./wolfssl/test.h:667:50: error: 'IPPROTO_SCT

Hi datorgalva,

Your initial issue was with MinGW(gcc). This looks like a screen shot from MicroSoft Visual Studio. Have you built our example projects (solution file located in <wolfssl-root>/wolfssl64.sln)?

If not please take a look at those projects and the pre-processor macros used. You will need to build with the same macros.

I see you've included <wolfssl/options.h> is this because you built with MinGw(gcc), were able to generate options.h with configure script and now are trying to build in VisualStudio using the MinGW(gcc) compiled library?

wolfssl/options.h is usually not available in windows environment unless you write it by hand. Instead we use the file <wolfssl-root>/IDE/WIN/user_settings.h to control our windows projects and we define "WOLFSSL_USER_SETTINGS" so that file gets pulled in.

I'll wait for your answers on my above questions.


Regards,

Kaleb