aix 4.1.x
bind 8.2 / patch1
#################################################
# Date: 19 Mar 1999 06:06:27 -0800
# From: Christian Krackowizer <kr...@technodat.co.at>
# Newsgroups: comp.protocols.dns.bind
# Subject: 8.2 under AIX
# Resent-From: bind-...@vix.com
#
# Hi,
#
# compilation went well under AIX 4.1.5, but linking of 'dig' fails with an
# undefined symbol .WCOREDUMP
#
# any suggestions ?
#
# regards
#
#
# +-----------------------------------------------------------------+
# | Krackowizer Christian mailto:kr...@technodat.co.at |
# | TECHNODAT Phone: ++43-(0)662-454944-0 |
# | CAD/CAM - Systeme fuer Moebel GmbH FAX: ++43-(0)662-454944-9 |
# | Jakob-Haringer-Strasse 6 http://www.technodat.co.at/ |
# | A-5020 Salzburg / Austria |
# +-----------------------------------------------------------------+
#################################################
I am experiencing the above problem.
The problematic portion of compile
is at the end
What is the remedy/solution?
Thanks,
Farid
make[2]: Leaving directory `/nfs/s1/items/bind/8.2/src/bin/nslookup'
/nfs/s1/items/bind/8.2/src/bin/dig
make[2]: Entering directory `/nfs/s1/items/bind/8.2/src/bin/dig'
cc -g -O2 -I../../port/aix4/include -I../../include -c dig.c
cc -g -O2 -o dig dig.o \
../nslookup/subr.o ../nslookup/send.o ../nslookup/list.o
../nslookup/debug.o ../../lib/libbind.a -ll
ld: 0711-317 ERROR: Undefined symbol: .WCOREDUMP
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make[2]: *** [dig] Error 8
make[2]: Leaving directory `/nfs/s1/items/bind/8.2/src/bin/dig'
make[1]: *** [dig] Error 2
make[1]: Leaving directory `/nfs/s1/items/bind/8.2/src/bin'
make: *** [all] Error 2
# Script command is complete. The file is typescript.
> Date: 27 Mar 1999 12:24:37 +0200
> From: Mattias Amnefelt <matt...@stacken.kth.se>
> To: Farid Hamjavar <hamj...@unm.edu>, bind...@isc.org
> Cc: kr...@technodat.co.at, bind-...@isc.org
> Subject: Re: help: undefined symbol .WCOREDUMP
>
> Farid Hamjavar <hamj...@unm.edu> writes:
>
> > # compilation went well under AIX 4.1.5, but linking of 'dig' fails with an
> > # undefined symbol .WCOREDUMP
> > #
> > # any suggestions ?
>
> WCOREDUMP isn't definded under any version of AIX I've looked at, but it
> ought to be defined as follows:
>
> #ifndef WCOREDUMP
> #define WCOREDUMP(x) ((x) & 0x80)
> #endif
>
> Add that to something included by dig.c (for instance
> src/port/aix4/include/port_after.h )
>
> Quite obvious, isn't it? :)
>
Thanks.
Farid
> # compilation went well under AIX 4.1.5, but linking of 'dig' fails with an
> # undefined symbol .WCOREDUMP
> #
> # any suggestions ?
WCOREDUMP isn't definded under any version of AIX I've looked at, but it
ought to be defined as follows:
#ifndef WCOREDUMP
#define WCOREDUMP(x) ((x) & 0x80)
#endif
Add that to something included by dig.c (for instance
src/port/aix4/include/port_after.h )
Quite obvious, isn't it? :)
/mattiasa