g++ - C++ strange compile linker error -
I'm trying to compile a large C ++ project and I'm getting this weird error I know that This error is being linked but it can not be ascertained whether it is ok
test_oqlquery.o :( rodata._ZTV8r_MarrayIhE [for vistor for r_Marray] 0x8): .. The undefined reference r_Marray & LT; Unsigned four & gt; :: ~ r_Marray () 'test_oqlquery.o :( rodata._ZTV8r_MarrayIhE [r_Marray & lt vtable; Unsigned four & gt;] 0xc):.
undefined reference to r_Marray :: ~ r_Marray () 'test_oqlquery.o :( rodata._ZTV8r_MarrayIhE + 0x28) [vtable for r_Marray]:. `R_Marray: :: print_status undefined reference (std :: basic_ostream> & amp;) constants'
What does this error mean? And, is it possible to see the line number where an error is occurring? how ? What do I mean primarily with
In fact, my error is like this, but do not know why everything inside the angle. "Rodata._ZTV8r_MarrayIhE + 0x28 [for R_Marray vtable] "Concerned brackets are unavailable, so replacing them with" ", here is a detailed error, there is something to do with template installation, as well as
test_oqlquery.o :( Rodata._ZTV8r_MarrayIhE [r_Marray for "unsigned four"] + 0x8): "r_Marray" drew to unsigned char Dharit reference :: ~ R_Marray () have been '
I use g + + 4.3.3.
Please excuse me, I can not send full source code here as it is too large and spread to more than one directory.
Thanks a lot.
First of all, linker errors and compiler errors are different things. Since the linkir deals with, compiler errors are a line number but do not have linksy errors.
Secondly, it appears that you have declared the destroyer r_Marray but it has not implemented anywhere in the build. print_status .
Comments
Post a Comment