对Process::process_data_buffer(int, AppData*, int, int)'的

Undefined reference to `Process::process_data_buffer(int, AppData*, int, int)'

本文关键字:int Process data process buffer AppData      更新时间:2023-10-16

我试图在ns2中运行make命令,但我得到这个错误:

undefined reference to Process::process_data_buffer(int, AppData*, int, int) collect2: ld returned 1 exit status make: *** [ns] Error 1

我用的是ubuntu 10.04

没有示例代码是不可能定位问题的。

但是,在。cpp文件中实现的成员函数很可能与。h文件

中声明的签名不同。

仔细检查,确保它们是相同的