Re: [問題] 又是編譯問題

看板PttCurrent作者 (凱特曼)時間21年前 (2005/03/22 01:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《deduce ()》之銘言: : 不好意思 小弟功力真的太差 幾乎每次遇到問題都上來求助於各位orz : 這次一樣是遇到make的錯誤@@" : ccache gcc -O -pipe -g -Os -Wall -pipe -DBBSHOME='"/home/bbs"' -I../include : -I/usr/local/include : -D__OS_MAJOR_VERSION__="4" -D__OS_MINOR_VERSION__="9-RELEASE" -c read.c : read.c: In function `select_read': : read.c:399: syntax error before `*' : read.c:424: `fh' undeclared (first use in this function) : read.c:424: (Each undeclared identifier is reported only once : read.c:424: for each function it appears in.) 試看看 read.c 裡面的 select_read(const keeploc_t * locmem, int sr_mode) 內 原來 STATINC(STAT_SELECTREAD); fileheader_t *fh = &headers[locmem->crs_ln - locmem->top_ln]; 改成 fileheader_t *fh = &headers[locmem->crs_ln - locmem->top_ln]; STATINC(STAT_SELECTREAD); 可以make過 但是還沒測試功能是不是OK -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.248.90.232
文章代碼(AID): #12FlyYJv (PttCurrent)
討論串 (同標題文章)
文章代碼(AID): #12FlyYJv (PttCurrent)