[2553] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-build/271: Krb5-1.0 AIX 4.1.4 make with shared fails

daemon@ATHENA.MIT.EDU (deengert@anl.gov)
Tue Dec 3 14:44:04 1996

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: tlyu@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, deengert@anl.gov
Date: Tue, 3 Dec 1996 13:42:06 -0600
From: deengert@anl.gov
Reply-To: deengert@anl.gov
To: krb5-bugs@MIT.EDU
Cc: krbdev@MIT.EDU


>Number:         271
>Category:       krb5-build
>Synopsis:       Krb5-1.0 AIX 4.1.4 make with shared fails
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    tlyu
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Tue Dec 03 14:43:01 EST 1996
>Last-Modified:
>Originator:     
>Organization:
 
 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (630) 252-5444          <New Area Code 8/3/96>
 PGP Key fingerprint =  20 2B 0C 78 43 8A 9C A6  29 F7 A3 6D 5E 30 A6 7F
>Release:        1.0
>Environment:
AIX 4.1.4 gcc 2.7.2 
	
System: AIX pembroke 1 4 000300234600


>Description:
  Make of util/profile/test_parse fails with collect2: libcom_err.a: library not found

>How-To-Repeat:
Using config options of  --enable-shared
the et/libcom_err.a is built as a shared library: 

echo error_message.o et_name.o init_et.o com_err.o >DONE
./../../util/makeshlib libcom_err.a \
"-L./../../lib" \
    "" "    " "1.0" .
rm libcom_err.a
ar cq libcom_err.a ./error_message.o ./et_name.o ./init_et.o ./com_err.o
/bin/ld -o shr.o.1.0 libcom_err.a -H512 -T512 -bM:SRE -bgcbypass:1 -bnodelcsect -bE:libcom_err.a.syms -L./../../lib -lc
ld: 0711-327 WARNING: Entry point not found: __start
rm -f ../../lib/libcom_err.a.1.0
ln -s ../util/et/libcom_err.a ../../lib/libcom_err.a.1.0
rm -f ./../../lib/libcom_err.a
ln -s libcom_err.a.1.0 ./../../lib/libcom_err.a
make[2]: Leaving directory `/afs/anl.gov/appl/krb5-1.0ea/build/rs_aix41/util/et'

Later in the make:

gcc -o test_parse test_parse.o prof_tree.o prof_file.o prof_parse.o prof_err.o prof_init.o ../et/libcom_err.a
collect2: libcom_err.a: library not found
make[2]: *** [test_parse] Error 1

An ls -l of ../et/libcom_err.a shows it is present. I tried playing
with the mod bits, and this did not help. 


>Fix:
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post