[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows]
From: |
John Darrington |
Subject: |
Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows] |
Date: |
Thu, 5 Feb 2009 13:23:20 +0900 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Try editing configure to put some diagnostics in. Find out which
branch it's taking and what the valud of $cross_compiling is.
J'
On Thu, Feb 05, 2009 at 02:05:04AM -0200, Michel Boaventura wrote:
nothing either. I'm starting to think that its maybe a bug on
configure because of this:
on configure.log I get:
configure:34377: result: no
configure:34395: checking whether strnlen is declared
configure:34424: i686-mingw32-gcc -std=gnu99 -c -g -O2
-Wdeclaration-after-statement -fgnu89-inline conftest.c >&5
conftest.c: In function 'main':
conftest.c:163: error: 'strnlen' undeclared (first use in this function)
conftest.c:163: error: (Each undeclared identifier is reported only once
conftest.c:163: error: for each function it appears in.)
configure:34431: $? = 1
and then this:
configure:58374: checking for working strnlen
configure:58449: result: yes
and on the very bottom, this:
ac_cv_func_strnlen_working=yes
So configure can't find strnlen, and then tells that it works. If you
look at configure script there is:
{ $as_echo "$as_me:$LINENO: checking for working strnlen" >&5
$as_echo_n "checking for working strnlen... " >&6; }
if test "${ac_cv_func_strnlen_working+set}" = set; then
$as_echo_n "(cached) " >&6
else
if test "$cross_compiling" = yes; then
ac_cv_func_strnlen_working=no
else
as far as I understand this, ac_cv_func_strnlen_working from the first
if should be the return of the compile of the strnlen test, and
because its 1 (configure:34431: $? = 1) the first if should return
false, and how we are doing cross_compiling the
ac_func_strnlen_working should be set to 'no', but it is set to yes.
Am I interpreting it wrong?
_______________________________________________
pspp-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/pspp-dev
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], (continued)
- strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
- Message not available
- Message not available
- Message not available
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows],
John Darrington <=
- Re: strnlen on Mingw [Was Re: Stable 20090129 compiled to windows], Michel Boaventura, 2009/02/04
Non-ascii character representation [Was Re: Stable 20090129 compiled to windows], John Darrington, 2009/02/04
Re: Re: Stable 20090129 compiled to windows, unknown-1, 2009/02/05