看板 SetupBBS 關於我們 聯絡資訊
※ 引述《itoc (^==^;)》之銘言: > ※ 引述《binbin (冰冰)》之銘言: > > ../lib/libdao.a(str_decode.o): In function `str_iconv': > > str_decode.o(.text+0x1e): undefined reference to `iconv_open' > > str_decode.o(.text+0x69): undefined reference to `iconv' > > str_decode.o(.text+0xd2): undefined reference to `iconv_close' > 沒裝 libiconv 在修正時 已有安裝libiconv-1.8_2 但還是..... 不行 在google找到 dopin大的文章 http://bbs.nsysu.edu.tw/txtVersion/boards/installbbs/M.1050347596.A.html // 如果 很不幸的出現如以下的訊息: str_decode_m3.o: In function `str_decode_M3': str_decode_m3.o(.text+0x332): undefined reference to `libiconv_open' str_decode_m3.o(.text+0x38d): undefined reference to `libiconv' str_decode_m3.o(.text+0x40e): undefined reference to `libiconv_close' str_decode_m3.o: In function `str_iconv_m3': str_decode_m3.o(.text+0x4ee): undefined reference to `libiconv_open' str_decode_m3.o(.text+0x539): undefined reference to `libiconv' str_decode_m3.o(.text+0x5a2): undefined reference to `libiconv_close' % ve str_decode_m3.c #include #include #include #include #undef ICONV_OK // 這樣就不會呼叫 iconv 相關函式 不同的BBS系統 程式碼不一樣 感覺問題應該差不多 弟亂嘗試了undef 還是出現error 哇~~~ -- ※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: 229047.D18-229.ncu.edu.tw