云外归鸟工作室网站

标题: 编译出错~ [打印本页]

作者: MUDXNI    时间: 2012-4-9 22:19
标题: 编译出错~
黑月1.5版编译正常换2.1就出错~

★★★黑月工具开始处理程序★★★
读取程序文件成功
分析易语言程序成功
写出程序对象文件成功
编译资源成功
转化资源对象文件成功
编译黑月程序出错:
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRT.lib(MSVCRT.dll)

LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRT.lib(MSVCRT.dll)

LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.lib(cinitexe.obj)

LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.lib(cinitexe.obj)

LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.lib(cinitexe.obj)

LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.lib(cinitexe.obj)

LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRT.lib(MSVCRT.dll)

LIBCMT.lib(strchr.obj) : error LNK2005: _strchr already defined in MSVCRT.lib(MSVCRT.dll)

LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRT.lib(MSVCRT.dll)

LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in MSVCRT.lib(MSVCRT.dll)

LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library

hexorbin.exe : fatal error LNK1169: one or more multiply defined symbols found


----------------------------
写入可执行文件的版本信息失败!



经过代码排除出现在这个dll命令!不知到能不能解决!现在我都用回1.5的黑月!

.版本 2

.DLL命令 设置一个套接字选项, 整数型, "ws2_32.dll", "setsockopt", , setsockopt 设置一个套接字选项
    .参数 网络通讯标识符, 整数型, , s     网络通讯标识符   描述标识一个套接字。  
    .参数 级别, 整数型, , level 级别             在该选项定义(例如水平,SOL_SOCKET)。
    .参数 操作名称, 整数型, , optname 操作名称         套接字选项的值被设置(例如,SO_BROADCAST)。该optname参数必须是一个套接字选项定义在指定的水平,或行为是不确定的
    .参数 操作结构, 整数型, , optval 操作结构    指针在其中所请求的选项的值是指定的缓冲区
    .参数 操作结构长度, 整数型, , optlen 操作结构长度     大小,指出以字节的缓冲区,由optval参数






欢迎光临 云外归鸟工作室网站 (http://www.ywgn.net/) Powered by Discuz! X3