From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19361 invoked by alias); 2 Sep 2002 17:14:59 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19342 invoked from network); 2 Sep 2002 17:14:51 -0000 Received: from unknown (HELO hofr.at) (80.120.128.82) by sources.redhat.com with SMTP; 2 Sep 2002 17:14:51 -0000 Received: (from root@localhost) by hofr.at (8.10.2/8.9.3/SuSE Linux 8.9.3-0.1) id g82GI4530795; Mon, 2 Sep 2002 18:18:04 +0200 From: Der Herr Hofrat Message-Id: <200209021618.g82GI4530795@hofr.at> Subject: Re: undefined reference to `__errno_location(void)'x In-Reply-To: <20020902130644.34af2db7.gre_spam@anora.org> from GRE Spam Mail at "Sep 2, 2002 01:06:44 pm" To: GRE Spam Mail Date: Mon, 02 Sep 2002 10:14:00 -0000 CC: Rupert Wood , gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00014.txt.bz2 > > How do I check for the symbol? > > I tried this to see if the symbol was there, I don't know if this is the right > way to check: > [root@vaghn (/)] 01:02:53 $ grep "__errno_location" /usr/lib/libpthread.a > Binary file /usr/lib/libpthread.a matches > [root@vaghn (/)] 01:02:56 $ grep "__errno_location" /usr/lib/libpthread.so > Binary file /usr/lib/libpthread.so matches > nm /usr/lib/libpthread.a | grep errno should be safe. hofrat