QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 925|回复: 2

编译xmame0.89出错--->network.c

[复制链接]
发表于 2005-1-19 11:24:50 | 显示全部楼层 |阅读模式
从http://x.mame.net下了xmame0.89的源码包,照http://linuxsir.zahui.net/html/3/74837.htm改了两个地方想让xmame支持网络对战的,没想到编译到network.c这个文件时候出错无法继续,错误信息如下:

[root@kim xmame-0.89]# make
[OSDEPEND] Compiling src/unix/network.c ...
src/unix/network.c:15:1: warning: "NDEBUG" redefined
<command line>:4:1: warning: this is the location of the previous definition
src/unix/network.c: In function `_map_input_port':
src/unix/network.c:1829: error: `IPF_PLAYER2' undeclared (first use in this function)
src/unix/network.c:1829: error: (Each undeclared identifier is reported only once
src/unix/network.c:1829: error: for each function it appears in.)
src/unix/network.c:1830: error: `IPF_PLAYER3' undeclared (first use in this function)
src/unix/network.c:1831: error: `IPF_PLAYER4' undeclared (first use in this function)
src/unix/network.c:1844: error: `IPF_PLAYERMASK' undeclared (first use in this function)
src/unix/network.c:1847: error: `IPF_PLAYER1' undeclared (first use in this function)
make: *** [xmame.obj/unix.x11/network.o] 错误 1
[root@kim xmame-0.89]#


请各位帮我看看哪里出问题了,谢谢!
发表于 2005-1-20 10:14:37 | 显示全部楼层
src/unix/network.c:1829: error: `IPF_PLAYER2' undeclared (first use in this function)

IPF_PLAYER2是你自己添加的函数吗?
回复

使用道具 举报

 楼主| 发表于 2005-1-20 12:47:33 | 显示全部楼层
不是的,本身就已经包含的
我在xmame主页上看到说,网络对战功能取消了
可惜了,这么好的模拟器居然没有联网功能,美中不足啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 12:26 , Processed in 0.061304 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表