You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error while compiling the sample handlers
[mariano@ganesha lib]$ make test
ar rcs libm2handler.a m2handler.o m2websocket.o md5.o bstrlib.o bstraux.o
ranlib libm2handler.a
cc -g -std=c99 -Wall -Werror -I/opt/local/include -I. -c sample_handlers/body_toupper.c -o body_toupper.o
sample_handlers/body_toupper.c: In function ‘main’:
sample_handlers/body_toupper.c:23:77: error: the comparison will always evaluate as ‘false’ for the address of ‘SENDER’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [body_toupper.o] Error 1
The text was updated successfully, but these errors were encountered:
Please look at github.com/xrl/libm2handler . That's the actively maintained branch of this code. I really should add a note somewhere -- Zed hasn't been updating mongrel2.org so it points to some old code. Sorry about the confusion -- hopefully that code builds for you! If not, let me know.
I get this error while compiling the sample handlers
[mariano@ganesha lib]$ make test
ar rcs libm2handler.a m2handler.o m2websocket.o md5.o bstrlib.o bstraux.o
ranlib libm2handler.a
cc -g -std=c99 -Wall -Werror -I/opt/local/include -I. -c sample_handlers/body_toupper.c -o body_toupper.o
sample_handlers/body_toupper.c: In function ‘main’:
sample_handlers/body_toupper.c:23:77: error: the comparison will always evaluate as ‘false’ for the address of ‘SENDER’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [body_toupper.o] Error 1
The text was updated successfully, but these errors were encountered: