SUMMARY: Problem linking after rebuilding libc.sa

From: Fergus McMenemie (fergus@lincoln.gpsemi.COM)
Date: Tue Mar 29 1994 - 17:13:56 CST


George Ross supplied the answer:-

>The shlib.etc Makefile is broken. Add "-ldl" to the ends of the two "ld"
>lines and rebuild.

So the /usr/lib/shlib.etc/Makefile is now:-
-----------------cut here-----------------
#
# @(#)Makefile 1.2 89/10/04 SMI
#

OBJSORT=objsort
AWKFILE=awkfile

libc.so:
        ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
        /bin/ls /usr/lib/libc.so.* > TMP_FILE
        mv a.out libc.so.`cat TMP_FILE | awk -f ${AWKFILE}`
        echo libc.so.`cat TMP_FILE | awk -f ${AWKFILE}` built.

libcs5.so:
        ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
        /bin/ls /usr/5lib/libc.so.* > TMP_FILE
        mv a.out libc.so.`cat TMP_FILE | awk -f ${AWKFILE}`
        echo libc.so.`cat TMP_FILE | awk -f ${AWKFILE}` built.

-----------------cut here-----------------

======================================================================
Fergus McMenemie Tel:(0522) 500500 (switchboard)
GEC Plessey Semiconductors Tel:(0522) 502331 (direct)
Doddington Road Fax:(0522) 502393 (design ctr)
Lincoln,LN6 3LF,EngLand Gnet:595 Email:fergus@lincoln.gpsemi.com
======================================================================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:58 CDT