請問編譯MudOS - 線上

By Wallis
at 2005-04-05T23:13
at 2005-04-05T23:13
Table of Contents
我參考的網站 http://www.tacocity.com.tw/Cheng/mud/mud.htm
步驟大致是
1.修改 GNUmakefile or Makefile 的 #UALARM=ualarm.c to UALARM=ualarm.c
2.static void telnet_neg P2(char *, to, char *, from) {..}
裏面的 if (ch & 0x80) { => if (ch == 0xff ) {
3.修改ed.c 裡的一個函式
4.然後直接打 make ,因為在 Linux 下會先讀 GNUmakefile 的關係在編譯中途會 cd
packages;gmake 然後就中斷了此時只需 cd packages;make;cd ..;make 就可以造出
driver 了
我的錯誤訊息
[sam@sam src]$ make
gcc -Iobj -O -o obj/make_malloc.o -c make_malloc.c
In file included from std_incl.h:91,
from std.h:11,
from make_malloc.c:6:
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."
make: *** [obj/make_malloc.o] Error 1
[sam@sam src]$ cd packages
[sam@sam packages]$ make
make: *** No targets specified and no makefile found. Stop.
[sam@sam packages]$
請高手指導一下 謝謝
--
步驟大致是
1.修改 GNUmakefile or Makefile 的 #UALARM=ualarm.c to UALARM=ualarm.c
2.static void telnet_neg P2(char *, to, char *, from) {..}
裏面的 if (ch & 0x80) { => if (ch == 0xff ) {
3.修改ed.c 裡的一個函式
4.然後直接打 make ,因為在 Linux 下會先讀 GNUmakefile 的關係在編譯中途會 cd
packages;gmake 然後就中斷了此時只需 cd packages;make;cd ..;make 就可以造出
driver 了
我的錯誤訊息
[sam@sam src]$ make
gcc -Iobj -O -o obj/make_malloc.o -c make_malloc.c
In file included from std_incl.h:91,
from std.h:11,
from make_malloc.c:6:
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/include/varargs.h:4:2: #error
"GCC no longer implements <varargs.h>."
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/include/varargs.h:5:2: #error
"Revise your code to use <stdarg.h>."
make: *** [obj/make_malloc.o] Error 1
[sam@sam src]$ cd packages
[sam@sam packages]$ make
make: *** No targets specified and no makefile found. Stop.
[sam@sam packages]$
請高手指導一下 謝謝
--
Tags:
線上
All Comments
Related Posts
Re: 請問好嗎..有點困惑..

By Frederic
at 2005-04-05T09:12
at 2005-04-05T09:12
大大們推薦一下吧~^^

By Adele
at 2005-04-03T19:03
at 2005-04-03T19:03
Re: 又併

By Mary
at 2005-04-02T11:29
at 2005-04-02T11:29
請問一下這兩天五星物語怎麼了嗎?

By Wallis
at 2005-04-01T23:28
at 2005-04-01T23:28
請問一下這兩天五星物語怎麼了嗎?

By Dora
at 2005-03-31T21:13
at 2005-03-31T21:13