From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1e73ab0e39f3c740,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-10-01 07:44:09 PST Path: gmd.de!newsserver.jvnc.net!udel!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!not-for-mail From: marty@cs.utexas.edu (Marty J. Sirkin) Newsgroups: comp.unix.osf.osf1 Subject: Help with problem with *libc_r.a* Date: 1 Oct 1993 09:38:43 -0500 Organization: CS Dept, University of Texas at Austin Message-ID: <28hfdj$1a3@ahhnold.cs.utexas.edu> NNTP-Posting-Host: ahhnold.cs.utexas.edu I have a problem and am hoping that someone out there has an answer. I have an application which compiles, links and, runs with the standard libraries (including libc.a). The application can be either single or multi-threaded. When I run it with 2 threads (with libc.a) it quite reasonably fails at random locations. I then tried to link the program with the libc_r.a that comes with our OSF/1 distribution. I ran into quite a few unresolved externals (including memcpy and memset). Using "ar" to look at the libraries, I noticed that a number of functions (including the two above) are present in libc.a, but are missing in libc_r.a I suspect that either: 1) I have a bad copy of libc_r.a 2) There is another library out there with the thread-reentrant versions of the missing functions (although I doubt this - why would they break up libc.a?) or 3) There's a trick to this that I am missing. Does anyone out there have an idea? I'd appreciate any suggestions either via E-mail or posting. Thanks in advance, Marty Sirkin Disclaimer: I work for IBM, and sure wish they'd let me speak for them...