An error in the linking phase (undefined reference to a new C+ class)

Hello,

I added a C+ class (namespace) to the HeavyDB, I was able to compile the code (I added the new class to the Cmake files). However, I was not able to run it, it show the error “undefined reference to New namespace”. I the think the issue is in the linking phase, so I was wondering where I could link my new class to “initdb”.

If I run this command : “cmake -DCMAKE_BUILD_TYPE=debug …”
it runs fine, but it fails in this: “make -j 32” with the error : " undefined reference to X_NameSpace", when it was trying to make initdb.

if anyone can help me with this issue, I would be grateful.

Thanks