slarch.c:(.text+0x2a3): undefined reference to `__intel_cpu_feature_indicator_x’ in Redhat Linux 7 while linking Oracle 19c libraries [duplicate]

  c++, linux, oracle19c, redhat

C++ code compilation with Oracle Studio Developer 12.5 in Redhat Linux 7.1 throws undefined reference to `__intel_cpu_feature_indicator_x’ compilation error while linking oracle 19c library file.

/export/home/user1/Appl/exe/abc
/opt/oracle/19.3.0/lib/libcore19.a(slarch.o): In function slarch_osd_init': slarch.c:(.text+0x2a3): undefined reference to __intel_cpu_feature_indicator_x’
slarch.c:(.text+0x562): undefined reference to __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] Error 2
make[1]: Leaving directory `/export/home/user1/Appl/source’
make: *** [lifecad] Error 2

Compilation in Sun Solaris 5.1 is successful with Oracle Studio developer. But, not on Redhat Enterprise Linux 7.1 platform.

Has anyone faced such issues with oracle library files in Redhat Linux platform?

If yes, please advise how you managed to resolve it?

Source: Windows Questions C++

LEAVE A COMMENT