-
Notifications
You must be signed in to change notification settings - Fork 265
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 fails on Fedora rawhide #6
Comments
Sent as a PR, since I can't attach a .diff: |
Hi, we have since disabled -Werror by default, which should allow you to make progress past this issue. Please try the latest git source (run autogen.sh first) |
Yep, 058914f builds fine with ./autogen.sh Great work! Note that without the patch, gcc will print a ton of warnings: On Sat, Jul 12, 2014 at 4:19 PM, busterb notifications@github.com wrote:
-Austin |
closing, as this is fixed. |
I tried libressl-2.0.0.tar.gz on Fedora rawhide with glibc-headers-2.19.90-23.fc21.x86_64, but configure fails:
configure:3445: checking whether we are cross compiling
configure:3453: gcc -o conftest -Wall -Werror -std=c99 -g -Wno-pointer-sign -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE conftest.c >&5
In file included from /usr/include/stdio.h:27:0,
from conftest.c:11:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
cc1: all warnings being treated as errors
configure:3457: $? = 1
configure:3464: ./conftest
./configure: line 3466: ./conftest: No such file or directory
configure:3468: $? = 127
configure:3475: error: in
/home/austin/libressl-2.0.0': configure:3477: error: cannot run C compiled programs. If you meant to cross compile, use
--host'.See `config.log' for more details
changing configure to use both _DEFAULT_SOURCE and _BSD_SOURCE works. See https://perkamon.alioth.debian.org/online/man7/feature_test_macros.7.php
I'll attach a patch.
The text was updated successfully, but these errors were encountered: