首页 > 解决方案 > slarch.c:(.text+0x2a3): 链接 Oracle 19c 库时在 Redhat Linux 7 中未定义对“__intel_cpu_feature_indicator_x”的引用

问题描述

在 Redhat Linux 7.1 中使用 Oracle Studio Developer 12.5 进行 C++ 代码编译会在链接 oracle 19c 库文件时引发对“__intel_cpu_feature_indicator_x”的未定义引用编译错误。

/export/home/user1/Appl/exe/abc /opt/oracle/19.3.0/lib/libcore19.a(slarch.o): 在函数slarch_osd_init': slarch.c:(.text+0x2a3): undefined reference to __intel_cpu_feature_indicator_x' slarch.c:(.text+0x562): 未定义引用__intel_cpu_features_init_x' slarch.c:(.text+0x572): undefined reference to __intel_cpu_features_init_x' slarch.c:(.text+0x58a): undefined reference to __intel_cpu_features_init_x' slarch.c:(.text+0x5a1): undefined reference to __intel_cpu_features_init_x' slarch.c:(.text+0x5b8): undefined reference to __intel_cpu_features_init_x' /opt/oracle/19.3.0/lib/libcore12.a(slarch.o):slarch.c:(.text+0x5cf): more undefined references to __intel_cpu_features_init_x' follow make[1]: *** [/export/home/user1 /Appl/exe/abc] 错误 2 make[1]: 离开目录 `/export/home/user1/Appl/source' make: *** [lifecad] 错误 2

Oracle Studio 开发人员在 Sun Solaris 5.1 中的编译是成功的。但是,不是在 Redhat Enterprise Linux 7.1 平台上。

有人在 Redhat Linux 平台上遇到过 oracle 库文件这样的问题吗?

如果是,请告知您是如何解决的?

标签: c++linuxredhatoracle19c

解决方案


推荐阅读