看板SetupBBS
標 題[求助] make的錯誤訊息
發信站武陵人的桃花源 (Fri Sep 5 17:59:24 2003)
轉信站ptt!ctu-reader!ctu-gate!news.nctu!news.nsysu!news.civil.ncku!netnews.c
os rh9 去 抓了 MapleBBS-3.02_Linxu.tgz
回來解壓縮好了... 到bbs底下
然後進到 src 要make
/bbs/src/lib $ make clean;make 這行很順利的執行完畢
bbs/src/util $ make clean linux install
卻出現錯誤的訊息...
[bbs@localhost util]$ make clean linux install
rm -fr account acl-sort bbsmail bquota camera expire gem-check gem-index hdr-dump mailpost poststat reaper webx *.o *.bak *.BAK *.log
make[1]: Entering directory `/home/bbs/src/util'
gcc -O2 -s -pipe -I../include -fomit-frame-pointer -fforce-mem -funroll-loops -fstrict-prototype -Wunused -c account.c
cc1: unrecognized option `-fstrict-prototype'
make[1]: *** [account.o] Error 1
make[1]: Leaving directory `/home/bbs/src/util'
make: *** [linux] Error 2
我最近才接觸linux 所以看不太懂錯誤訊息在那裡...
請問各位大大... 錯誤訊息要怎麼看? and 解決方法...
看起來好像是
cc1: unrecognized option `-fstrict-prototype'
這行...
不過... 請問要怎麼修改呢?
謝謝
--
╭───╮╭─╮╭╮╭───╮╭──╮╭───╮╭─╮ ╭──╮╭╮ ╭╮
│ ╭╮││ ╰╯││ ││ ││ ╭╯│ │ │ │││ ││
│ │╰╯│ ││ ∥│╰╮╭╯│ ╰╮│ │ ╰╮╭╯│╰─╯│
│ │╭╮│ ││ ╭╯╭╯╰╮╰╮ ││ ╰─╮╭╯╰╮│ │
│ ╰╯││ ╭╮││╭╮╰╮│ │╭╯ ││ ││ ││ │
╰───╯╰─╯╰╯╰╯╰─╯╰──╯╰───╯╰───╯╰──╯╰───╯
--
本文作者: chrisliu (ChrisLiu)
上站地點: adsl-sta-tao-149-51.so-net.net.tw
武陵人的桃花源 bbs.wuling.org