Undefined reference to vtable for CCpuInfo

Undefined reference to vtable for CCpuInfo

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

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.