请问不用apt-get怎么安装dosbox?
发表于 : 2015-10-30 17:40
我需要装个dosbox0.65或者0.63,但是直接sudo apt-get install dosbox得到的是0.74
我从sourceforge下载到0.65源码,在代码根目录执行./configure后,执行make,弹出一大堆报错..
make all-recursive
make[1]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65'
Making all in src
make[2]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src'
Making all in cpu
make[3]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu'
Making all in core_full
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_full'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_full'
Making all in core_normal
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_normal'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_dyn_x86'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_dyn_x86'
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT cpu.o -MD -MP -MF ".deps/cpu.Tpo" -c -o cpu.o cpu.cpp; \
then mv -f ".deps/cpu.Tpo" ".deps/cpu.Po"; else rm -f ".deps/cpu.Tpo"; exit 1; fi
cpu.cpp: In member function ‘void TaskStateSegment::Get_SSx_ESPx(Bitu, Bitu&, Bitu&)’:
cpu.cpp:197:37: error: expected primary-expression before ‘,’ token
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:197:38: error: ‘esp0’ was not declared in this scope
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:197:42: error: ‘offsetof’ was not declared in this scope
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:201:37: error: expected primary-expression before ‘,’ token
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp:201:38: error: ‘sp0’ was not declared in this scope
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp:201:41: error: ‘offsetof’ was not declared in this scope
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp: In function ‘bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)’:
cpu.cpp:249:86: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype);
是我的安装方法错了吗?...
我从sourceforge下载到0.65源码,在代码根目录执行./configure后,执行make,弹出一大堆报错..
make all-recursive
make[1]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65'
Making all in src
make[2]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src'
Making all in cpu
make[3]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu'
Making all in core_full
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_full'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_full'
Making all in core_normal
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_normal'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_dyn_x86'
make[4]: 没有什么可以做的为 `all'。
make[4]:正在离开目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu/core_dyn_x86'
make[4]: 正在进入目录 `/usual/entertainment/game/tools/dosbox-0.65/src/cpu'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT cpu.o -MD -MP -MF ".deps/cpu.Tpo" -c -o cpu.o cpu.cpp; \
then mv -f ".deps/cpu.Tpo" ".deps/cpu.Po"; else rm -f ".deps/cpu.Tpo"; exit 1; fi
cpu.cpp: In member function ‘void TaskStateSegment::Get_SSx_ESPx(Bitu, Bitu&, Bitu&)’:
cpu.cpp:197:37: error: expected primary-expression before ‘,’ token
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:197:38: error: ‘esp0’ was not declared in this scope
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:197:42: error: ‘offsetof’ was not declared in this scope
PhysPt where=base+offsetof(TSS_32,esp0)+level*8;
^
cpu.cpp:201:37: error: expected primary-expression before ‘,’ token
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp:201:38: error: ‘sp0’ was not declared in this scope
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp:201:41: error: ‘offsetof’ was not declared in this scope
PhysPt where=base+offsetof(TSS_16,sp0)+level*4;
^
cpu.cpp: In function ‘bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)’:
cpu.cpp:249:86: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype);
是我的安装方法错了吗?...