NginX 0.9.6 Frustrating Compile Issues Ubuntu/GCC 4.6.1 -
Today I'm working on installing additional VPS clones and I have participated in a strange and frustrating compile time error, the latest NGN Development Edition (0.9.6).
I am running Ubuntu 10.04.2 LTS x86_64, however, I have upgraded GCC to 4.6.1. ./configure runs without errors, but I have seen the following error when running make -j4 : GCC-C -Pip-O-wa-wall-wienener-arith-vino-unused-parameter -weuxed-function -wife-variable -weeked-value-value- G-i src / core -i src / event -i src / os / unix -I objs \ -o objs / src / core / ngx_open_file_cache.o \ src / core / ngx_open_file_cache.c src / core /ngx_resolver.c: function 'Ngx_resolver_process_ptr': src / core / ngx_resolver.c: 1425: 43: error: variable set to 'qclass' but its use Not done [-driver = unused-but-set-variable] src / core / ngx_resolver C: 1425: 36: Error: Variable 'qtype' set but not used [-error = unused-but-set-variable] cc1: All warnings are considered as errors create [1]: * [objs / src / core / ngx_resolver.o] making error 1 [1]: * Waiting for incomplete jobs .... Make [1 ]: Except directory `/ root / NGN -0.9.6 'make: *** [build] error 2 (better seen in pastebin :) < P> I've tried to add - cc-opt = "- w" .confconfure option Results without blood. Can someone leave some light on this show stopper? Long ago, many thanks! A good way to do this is to pass the following .configure < Pre>
- with -cc-opt = -Wno-error
Comments
Post a Comment