mattn\go-oci8\oci8.go连接-instantclient_11_2 报错,求大神指点
jangta·2018-08-23 11:21:54·298次阅读·发布于 Go问答

In file included from D:/worktools/instantclient_11_2/sdk/include/oci.h:541, from ......\mattn\go-oci8\oci8.go:4: D:/worktools/instantclient_11_2/sdk/include/oratypes.h:236:25: error: expected ‘ =’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘ubig_ora’ typedef unsigned _int64 ubig_ora; ^~~~~~~~ D:/worktools/instantclient_11_2/sdk/include/oratypes.h:237:25: error: expected ‘ =’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘sbig_ora’ typedef signed _int64 sbig_ora; ^~~~~~~~ In file included from D:/worktools/instantclient_11_2/sdk/include/oci.h:3045, from ......\mattn\go-oci8\oci8.go:4: D:/worktools/instantclient_11_2/sdk/include/ociap.h:7459:40: error: unknown type name ‘ubig_ora’ OraText *path, ubig_ora *lenp ); ^~~~~~~~ D:/worktools/instantclient_11_2/sdk/include/ociap.h:7471:36: error: unknown type name ‘ubig_ora’ uword origin, ubig_ora offset, sb1 dir ); ^~~~~~~~ D:/worktools/instantclient_11_2/sdk/include/ociap.h:8278:23: error: unknown type name ‘sbig_ora’ sbig_ora bufferLength, sbig_ora *returnLength, ^~~~~~~~ D:/worktools/instantclient_11_2/sdk/include/ociap.h:8278:46: error: unknown type name ‘sbig_ora’ sbig_ora bufferLength, sbig_ora *returnLength, ^~~~~~~~

请问是哪个版本的问题

2022-01-21 12:58:50

已经解决 版本问题!

2022-01-21 12:57:49
发起回帖
未登录,登录后可以回帖