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
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