求助,关于tuxedo和DB2 连编程序的问题_MQ, Tuxedo及OLTP讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  MQ, Tuxedo及OLTP讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3004 | 回复: 0   主题: 求助,关于tuxedo和DB2 连编程序的问题        下一篇 
Koei111
注册用户
等级:列兵
经验:81
发帖:42
精华:0
注册:2011-7-22
状态:离线
发送短消息息给Koei111 加好友    发送短消息息给Koei111 发消息
发表于: IP:您无权察看 2014-10-17 10:29:56 | [全部帖] [楼主帖] 楼主

我用的是tuxedo9.1 for linux &DB2 8.2 for linux ,安装完后,TMS_UDB 已经编译成功,并顺利启动,用tuxedo的用户可以连接到 数据库,编写了sqc文件 并且也绑定了bnd文件,成功  。在编译c文件时,出现这样的提示 ,我想问问 编译环境要怎样配置, 望各位指点一下 ,

 buildserver -r UDB_XA -f test.c -s TEST -o test

In file included from test.c:14:sqladef.h:27:67: sqlsystm.h: No such file or directory

In file included from test.c:14:

sqladef.h:78: error: syntax error before "sqluint32"

sqladef.h:78: warning: no semicolon at end of struct or union

sqladef.h:81: error: syntax error before '}' token

sqladef.h:89: error: syntax error before "sqluint32"

sqladef.h:89: warning: no semicolon at end of struct or union

sqladef.h:90: warning: data definition has no type or storage class

sqladef.h:97: error: syntax error before "sqluint32"

sqladef.h:97: warning: no semicolon at end of struct or union

sqladef.h:99: error: syntax error before '}' token

sqladef.h:108: error: syntax error before "SQL_API_FN"

sqladef.h:111: warning: data definition has no type or storage class

sqladef.h:113: error: syntax error before "SQL_API_FN"

sqladef.h:116: error: syntax error before "void"

sqladef.h:116: warning: data definition has no type or storage class

sqladef.h:118: error: syntax error before "SQL_API_FN"

sqladef.h:120: error: syntax error before "int"

sqladef.h:123: warning: data definition has no type or storage class

sqladef.h:125: error: syntax error before "SQL_API_FN"

sqladef.h:126: error: syntax error before '*' token

sqladef.h:130: warning: data definition has no type or storage class

sqladef.h:132: error: syntax error before "SQL_API_FN"

sqladef.h:136: warning: data definition has no type or storage class

sqladef.h:138: error: syntax error before "SQL_API_FN"

sqladef.h:142: warning: data definition has no type or storage class

sqladef.h:144: error: syntax error before "SQL_API_FN"

sqladef.h:145: warning: data definition has no type or storage class

sqladef.h:147: error: syntax error before "SQL_API_FN"

sqladef.h:151: warning: data definition has no type or storage class

sqladef.h:153: error: syntax error before "SQL_API_FN"

sqladef.h:158: warning: data definition has no type or storage class

sqladef.h:160: error: syntax error before "SQL_API_FN"

sqladef.h:165: warning: data definition has no type or storage class

sqladef.h:171: error: syntax error before "SQL_API_FN"

sqladef.h:173: warning: data definition has no type or storage class

sqladef.h:175: error: syntax error before "SQL_API_FN"

sqladef.h:176: error: syntax error before "const"

sqladef.h:177: warning: data definition has no type or storage class

sqladef.h:183: error: syntax error before "SQL_API_FN"

sqladef.h:189: warning: data definition has no type or storage class

sqladef.h:191: error: syntax error before "SQL_API_FN"

sqladef.h:194: error: syntax error before "sqluint32"

sqladef.h:197: warning: data definition has no type or storage class

sqladef.h:199: error: syntax error before "SQL_API_FN"

sqladef.h:202: error: syntax error before "sqluint32"

sqladef.h:207: warning: data definition has no type or storage class

sqladef.h:209: error: syntax error before "SQL_API_FN"

sqladef.h:212: error: syntax error before "sqluint32"

sqladef.h:216: warning: data definition has no type or storage class

sqladef.h:218: error: syntax error before "SQL_API_FN"

sqladef.h:221: error: syntax error before "sqluint32"

sqladef.h:227: warning: data definition has no type or storage class

sqladef.h:229: error: syntax error before "SQL_API_FN"

sqladef.h:229: warning: data definition has no type or storage class

sqladef.h:231: error: syntax error before "SQL_API_FN"

sqladef.h:233: warning: data definition has no type or storage class

sqladef.h:235: error: syntax error before "SQL_API_FN"

sqladef.h:237: warning: data definition has no type or storage class

test.sqc:10:19: sqlca.h: No such file or directory

test.sqc: In function `TEST':

test.sqc:24: error: incompatible types in assignment

test.sqc:27: error: storage size of 'sql_setdlist' isn't known

test.sqc:27: error: storage size of 'sql_setdlist' isn't known

test.sqc:26: error: invalid use of undefined type `struct sqlca'

test.sqc:28: error: invalid use of undefined type `struct sqlca'

test.sqc:28: error: `cahr' undeclared (first use in this function)

test.sqc:28: error: (Each undeclared identifier is reported only once

test.sqc:28: error: for each function it appears in.)

test.sqc:28: error: syntax error before ')' token

test.sqc:29: warning: passing arg 1 of `strcpy' makes pointer from integer without a cast

test.sqc:29: error: too many arguments to function `strcpy'

test.sqc:32: error: `TPSUSSESS' undeclared (first use in this function)

test.sqc: At top level:

test.sqc:11: error: storage size of `sqlca' isn't known

CMDTUX_CAT:1832: ERROR: can't execute cc -I$TUXDIR/include -o test BS-6df4.c -L${TUXDIR}/lib test.c -ltux -lbuft -L /home/db2inst1/sqllib/lib -ldb2 -lfml -lfml32 -lengine -ldl -lpthread /usr/lib/libcrypt.a

--友情转载




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论