diff --git a/source/server/vnode/src/vnodeMain.c b/source/server/vnode/src/vnodeInt.c
similarity index 100%
rename from source/server/vnode/src/vnodeMain.c
rename to source/server/vnode/src/vnodeInt.c
diff --git a/source/server/vnode/tq/src/tq.c b/source/server/vnode/tq/src/tq.c
index 6dea4a4e57..a539182115 100644
--- a/source/server/vnode/tq/src/tq.c
+++ b/source/server/vnode/tq/src/tq.c
@@ -11,4 +11,9 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
- */
\ No newline at end of file
+ */
+
+#include "tq.h"
+
+int tqPushMsg(void * p) {return 0;}
+int tqCommit(STQ *pTQ) {return 0;}
diff --git a/source/server/vnode/tsdb/CMakeLists.txt b/source/server/vnode/tsdb/CMakeLists.txt
index 4a1e154cd5..426fa2a317 100644
--- a/source/server/vnode/tsdb/CMakeLists.txt
+++ b/source/server/vnode/tsdb/CMakeLists.txt
@@ -5,8 +5,8 @@ target_include_directories(
PUBLIC "${CMAKE_SOURCE_DIR}/include/server/vnode/tsdb"
PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
)
-target_include_directories(
+target_link_libraries(
tsdb
- PRIVATE os
+ PUBLIC os
PRIVATE common
)
\ No newline at end of file
diff --git a/source/server/vnode/tsdb/src/tsdb.c b/source/server/vnode/tsdb/src/tsdb.c
index 6dea4a4e57..b79d6a850e 100644
--- a/source/server/vnode/tsdb/src/tsdb.c
+++ b/source/server/vnode/tsdb/src/tsdb.c
@@ -11,4 +11,9 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
- */
\ No newline at end of file
+ */
+
+#include "tsdb.h"
+
+int tsdbInsert(STsdb *pTsdb, SSubmitReq *pMsg) { return 0; }
+int tsdbCommit(STsdb *pTsdb) { return 0; }
\ No newline at end of file