[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem compiling using -D__USE_MALLOC
From: |
Azhar Abu Talib |
Subject: |
problem compiling using -D__USE_MALLOC |
Date: |
Wed, 03 Jul 2002 14:59:44 +0800 |
hi there,
i am not sure whether this the right place to ask but i am hoping that
you guys can give me some answer to this. I am having memory leak
problem using stl string and i search around and found somebody
suggesting to use -D__USE_MALLOC but somehow i am having problem with
that. Here's what compiler error says:
bash-2.04$ g++ -D__USE_MALLOC leak2.cc
ld: 0711-317 ERROR: Undefined symbol:
basic_string<char,string_char_traits<char
>, __malloc_alloc_template<0> >::nilRep
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
bash-2.04$
by the way I am using g++ version 2.95.2 and running on AIX 4.3.
Appreciate the help that you guys can give me.
Thanks
Azhar
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem compiling using -D__USE_MALLOC,
Azhar Abu Talib <=