- 论坛徽章:
- 0
|
一个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才行
请教各位大侠了,谢谢 |
|