GNU bug report logs - #17773
AIX build errors with coreutils-8.22

Previous Next

Package: coreutils;

Reported by: Michael Felt <mamfelt <at> gmail.com>

Date: Fri, 13 Jun 2014 13:39:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Felt <mamfelt <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Re: AIX build errors with coreutils-8.22
Date: Fri, 13 Jun 2014 15:40:40 +0200
[Message part 1 (text/plain, inline)]
Just noticed: need to add:
cc   -O2 -qlanglvl=extc99   -o src/ptx src/ptx.o src/libver.a
lib/libcoreutils.a  lib/libcoreutils.a  -lpthread


On Fri, Jun 13, 2014 at 3:38 PM, Michael Felt <mamfelt <at> gmail.com> wrote:

> For the most part, the configure and build runs quite clean. There are few
> warnings about assignment of a char* to a const char*.
>
> A few utils are missing the -lpthread library assignment:
>
> To fix this, using make -i I indentified the group (after it was more than
> 1)
>
> These four - at least -
>
> cc   -O2 -qlanglvl=extc99   -o src/csplit src/csplit.o src/libver.a
> lib/libcoreutils.a  lib/libcoreutils.a -lpthread
> cc   -O2 -qlanglvl=extc99   -o src/expr src/expr.o src/libver.a
> lib/libcoreutils.a  lib/libcoreutils.a  -lpthread
> cc   -O2 -qlanglvl=extc99   -o src/nl src/nl.o src/libver.a
> lib/libcoreutils.a  lib/libcoreutils.a  -lpthread
> cc   -O2 -qlanglvl=extc99   -o src/tac src/tac.o src/libver.a
> lib/libcoreutils.a  lib/libcoreutils.a  -lpthread
>
> Further there are two source files that are not compiling because of undefs
>
> make[2]: Entering directory `/data/prj/gnu/coreutils/coreutils-8.22'
>   CC       src/od.o
> "src/od.c", line 432.47: 1506-045 (S) Undeclared identifier
> _GL_FLT_PREC_BOUND.
> "src/od.c", line 432.47: 1506-1324 (S) Array size must have integer type.
> "src/od.c", line 433.49: 1506-045 (S) Undeclared identifier
> _GL_DBL_PREC_BOUND.
> "src/od.c", line 433.49: 1506-1324 (S) Array size must have integer type.
> "src/od.c", line 434.60: 1506-045 (S) Undeclared identifier
> _GL_LDBL_PREC_BOUND.
> "src/od.c", line 434.60: 1506-1324 (S) Array size must have integer type.
> make[2]: [src/od.o] Error 1 (ignored)
>   CCLD     src/od
> cc: 1501-228 (W) input file src/od.o not found
> make[2]: [src/od] Error 252 (ignored)
>   CCLD     src/ptx
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make[2]: [src/ptx] Error 8 (ignored)
>   CC       src/getlimits.o
> "src/getlimits.c", line 110.45: 1506-045 (S) Undeclared identifier
> _GL_FLT_PREC_BOUND.
> "src/getlimits.c", line 110.45: 1506-1324 (S) Array size must have integer
> type.
> "src/getlimits.c", line 111.46: 1506-045 (S) Undeclared identifier
> _GL_DBL_PREC_BOUND.
> "src/getlimits.c", line 111.46: 1506-1324 (S) Array size must have integer
> type.
> "src/getlimits.c", line 112.53: 1506-045 (S) Undeclared identifier
> _GL_LDBL_PREC_BOUND.
> "src/getlimits.c", line 112.53: 1506-1324 (S) Array size must have integer
> type.
> make[2]: [src/getlimits.o] Error 1 (ignored)
>   CCLD     src/getlimits
> cc: 1501-228 (W) input file src/getlimits.o not found
>
> Not sure how to resolve the missing definitions - do not wish to make
> assumptions.
>
> Regards,
> Michael Felt
>
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.