This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: __pure_virtual undefined symbol : SOLVED
- To: aoliva at redhat dot com
- Subject: Re: __pure_virtual undefined symbol : SOLVED
- From: sujit kumar <kumar_sujit at yahoo dot com>
- Date: Fri, 17 Aug 2001 04:51:56 -0700 (PDT)
- Cc: gcc-help at gcc dot gnu dot org
hi Alexandre,
How r u ?
I am facing a problem ie., the final executable that I
make using the same script does not call the main
function instead it calls some specific constructors.
I tried debugging the final executable but
(gdb) r
Starting program: /source/GLOOF/ga/./ALADDIN
Breakpoint 1, 0x809bf74 in gl::Renderer::Renderer ()
(gdb) bt
#0 0x809bf74 in gl::Renderer::Renderer ()
#1 0x809bf5c in gl::Renderer::getInstance ()
#2 0x808c082 in gl::Camera::Camera ()
#3 0x8082274 in global constructors keyed to
ToggleFold ()
#4 0x804d336 in __do_global_ctors_aux ()
#5 0x804c2be in _init ()
#6 0x2ab3e6fe in __libc_start_main ()
(gdb)
Is there any lines on which U can suggest as to why
the startup code is not calling main.cpp.
Pls suggest.
Thanx &
Regards
Sujit
--- aoliva@redhat.com wrote:
> On Aug 2, 2001, sujit kumar <kumar_sujit@yahoo.com>
> wrote:
>
> > The solution that U have suggested is not working
> as well.
>
> Did you try to use gcc for linking, instead of
> running ld directly?
>
> --
> Alexandre Oliva Enjoy Guarana', see
> http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer
> aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp
> oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to
> mailing lists, not to me
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/