看板FreeBSD
标 题Re: 关於FreeBSD的ve
发信站南荣BBS (Mon Oct 25 12:00:42 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
※ 引述《[email protected] (淡…醉了)》之铭言:
> ※ 引述《[email protected] (☆ 火 炎 焱 燚 ☆)》之铭言:
> > 那该怎样可以排除呢?
> > 或是有其他类似的工具可以取代吗?
> cd /usr/ports/chinese/ve
> fetch http://news.ilc.edu.tw/gallery/ve.chinsan.patch
> patch -p < ve.chinsan.patch
输入到这里时,出现下面画面
25# patch -p < ve.chinsan.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- screen.c.orig 2004-10-25 07:25:10.000000000 +0800
|+++ screen.c 2004-10-25 07:32:12.000000000 +0800
--------------------------
File to patch:
> make install clean
安装後还是出现错误>"<
25# make install clean
===> Building for zh-ve-1.0
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -DVEDITOR -c screen.c
In file included from screen.c:9:
/usr/include/varargs.h:34:2: #error "<varargs.h> is obsolete with this
version of GCC."
/usr/include/varargs.h:35:2: #error "Change your code to use <stdarg.h>
instead."
screen.c:605: error: syntax error before "va_dcl"
screen.c:610: warning: parameter names (without types) in function declaration
screen.c:610: warning: data definition has no type or storage class
screen.c:611: error: conflicting types for `fmt'
screen.c:608: error: previous declaration of `fmt'
screen.c:611: error: `args' undeclared here (not in a function)
screen.c:611: error: syntax error before "char"
screen.c:611: warning: data definition has no type or storage class
screen.c:612: warning: parameter names (without types) in function declaration
screen.c:612: warning: data definition has no type or storage class
screen.c:613: warning: parameter names (without types) in function declaration
screen.c:613: warning: data definition has no type or storage class
screen.c:614: warning: parameter names (without types) in function declaration
screen.c:614: warning: data definition has no type or storage class
screen.c:615: error: syntax error before '}' token
*** Error code 1
Stop in /usr/ports/chinese/ve/work/ve-1.0.
*** Error code 1
Stop in /usr/ports/chinese/ve.
*** Error code 1
Stop in /usr/ports/chinese/ve.
> 不过这是我第一次做 patch... 没啥信心:(
> 有问题的话再把相关讯息po出来看看
--
▄▇Tn▇▆▇◤╴◥◥
◢ __ ˙. /◣ ◢ .▎
* ̄ \▃▂▁╰──── 生活
是不
是也
可以
如此
闲适
~
◢ ̄ ̄ ̄\▲_ ◢/◥ ̄ ̄ ◢
◥ ╰──╯ 二▼ █ ▆▇◤
▅▃▃▅▇  ̄
▆▆▇
--
╭┼ Or
igin:
南荣技术学院˙南荣BBS bbs.njtc.edu.tw
┼┘ A
uthor:
VIPER 从 218-172-94-76.dynamic.hinet.net 发表