From kerberos-acl@MIT.EDU Wed Aug 16 20:58:53 2000
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id UAA24445
for <bugs@RT-11.MIT.EDU>; Wed, 16 Aug 2000 20:58:53 -0400 (EDT)
Received: from grand-central-station.MIT.EDU (GRAND-CENTRAL-STATION.MIT.EDU [18.69.0.34])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id UAA04887
for <bugs@RT-11.MIT.EDU>; Wed, 16 Aug 2000 20:58:49 -0400 (EDT)
Received: from melbourne-city-street.MIT.EDU (MELBOURNE-CITY-STREET.MIT.EDU [18.69.0.45])
by grand-central-station.MIT.EDU (8.9.2/8.9.2) with ESMTP id UAA13726;
Wed, 16 Aug 2000 20:58:48 -0400 (EDT)
Received: from karman.mit.edu (KARMAN.MIT.EDU [18.33.0.55])
by melbourne-city-street.MIT.EDU (8.9.3/8.9.2) with ESMTP id UAA18142;
Wed, 16 Aug 2000 20:58:47 -0400 (EDT)
Received: by karman.mit.edu (8.8.7/4.7) id UAA07274; Wed, 16 Aug 2000 20:58:46 -0400
Message-Id: <200008170058.UAA07274@karman.mit.edu>
Date: Wed, 16 Aug 2000 20:58:46 EDT
From: "Tolulope O. Okusanya MIT Fluid Dynamics Research Lab." <tolulope@MIT.EDU>
To: krb5-bugs@MIT.EDU
Cc: tolulope@MIT.EDU
Subject: krb5 1.2.1 on AIX
Show quoted text
>Number: 876
>Category: krb5-build
>Synopsis: krb5 1.2.1 on AIX
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Aug 16 20:59:00 EDT 2000
>Last-Modified: Fri Oct 5 19:54:55 EDT 2001
>Originator: Tolulope O. Okusanya
>Organization:
>Release: krb5-1.2.1
>Environment:
AIX 4.3.0
Show quoted text
>Description:
I am currently trying to build krb5-1.2.1 on an IBM running AIX 4.3.0
and I had some problems during the build .. I have included the output from
make below. I ran configure as "configure --prefix=/security/krb5". The
problem seems to be with unresolved symbols which actually reside in
libcomm_err.a . By adding this during the linking phase as
/bin/ld -o shr.o.1.0 ../et/libcom_err.a.3.0 libss.a.1.0 -H512 -T512 -bnoentry
-bM:SRE -bgcbypass:1 -bnodelcsect -bE:libss.a.1.0.syms -lc
it worked fine. I don't know if this is a peculiarity specific to building on
AIX because I have had the same problem building on previous releases of krb5.
This has never shown up when building on other platforms such as IRIX, SUN or
HPUX.
--Tolu
Output from make below this ..
*****************************************************
making all in util...
rm -f libupdate libupdate.tmp
sed -e 's,@''ARADD''@,ar cruv,g' -e 's,@''ARCHIVE''@,ar cqv,g'
./libupdate.sh > libupdate.tmp && chmod +x libupdate.tmp && mv libupdate.tmp
libupdate
rm -f makeshlib makeshlib.tmp
sed -e 's,@''CC''@,cc,g' -e 's,@''HOST_TYPE''@,powerpc-ibm-aix4.3.0.0,g
' -e 's,@''HAVE_GCC''@,,g' ./makeshlib.sh >makeshlib.tmp&&chmod a+x
makeshlib.tmp&&mv makeshlib.tmp makeshlib
making all in util/et...
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 -DHAVE_STRERROR=1 -DHAVE_STDARG_H=1
-DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I. -c error_message.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 -DHAVE_STRERROR=1 -DHAVE_STDARG_H=1
-DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I. -c et_name.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 -DHAVE_STRERROR=1 -DHAVE_STDARG_H=1
-DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I. -c init_et.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1 -DHAVE_STRERROR=1 -DHAVE_STDARG_H=1
-DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT -I../../include -I./../../include
-I../../include/krb5 -I./../../include/krb5 -I. -I. -c com_err.c
rm -f libcom_err.a.3.0
building shared com_err library (3.0)
rm libcom_err.a.3.0
ar cq libcom_err.a.3.0 ./error_message.o ./et_name.o ./init_et.o ./com_err.o
/bin/ld -o shr.o.3.0 libcom_err.a.3.0 -H512 -T512 -bnoentry -bM:SRE
-bgcbypass:1 -bnodelcsect -bE:libcom_err.a.3.0.syms -lc
rm -f libcom_err.a
building static com_err library
ranlib libcom_err.a
rm -f ../../lib/libcom_err.a
(cd ../../lib && ln -s ../util/et/libcom_err.a .)
/bin/sh ./config_script ./compile_et.sh gawk sed > compile_et
chmod 755 compile_et
if cmp ./com_err.h ../../include/com_err.h >/dev/null 2>&1; then :;
else (set -x; rm -f ../../include/com_err.h; cp ./com_err.h
../../include/com_err.h) ; fi
+ rm -f ../../include/com_err.h
+ cp ./com_err.h ../../include/com_err.h
Target "all" is up to date.
making all in util/ss...
/bin/sh ./config_script ./mk_cmds.sh . gawk sed > mk_cmds
chmod 755 mk_cmds
rm -f ct_c.awk
cp ./ct_c_awk.in ct_c.awk
sed -e '/^#/d' ./ct_c_sed.in > ct_c.sed
gawk -f ./../../util/et/et_h.awk outfile=ss_err.h ss_err.et
if [ -d ../../include/ss ] ; then :; else mkdir -p ../../include/ss; fi
for i in ss.h ; do if cmp ./$i ../../include/ss/$i >/dev/null 2>&1;
then :; else (set -x; rm -f ../../include/ss/$i; cp ./$i
../../include/ss/$i) ; fi ; done
+ rm -f ../../include/ss/ss.h
+ cp ./ss.h ../../include/ss/ss.h
for i in ss_err.h ; do if cmp $i ../../include/ss/$i >/dev/null 2>&1;
then :; else (set -x; rm -f ../../include/ss/$i; cp $i ../../include/ss/$i)
; fi ; done
+ rm -f ../../include/ss/ss_err.h
+ cp ss_err.h ../../include/ss/ss_err.h
gawk -f ./../../util/et/et_c.awk outfile=ss_err.c ss_err.et
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c ss_err.c
../../util/ss/mk_cmds std_rqs.ct
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c std_rqs.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c invocation.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c help.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c execute_cmd.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c listen.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c parse.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c error.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c prompt.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c request_tbl.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c list_rqs.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c pager.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c requests.c
cc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DNO_YYLINENO=1
-DHAVE_STRDUP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_SIGNALS=1
-DRETSIGTYPE=void -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DKRB5_KRB4_COMPAT
-I../../include -I./../../include -I../../include/krb5 -I./../../include/krb5
-I. -I./ -I./.. -I./../et -I.. -c data.c
rm -f libss.a.1.0
building shared ss library (1.0)
rm libss.a.1.0
ar cq libss.a.1.0 ./ss_err.o ./std_rqs.o ./invocation.o ./help.o
./execute_cmd.o ./listen.o ./parse.o ./error.o ./prompt.o ./request_tbl.o
./list_rqs.o ./pager.o ./requests.o ./data.o
/bin/ld -o shr.o.1.0 libss.a.1.0 -H512 -T512 -bnoentry -bM:SRE -bgcbypass:1
-bnodelcsect -bE:libss.a.1.0.syms -lc
ld: 0711-317 ERROR: Undefined symbol: _et_list
ld: 0711-317 ERROR: Undefined symbol: .com_err_va
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Tolulope O. Okusanya
tolulope@mit.edu
MIT Fluid Dynamics Research Lab.
************************************************************************
* A polar bear is a rectangular bear after a coordinate transformation *
************************************************************************
************************************************************************
* Room 37-442 *
* 77 Massachussetts Avenue *
* Massachussetts Institute of Technology *
* Cambridge, M.A 02139 *
* *
* TEL: (617) 252-6999 *
* FAX: (617) 258-5143 *
************************************************************************
Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Mon Mar 26 22:33:36 2001
Responsible-Changed-Why:
Recategorized.
Message-Id: <200008170158.VAA07296@karman.mit.edu>
Date: Wed, 16 Aug 2000 21:58:18 EDT
From: "Tolulope O. Okusanya MIT Fluid Dynamics Research Lab." <tolulope@MIT.EDU>
To: krb5-bugs@MIT.EDU
Cc: tolulope@MIT.EDU
Subject: krb5 1.2.1 on AIX
Sorry for such a high volume but one final note is that AIX 4.3 apparently
requires a -r option to ld when building shared libraries with unresolved
symbols. My first e-mail could have been easily rectified by adding this
option as opposed to the "fix" which I used.
--Tolu
State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Fri Oct 5 19:54:44 2001
State-Changed-Why:
Fixed for 1.2.2.
Show quoted text
>Unformatted: