This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]