gnutls compile issues
dparussalla at baysidegrp.com.au
dparussalla at baysidegrp.com.au
Sat Apr 13 01:22:02 UTC 2013
Hi All,
I am having issues compiling gnutls-2.12.23 on Freebsd 6.4 stable
platform. Please find the following errors.
Any help much appropriated.
checking whether <wchar.h> uses 'inline' correctly... no
configure: error: <wchar.h> cannot be used with this compiler (cc
-std=gnu99 -O2 -fno-strict-aliasing -pipe -I/usr/local/include/p11-kit-1
-I/usr/local/include -fPIC -D_THREAD_SAFE).
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
C99 mode. You have four options:
- Add the flag -fgnu89-inline to CC and reconfigure, or
- Fix your include files, using parts of
<http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>,
or
- Use a gcc version older than 4.3, or
- Don't use the flags -std=c99 or -std=gnu99.
Configuration aborted.
===> Script "configure" failed unexpectedly.
Please report the problem to novel at FreeBSD.org [maintainer] and attach the
More information about the freebsd-stable
mailing list