From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14832 invoked by alias); 28 Jun 2002 08:52:56 -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 14811 invoked from network); 28 Jun 2002 08:52:52 -0000 Received: from unknown (HELO web14403.mail.yahoo.com) (216.136.174.60) by sources.redhat.com with SMTP; 28 Jun 2002 08:52:52 -0000 Message-ID: <20020628085251.39122.qmail@web14403.mail.yahoo.com> Received: from [12.234.138.227] by web14403.mail.yahoo.com via HTTP; Fri, 28 Jun 2002 01:52:51 PDT Date: Fri, 28 Jun 2002 01:52:00 -0000 From: Long Li Subject: g++ -lmalloc error To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00243.txt.bz2 Hi, Guys, I am having a problem when I try to compile a file with g++. When I typed: g++ -Wall -g -lpthread -lrt -lmalloc -I{$my_file_path} I got such error: /usr/bin/ld: can not find -lmalloc collect2: ld returned 1 exit status I guess the problem is from ld. Could you tell me what I need to do to make it work? Thanks a lot! Long __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com