[Top][All Lists]

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

Re: findutils-4.2.0: small compiling problem under AIX 4.3

From: Jens Schleusener
Subject: Re: findutils-4.2.0: small compiling problem under AIX 4.3
Date: Sun, 17 Oct 2004 22:58:01 +0200 (DFT)

On Sun, 17 Oct 2004, James Youngman wrote:

On Sun, Oct 17, 2004 at 09:37:36PM +0200, Jens Schleusener wrote:

Sorry, bad news - it didn't help (I used a freshly extracted
findutils-4.2.1.tar.gz with the new "configure" script), same error:

 source='parser.c' object='parser.o' libtool=no \
 depfile='.deps/parser.Po' tmpdepfile='.deps/parser.TPo' \
 depmode=gcc /bin/sh ../depcomp \
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gnulib/lib -I../lib -I../gnulib/lib
 -I../intl -DLOCALEDIR=\"/usr/local/contrib/share/locale\"  -g -O2 -c
 `test -f 'parser.c' || echo './'`parser.c
 parser.c: In function `insert_time':
 parser.c:1682: parse error before `val'
 parser.c:1684: `val' undeclared (first use in this function)

Here are the diffs of the configure runs (< new, > old):

 < checking for stdint.h... (cached) no
 < ./configure[8595]: gl_FUNC_ALLOCA:  not found
 < checking for long long... yes
> ./configure[8583]: gl_XALLOC:  not found
> checking for long long... yes

Drat.  Here is a less horrid workaround.  Start with the original
4.2.1 distribution.  Run "configure" as normal.  Then edit
"findutils-4.2.1/config.h" and use a text editor add the line

#define intmax_t long long

(or alternatively "typedef long long intmax_t")

It  doesn't matter  where in  the  file you  put it,  but I'd  suggest
putting it at the bottom.  You may also need to perform a similar edit
in findutils-4.2.1/gnulib/config.h.

To make a better job of fixing this (i.e. making it work out of the
box) I would need access to an AIX 4.3 system, which I currently don't

Sorry, I am now very short in time. A first attempt with your first suggestion (in findutils-4.2.1/config.h and findutils-4.2.1/gnulib/config.h) wasn't successful. I will try tommorow also your second suggestion.



Dr. Jens Schleusener            T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493           Bunsenstr.10
Fax: +49 551 709-2169           D-37073 Goettingen
address@hidden  http://www.t-systems.com/

reply via email to

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