[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: James Youngman
Subject: Re: findutils-4.2.0: small compiling problem under AIX 4.3
Date: Sun, 17 Oct 2004 20:48:16 +0100
User-agent: Mutt/1.3.28i

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
>  130,131c129
>  < ./configure[8595]: gl_FUNC_ALLOCA:  not found
>  < checking for long long... yes
>  ---
>  > ./configure[8583]: gl_XALLOC:  not found
>  140a139
>  > 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

James Youngman.

reply via email to

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