Unable to build

Grzegorz Nosek grzegorz.nosek at gmail.com
Thu Sep 3 22:49:42 MSD 2009


On czw, wrz 03, 2009 at 01:20:01 -0500, David Murphy wrote:

(snip)

> gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-7.7 -I objs -I src/http -I src/http/modules \
> 		-o objs/src/http/modules/ngx_http_stub_status_module.o \
> 		src/http/modules/ngx_http_stub_status_module.c
> ', needed by `objs/nginx'.  Stop.et `objs/addon/nginx-upstream-fair/ngx_http_upstream_fair_module.o
> make[1]: Leaving directory `/root/nginx-0.7.61'
> make: *** [build] Error 2

You sure the build looks like this? The error message from make is
overwritten by something and there aren't any errors from the compiler.

Please try building upstream_fair object file only, i.e.:

make objs/addon/nginx-upstream-fair/ngx_http_upstream_fair_module.o

and/or appending 2> build-stderr.log to your make command and posting
the contents of that file.

And probably a make clean and reconfigure wouldn't hurt, either (just in
case).

Best regards,
 Grzegorz Nosek





More information about the nginx mailing list