From: Uri Blumenthal (uri@watson.ibm.com)
Date: 02/08/93


From: uri@watson.ibm.com (Uri Blumenthal)
Subject: libc.a problem? (can't link "tload")
Date: Mon, 08 Feb 1993 18:39:00 GMT

Hello,
        I'm having the following problem: trying to link
        executables from "procps-0.99.2", linking of
        "tload" dies. Here's what I get:

/u/uri/linux/procps> gmake
gcc-cross -pipe -s -L. -L/u/uri/linux/libc-linux -N -o ps ps.o -lproc
gcc-cross -pipe -s -L. -L/u/uri/linux/libc-linux -N -o uptime uptime.o -lproc
gcc-cross -pipe -s -L. -L/u/uri/linux/libc-linux -N -o tload tload.o -lproc
/u/uri/linux/libc-linux/libc.a(__sigact.o): Undefined symbol ____sig_restore ref
erenced from text segment
/u/uri/linux/libc-linux/libc.a(__sigact.o): Undefined symbol ____masksig_restore
 referenced from text segment
gmake: *** [tload] Error 1

        The library itself seems OK, because:

/u/uri/linux/libc-linux> ../tools/bin/nm libc.a | fgrep ____sig_restore
00000000 T ____sig_restore
         U ____sig_restore
/u/uri/linux/libc-linux>

        What can be the reason for this? Any help is greatly
        appreciated. [Please e-mail.]

-- 
Regards,
Uri.      uri@watson.ibm.com     scifi!angmar!uri 
============
<Disclaimer>