PCC-F-02081, CMD-LINE: Unterminated option value list or value list was truncated. 错误原因及解决办法


用proc预编译一个.pc文件,提示错误:
PCC-F-02081, CMD-LINE:  Unterminated option value list or value list was truncated.

经调查是因为 pcscfg.cfg 文件里的 sys_include 的内容太长所致。

[root@localhost admin]# cat pcscfg.cfg
sys_include=($ORACLE_HOME/rdbms/public,$ORACLE_HOME/precomp/public,/usr/include,/usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include,/usr/lib64/gcc/x86_64-suse-linux/4.1.0/include,/usr/lib64/gcc/x86_64-suse-linux/4.3/include,/usr/lib/gcc/x86_64-redhat-linux/4.4.4/include)
ltype=short
define=__x86_64__
[root@localhost admin]#


【解决办法】引用 http://bytes.com/topic/oracle/answers/909188-having-problem-pro-compiler 里一网友的回答:

sys_include is one of the options of the proc so the length of this must be small. Therefore, we must put just the necessary elements for example:
sys_include=($ORACLE_HOME/sdk/include,/usr/include,/usr/lib/gcc/i486-linux-gnu/4.4.3/include) in the file /usr/lib/oracle/11.2/client/precomp/admin/pcscfg.cfg
Regards,


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值