看板 EE_DSnP 關於我們 聯絡資訊
※ 引述《yea107 (ㄚ隆)》之銘言: : /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h: : At global scope: : /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h:72: : 錯誤:expected unqualified-id before 「namespace」 : 請問這是什麼意思呢??? : 麻煩了 Building libcir.a... make[1]: warning: Clock skew detected. Your build may be incomplete. Checking main... make[1]: Warning: File `../../lib/lib.d' has modification time 1 s in the future > building cirTest... ../../lib/libcir.a(cirMgr.o): In function `__tcf_1': /home/B96/b96501025/b96501025_hw6/src/cir/cirMgr.cpp:7: undefined reference to `CirMgr::~CirMgr()' ../../lib/libcir.a(cirMgr.o):(.rodata._ZTV11CirPrintCmd[vtable for CirPrintCmd]+0x14): undefined reference to `CirPrintCmd::usage(std::basic_ostream<char, std::char_traits<char> >&) const' ../../lib/libcir.a(cirMgr.o):(.rodata._ZTV10CirReadCmd[vtable for CirReadCmd]+0x14): undefined reference to `CirReadCmd::usage(std::basic_ostream<char, std::char_traits<char> >&) const' collect2: ld 回傳 1 make[1]: *** [../../bin/cirTest] Error 1 make: *** [main] Error 2 請問這些又是什麼意思呢??? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 115.43.126.137
ric2k1:就是有的 member functions 沒有寫吧? 06/06 15:33