Chinaunix

标题: 编译出错:Cannot link both coff and omf records. [打印本页]

作者: fishyy    时间: 2005-11-08 13:28
标题: 编译出错:Cannot link both coff and omf records.
一个socket程序,不加数据库操作的话可以编译通过,也可运行
加上数据库操作之后编译就出错:Cannot link both coff and omf records.

环境是sco5.05+informix SE 2.10

/etc/default/cc文件如下:
#       @(#) cc.dfl.src 4.1 91/01/09
#
#       Copyright (C) The Santa Cruz Operation, 1987, 1988, 1989, 1990.
#       Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
#       This Module contains Proprietary Information of
#       The Santa Cruz Operation, Microsoft Corporation
#       and AT&T, and should be treated as Confidential.
#FLAGS=-M3e -xout
FLAGS=-M3e

在编译数据库时需要加 -xout才行

请教各位大侠了,谢谢
作者: wenlq    时间: 2005-11-11 21:05
用配套的esql/c 就可以的。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2