Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure & makefile are missing #1

Open
midnqp opened this issue May 5, 2021 · 2 comments
Open

configure & makefile are missing #1

midnqp opened this issue May 5, 2021 · 2 comments

Comments

@midnqp
Copy link

midnqp commented May 5, 2021

Build steps include:

./configure
make

Both of these files are missing from the repository.

@midnqp
Copy link
Author

midnqp commented May 5, 2021

This worked: $ cmake ./CMakeLists.txt

But then:

$ make
[ 33%] Built target common
[ 46%] Built target wclient
[ 53%] Building C object CMakeFiles/wserver2.dir/wserver2.c.o
/home/midn/openssl-examples/wserver2.c: In function ‘http_serve’:
/home/midn/openssl-examples/wserver2.c:65:10: error: invalid use of incomplete typedef ‘SSL’ {aka ‘struct ssl_st’}
   65 |       ssl->state=SSL_ST_ACCEPT;
      |          ^~
make[2]: *** [CMakeFiles/wserver2.dir/build.make:82: CMakeFiles/wserver2.dir/wserver2.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: CMakeFiles/wserver2.dir/all] Error 2
make: *** [Makefile:103: all] Error 2

Bad luck, right?

@josnih21
Copy link

josnih21 commented Oct 5, 2022

Seems that the code is not able to run with new Openssl versions 😐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants