Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Undefined reference to vtable for CCpuInfo

adnan_khaleel
Beginner
252 Views
Hi there,
I get this error during linking. I'm running on RedHat 8.3 with IntelC 8.0
The error its complaining about is a C++ abstract class.
The code in question was originally written for windows but I'm porting this over to linux and it compiles without a single warning using IntelC compiler for windows but in linux I get lots of warnings and remarks in addition to this error during linking. It compiles fine if I use the -shared flag. However the application seg faults.
Any pointers would be helpful as to why this is happening and how I can remedy it.
Thanks
Adnan
0 Kudos
0 Replies
Reply