c++ - 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 库文件这样的问题吗?
如果是,请告知您是如何解决的?
解决方案
推荐阅读
- listview - 不能在 ListView 中使用 MediaQuery
- python - 使用文本的 TensorFlow 输入管道
- php - Web 平台安装程序:PHP 7.4 的 Windows Cache Extension 2.0 安装失败
- regex - Perl - 使用通配符匹配多行模式
- pyspark - 根据动态计算将值分配给列
- npm - 如何从不同的注册表安装范围包( package.json setup )
- javascript - MongoDB 与子文档的多重连接
- c# - 将此 JSON 制作成一个类
- c# - 从 Web 地址访问 JSON 数据时出现巨大且不一致的延迟
- spring-boot - 无法配置数据源:未指定“url”属性,并且无法配置嵌入式数据源。使用 SQL Server