回文章列表
作者icemango.bbs@cpu.tfcis.org (芒果肉) 看板: itoc
標題編譯編不過去?
時間動力核心 (2008/05/21 Wed 15:23:31)
前幾天抓了 MapleBBS-3.10-20080508-PACK.tgz 回來

解開以後卻編譯不過去 Orz


錯誤訊息如下:

a - dl_lib.o
ranlib libdao.a
gcc -o bguard bguard.c -DBSD44 -O2 -pipe -I../include -fomit-frame-pointer
-Wunused -s -L../lib -ldao -lcrypt
In file included from ../include/proto.h:28,
                 from ../include/bbs.h:63,
                 from bguard.c:19:
../include/../maple/maple.p:2: error: expected ')' before '*' token
../include/../maple/maple.p:3: error: expected ')' before '*' token
../include/../maple/maple.p:5: error: expected declaration specifiers or
'...' before 'ACCT'
../include/../maple/maple.p:7: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'bitset'
../include/../maple/maple.p:8: error: expected ')' before '*' token
.
.
.
.
.


去看了 bbs.h proto.h maple.p 都沒有問題
請問是發生了什麼問題呢??

我測試的環境是 FreeBSD 7.0-STABLE
gcc 是 gcc4.2.1  也試過 gcc3.3.6 跟 gcc3.4.6 都不行 orz




--
=[:摃��:﹎Origin ]|[  Ocpu.tfcis.org  ]|[�搟說:]=
=[:摃�╱�:Author ]|[   aska.dorm.ccu.edu.tw   ]|[�:]=
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻