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 7844077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:46:01+00:00 2026-06-02T16:46:01+00:00

I am statically building the quazip library as mentioned in the following post: linking

  • 0

I am statically building the quazip library as mentioned in the following post: linking QuaZip with Qt 4.8.0 into project

I get these error when I build the project:

/QtSDK/QtSources/4.8.0/src/3rdparty/zlib/zconf.h:373:6: error: "_LARGEFILE64_SOURCE" is not defined
In file included from ../../../quazip-0.4.4/quazip/zip.h:56,
                 from ../../../quazip-0.4.4/quazip/quazip.h:31,
                 from ../../../quazip-0.4.4/quazip/quazipfile.h:30,
                 from ../../../quazip-0.4.4/quazip/quazipfile.cpp:24:

/QtSDK/QtSources/4.8.0/src/3rdparty/zlib/zlib.h:1583:32: error: "_FILE_OFFSET_BITS" is not defined
cc1plus: warnings being treated as errors

Are these known errors in zlib library? I am using zlib library in Qt 4.8.0

  • 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-02T16:46:02+00:00Added an answer on June 2, 2026 at 4:46 pm

    That would be a bug in your compiler. I can’t tell what version of zlib you’re using, and your compiler does not show the offending line in the error message, so I can’t tell exactly what the line contains. However I suspect that these are lines that have an #if directive with the noted symbol in the expression. Per the C standard, a symbol that is not defined is given a null value (no characters replace it) in an expression in an #if statement. Instead your compiler is erroneously issuing an error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use a statically linked library for Sqlite in an iPhone Xcode project. I
I'm trying to statically link to libcrypto.a (from the openssl library) after building it
I'm building a C++ executable. I'm statically linking several of the C and C++
For building a static library , is the static C runtime statically linked at
I'm building a shared library with GCC 4.5.2 and Boost 1.46.1 (compiled with --build-type=complete
Undefined symbols Error while statically linking xerces with application only on solaris sparc, whereas
I want to statically allocate the array. Look at the following code, this code
I am trying to statically initialize the following structure in Visual Studio 2010: struct
I am building an win32 application that is statically linked with OpenCV libraries. Upon
I'm having some strange issues building and running a project on another computer. It's

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.