免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2345 | 回复: 0
打印 上一主题 下一主题

informix cli编译的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-05-26 20:40 |只看该作者 |倒序浏览
本人尝试去编译windows上的 cli demo程序,抱错如下,不知哪位大师有这方面的经验,请指点,谢了先。
I:\csdk35\demo\odbcdemo>nmake -f makefile

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -
D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -Z7 -Od /MD /D_CRT_SECUR
E_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS  /D_CRT_NONSTDC_NO_DEPRECATE /I"I
:\csdk35\incl\cli" blkinsrt.c
blkinsrt.c
blkinsrt.c(52) : error C2061: syntax error : identifier 'SQLLEN'
blkinsrt.c(53) : error C2061: syntax error : identifier 'cbOrderNum'
blkinsrt.c(53) : error C2059: syntax error : ';'
blkinsrt.c(54) : error C2061: syntax error : identifier 'cust_num'
blkinsrt.c(54) : error C2059: syntax error : ';'
blkinsrt.c(55) : error C2061: syntax error : identifier 'cbCustNum'
blkinsrt.c(55) : error C2059: syntax error : ';'
blkinsrt.c(56) : error C2061: syntax error : identifier 'item_num'
blkinsrt.c(56) : error C2059: syntax error : ';'
blkinsrt.c(57) : error C2061: syntax error : identifier 'cbItemNum'
blkinsrt.c(57) : error C2059: syntax error : ';'
blkinsrt.c(59) : error C2061: syntax error : identifier 'cbOrderDate'
blkinsrt.c(59) : error C2059: syntax error : ';'
blkinsrt.c(60) : error C2061: syntax error : identifier 'quantity'
blkinsrt.c(60) : error C2059: syntax error : ';'
blkinsrt.c(61) : error C2061: syntax error : identifier 'cbQuantity'
blkinsrt.c(61) : error C2059: syntax error : ';'
blkinsrt.c(62) : error C2059: syntax error : '}'

设置的informix环境变量如下:
INCLUDE=i:\csdk35\incl;i:\csdk35\incl\cli;i:\csdk35\incl\esql;i:\csdk35\incl\pub
lic;i:\csdk35\incl\dmi;D:\vc\VC98\ATL\INCLUDE;D:\vc\VC98\INCLUDE;D:\vc\VC98\MFC\
INCLUDE;D:\vc\VC98\atl\include;D:\vc\VC98\mfc\include;D:\vc\VC98\include;
INFORMIXDIR=I:\csdk35
INFORMIXSERVER=ol_ids_1150_1
JSERV=d:\oracle\ora92/Apache/Jserv/conf
LANG=ENUS437
LIB=i:\csdk35\lib;D:\vc\VC98\LIB;D:\vc\VC98\MFC\LIB;D:\vc\VC98\mfc\lib;D:\vc\VC9
8\lib


esqlc的程序编译没有问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP