Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7803511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:36:22+00:00 2026-06-02T01:36:22+00:00

Today I’ve been working on setting up extra VPS clones and I’ve run into

  • 0

Today I’ve been working on setting up extra VPS clones and I’ve run into a strange and frustrating compile time error with the latest nginx development version (0.9.6).

I’m running Ubuntu 10.04.2 LTS x86_64, however, I’ve upgraded GCC to 4.6.1. ./configure runs without errors, but upon running make -j4 I’m presented with the following error:

gcc -c -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 objs \
-o objs/src/core/ngx_open_file_cache.o \
src/core/ngx_open_file_cache.c
src/core/ngx_resolver.c: In function
‘ngx_resolver_process_ptr’:
src/core/ngx_resolver.c:1425:43:
error: variable ‘qclass’ set but not
used [-Werror=unused-but-set-variable]
src/core/ngx_resolver.c:1425:36:
error: variable ‘qtype’ set but not
used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as
errors

make[1]: *
[objs/src/core/ngx_resolver.o] Error 1
make[1]: *
Waiting for unfinished
jobs…. make[1]: Leaving directory
`/root/nginx-0.9.6′ make: *** [build]
Error 2

(Better seen at pastebin: http://pastebin.com/g0bNS2nY)

I’ve tried adding –with–cc-opt=”-W” to the ./configure options but without result. Can anyone please shed some light on this show stopper?

Many, many thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:36:24+00:00Added an answer on June 2, 2026 at 1:36 am

    A nicer way to do this is to pass the following to ./configure

    --with-cc-opt=-Wno-error
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Today Clang, trying to compile a program, gave me kinda an strange message. I'm
Today I am looking into how to make a simple XML parser in Cocoa
Today we have received some strange exceptions on our production website. They all have
Today i tested my website on seo tool site and found following error: Your
Today I observed a strange behavior I am hoping I can get some direction
Today I just opened the project I was working on XCODE 4, and only
Today i StumbleUpon a strange cache behavior of Firefox 4 which is described bellow.
Today is my first day working with SQL so please bear with me for
Today, I ran into this weird problem with a user using Mac OS X.
Today I was working on a tab navigation for a webpage. I tried the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.