This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
g++ -lmalloc error
- From: Long Li <long21st at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 28 Jun 2002 01:52:51 -0700 (PDT)
- Subject: g++ -lmalloc error
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