标题: 编译出错: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