[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in AC_FUNC_FSEEKO
From: |
James Andrewartha |
Subject: |
bug in AC_FUNC_FSEEKO |
Date: |
Thu, 21 Dec 2006 18:26:19 +0900 (WST) |
I'm compiling gstreamer on an Alpha running Linux, and I get the following
error:
http://jhbuild.bxlug.be/builds/2006-12-20-0008/logs/gstreamer/#build
Tracing it back, the problem comes from AC_FUNC_FSEEKO - the config.log
for the above build contains:
configure:26528: checking for _LARGEFILE_SOURCE value needed for large files
configure:26555: gcc -o conftest -O2 -Wall -Wno-unknown-pragmas
-Wno-strict-aliasing -Wno-format -Wno-cast-align conftest.c >&5
conftest.c: In function 'main':
conftest.c:44: warning: implicit declaration of function 'fseeko'
configure:26561: $? = 0
configure:26625: result: no
stdio.h contains
#if defined __USE_LARGEFILE || defined __USE_XOPEN2K
# ifndef __USE_FILE_OFFSET64
before the definition of fseeko.
_USE_LARGFEILE doesn't need to be #defined on Alpha, which is why
ac_cv_sys_largefile_source is set to no. The check
if test $ac_cv_sys_largefile_source != unknown; then
AC_DEFINE(HAVE_FSEEKO, 1,
[Define to 1 if fseeko (and presumably ftello) exists and is
declared.])
fi
])# AC_FUNC_FSEEKO
then incorrectly causes HAVE_FSEEKO to be defined. I'm using autoconf
2.61 on Debian etch.
--
# TRS-80 trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC Wheel Member http://trs80.ucc.asn.au/ #| what squirrels do best |
[ "There's nobody getting rich writing ]| -- Collect and hide your |
[ software that I know of" -- Bill Gates, 1980 ]\ nuts." -- Acid Reflux #231 /
- bug in AC_FUNC_FSEEKO,
James Andrewartha <=