need help with linker error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to build a shared C++ library using g++.

I can build shared libs that work just fine in straight C, using gcc.
I can also build a C++ standalone executable that works.

But, when I try to build a shared C++ lib, I get the following warning...

/usr/bin/ld: Unsatisfied symbols:
   __iob (data)
   __builtin_delete (code)
   fprintf (code)
   __builtin_vec_new (code)
        #/usr/bin/ld -b test.o symbol_table.o -o test.sl
        #/usr/local/bin/g++ -fPIC -I /opt/rmb/rmb8_02/include test.c -o
test.sl

It's the C++ new and delete hooks that are not being resolved correctly.
I believe the missing hooks are causing my program to crash at runtime.

Here are my system details:
- HP-UX 10.20
- gcc 2.95.2

Any ideas what's going on or how to debug this?

Thanks in advance,

cn

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux