autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _XOPEN_SOURCE=500 breaks at least OSF1 V5.0 [Re: largefiles


From: Akim Demaille
Subject: Re: _XOPEN_SOURCE=500 breaks at least OSF1 V5.0 [Re: largefiles
Date: 14 Nov 2000 16:48:54 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

This is the result of running just AC_FUNC_SEEKO on my machine, Debian
GNU/Linux most up to date.  Is this what is expected?

=====================================
./debug-69.sh: Testing AC_FUNC_FSEEKO
=====================================
./syntax.at:38: autoconf --autoconf-dir .. -l $at_srcdir
./syntax.at:38: autoheader --autoconf-dir .. -l $at_srcdir
./syntax.at:38: top_srcdir=$top_srcdir ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking whether we are using the GNU C compiler... yes
checking for object suffix... o
checking for executable suffix... 
checking whether gcc accepts -g... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... no
creating ./config.status
creating config.h
--- config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by  2.49b, executed with
 > ./configure 

on nostromo:

uname -m = i686
uname -r = 2.2.17
uname -s = Linux
uname -v = #1 Sat Sep 9 12:42:22 EST 2000

/usr/bin/uname -p = 
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = i686
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 
configure:898: checking for gcc
configure:920: result: gcc
configure:1141: checking whether the C compiler works
configure:1156: gcc -o conftest    conftest.c  >&5
configure:1160: ./conftest
configure:1172: result: yes
configure:1183: checking whether we are cross compiling
configure:1185: result: no
configure:1188: checking whether we are using the GNU C compiler
configure:1209: gcc -c   conftest.c >&5
configure:1220: result: yes
configure:1223: checking for object suffix
configure:1240: gcc -c   conftest.c >&5
configure:1253: result: o
configure:1259: checking for executable suffix
configure:1280: gcc -o conftest    conftest.c  >&5
configure:1299: result: 
configure:1308: checking whether gcc accepts -g
configure:1326: gcc -c -g  conftest.c >&5
configure:1335: result: yes
configure:1358: checking for _LARGEFILE_SOURCE value needed for large files
configure:1380: gcc -c -g -O2  conftest.c >&5
configure:1369: size of array `a' is negative
configure: In function `main':
configure:1373: `fseeko' undeclared (first use in this function)
configure:1373: (Each undeclared identifier is reported only once
configure:1373: for each function it appears in.)
configure: failed program was:
#line 1366 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int
main ()
{
return !fseeko;
  ;
  return 0;
}
configure:1403: gcc -c -g -O2  conftest.c >&5
configure:1392: size of array `a' is negative
configure: failed program was:
#line 1388 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE 1
#include <stdio.h>
#include <sys/types.h>
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
int
main ()
{
return !fseeko;
  ;
  return 0;
}
configure:1413: result: no
configure:1427: checking for fseeko
configure:1445: gcc -o conftest -g -O2   conftest.c  >&5
configure: In function `main':
configure:1438: `fseeko' undeclared (first use in this function)
configure:1438: (Each undeclared identifier is reported only once
configure:1438: for each function it appears in.)
configure:1438: `fseeko' used prior to declaration
configure: failed program was:
#line 1433 "configure"
#include "confdefs.h"
#include <stdio.h>
int
main ()
{
return fseeko && fseeko (stdin, 0, 0);
  ;
  return 0;
}
configure:1454: result: no

Cache variables:
| ac_cv_c_compiler_gnu=yes
| ac_cv_env_CC_set=
| ac_cv_env_CC_value=
| ac_cv_env_CFLAGS_set=
| ac_cv_env_CFLAGS_value=
| ac_cv_env_build_alias_set=
| ac_cv_env_build_alias_value=
| ac_cv_env_host_alias_set=
| ac_cv_env_host_alias_value=
| ac_cv_env_target_alias_set=
| ac_cv_env_target_alias_value=
| ac_cv_func_fseeko=no
| ac_cv_objext=o
| ac_cv_prog_ac_ct_CC=gcc
| ac_cv_prog_cc_g=yes
| ac_cv_sys_largefile_source=no

confdefs.h:
configure:1566: creating ./config.status

----------------------------------------------------------------------

This file was extended by config.status 2.49b, executed with
 > ./config.status
on nostromo

config.status:1814: creating config.h
configure: exit 0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]