-
Notifications
You must be signed in to change notification settings - Fork 32
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
configure script doesn't include required headers; configuration fails #45
Comments
Note that in MacPorts, a lot of other ports depend upon neon, so getting this fixed is pretty important for getting software that uses neon to build on Macs in general. |
If you build with: |
Perhaps it might be possible to do something similar to https://github.com/notroj/neon/blob/master/macros/neon.m4#L374 where |
A fix has been committed to MacPorts. I have not evaluated the suitability of this fix. |
It then goes to:
If I extend your suggestion by adding
The build succeeds but I don't know what effect those "not found" results would have. If I add
I think I have reached success with that suggestion and I'll submit a PR. |
Describe the bug
Configuration fails on macOS and when implicit declaration of functions is an error:
config.log shows the reason is:
This was reported to MacPorts here. Implicit declaration of functions is an error in the version of clang included with Xcode 12 and later, or if you add
-Werror=implicit-function-declaration
to CFLAGS (which I do because I have not upgraded to Xcode 12 but I want to find and help fix these errors). Apple changed this condition from a warning to an error in order to support ARM processors which have different calling conventions for variadic and non-variadic functions, so the compiler must know before you call a function what kind of function it is, so it must see the function declaration.After fixing this problem by patching the configure script to add the line:
it still fails. config.log shows the next problem is:
Environment
To Reproduce
On macOS with Xcode 12 or later, run
LIBTOOLIZE=glibtoolize ./autogen.sh
(if not using a release) and./configure
.Debugging output
N/A
The text was updated successfully, but these errors were encountered: