New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to find a pointer-size integer type. #361
Comments
On what? |
On building zlib as one of my project dependency. |
On what machine? What target? Operating system? Operating system version? Compiler version? |
Mac book pro clang compiler: |
I develop on a Mac and see no problem. How are you invoking configure? |
Maybe the issue is the tests don't have |
It includes stdio.h, which defines |
According to The Open Group it is defined in It may be iOS (looks like what the user is building for) deviates from the standard by not including |
Any progress on this? I also get this error on MacOS 10.12 w/ Xcode 10.1 (clang-1000.11.45.5). |
I have the same versions of clang and Xcode as you do, and I see no problem and have never seen a problem. I develop zlib on a Mac. You will need to provide more information on exactly how you are invoking the problem, and exactly what problem you are seeing. When I run ./configure, I get:
And then it builds with no errors. |
Here: Building static library libz.a version 1.2.11 with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang. I notice that with CC="/usr/bin/clang" or CC=gcc, the issue is not reproduced, which is strange because both this /usr/bin/clang as well as |
Your command line that sets
In any case, this is not a zlib issue, so I am going to close it. You may want to look at the resulting configure.log file for clues as to what is going on. |
I am sorry , I am having the same problem with Fedora and compiling with Intel. How was the issue solve? |
To fully quote the Open Group stdio.h page:
It clearly means that Besides, that's in the C standard. All of these headers must define
|
@ptoche has done another ticket here: @iii-i has done it: @nmoinvaz has done it: @rconde01 speaks about it here: |
I am getting this error:
Unpacking download/zlib-1.2.11.tar.gz to build/zlib/ios-x86_64...
Using ar
Building static library libz.a version 1.2.11 with clang.
Checking for size_t... No.
Checking for long long... Yes.
Failed to find a pointer-size integer type.
** ./configure aborting.
The text was updated successfully, but these errors were encountered: