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

None of building option works #46

Open
cassun opened this issue Jun 27, 2018 · 1 comment
Open

None of building option works #46

cassun opened this issue Jun 27, 2018 · 1 comment

Comments

@cassun
Copy link

cassun commented Jun 27, 2018

Hello,
I am following the building guide doc/Build.md to build the libhttp with socket enable. But I found
none of the building target works.

issue 1:
None of make option works. It works only with 'make' in the command and removing Werror in Makefile. I found the there is no target, help, build..., in the Makefile

$ make lib WITH_WEBSOCKET=1
make: Nothing to be done for 'lib'.

$ make build
make: *** No rule to make target 'build'. Stop.

$ make help
make: *** No rule to make target 'help'. Stop.

issue 2:
I am trying to build websocket_client in examples/websocket_client. Weird thing is that it removes the all libs and tries to copy libcivetweb.a which I cannot find this word(libcivetweb) in any file except all Makefile in the example directory.

examples/websocket_client$ make

make -C ../.. clean lib WITH_WEBSOCKET=1
make[1]: Entering directory '/home/tyler/Documents/project/libhttp'
/bin/rm -f obj/*.o
/bin/rm -f lib/libhttp.a
/bin/rm -f testmime
/bin/rm -f libhttpserver
make[1]: *** No rule to make target 'lib'. Stop.
make[1]: Leaving directory '/home/tyler/Documents/project/libhttp'
Makefile:31: recipe for target 'libcivetweb.a' failed
make: *** [libcivetweb.a] Error 2

@niyan-ly
Copy link

Actually, there are no rules like lib build help now . The makefile has been updated, but the docs doesn't.

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