> Building bash 4.2 on an HP-UX/Itanium system:
>
> gmake[1]: Entering directory `/tmp/bash-4.2.build/builtins'
> rm -f mkbuiltins.o
> cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I/tg/freeport/src/bash/bash--4.2
> -I/tg/freeport/src/bash/bash--4.2/include
> -I/tg/freeport/src/bash/bash--4.2/lib
> -I/tg/freeport/src/bash/bash--4.2/builtins -DHPUX
> -D_HPUX_API_LEVEL=20040821 -D_HPUX_SOURCE -g
> /tg/freeport/src/bash/bash--4.2/builtins/mkbuiltins.c
> cc +DD64 +DO11.00 +DSblended +Olit=all -mt +w -z +p -Wl,+k +O1 +Onofltacc
> +Onolimit +Onosize -g -o mkbuiltins mkbuiltins.o -ldl
> ld: Can't find library or mismatched ABI for -ldl
> Fatal error.
> gmake[1]: *** [mkbuiltins] Error 1
> gmake[1]: Leaving directory `/tmp/bash-4.2.build/builtins'
> gmake: *** [builtins/builtext.h] Error 1
>
> The attached patch (against the 4.2 source) fixes the problem for me.
What is the part of CFLAGS that fixes this, and why not just add it to
CFLAGS_FOR_BUILD? CFLAGS_FOR_BUILD is for the `build tools' part of the
builtins library.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/