This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc-3.0
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: gcc-3.0
- From: "Chernoguz, Inessa" <inessa dot chernoguz at intel dot com>
- Date: Sun, 1 Jul 2001 15:57:57 +0300
- Cc: "Chernoguz, Inessa" <inessa dot chernoguz at intel dot com>
Hi All,
I built gcc-3.0 on Hp10.20. When I tried to compile a simple example:
#include <math.h>
#include <iostream.h>
int main()
{
double x=2.0 ,y=5;
int i = 3;
//y = pow(x,i);
cout << "y = " << y << endl;
return 0;
}
I get errors:
/usr/ccs/bin/ld: Unsatisfied symbols:
std::cout (data)
vtable for __cxxabiv1::__class_type_info(data)
std::ios_base::Init::Init()(code)
std::_Format_cache<char>::_Format_cache()(code)
__gxx_personality_sj0 (code)
__cxa_end_catch (code)
std::locale::locale(std::locale const&)(code)
std::ios_base::register_callback(void (*)(std::ios_base::event,
std::ios_base&, int), int)(code)
std::__default_alloc_template<true, 0>::_S_end_free (data)
std::string::_Rep::_S_max_size(data)
std::__malloc_alloc_template<0>::__malloc_alloc_oom_handler (data)
__cxa_begin_catch (code)
std::ios_base::Init::~Init()(code)
std::locale::~locale()(code)
__cxa_call_unexpected (code)
operator delete(void*)(code)
std::ios_base::_M_grow_words(int)(code)
__cxa_rethrow (code)
std::uncaught_exception() (code)
std::__default_alloc_template<true, 0>::_S_node_allocator_lock (data)
operator new(unsigned)(code)
std::__throw_bad_cast() (code)
std::ios_base::xalloc() (code)
std::__throw_length_error(char const*)(code)
std::__default_alloc_template<true, 0>::_S_start_free (data)
std::__throw_ios_failure(char const*)(code)
std::__throw_bad_alloc() (code)
std::__default_alloc_template<true, 0>::_S_heap_size (data)
std::__default_alloc_template<true, 0>::_S_free_list (data)
collect2: ld returned 1 exit status
Maybe you can help me.
Thanks,
Inessa