In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Description of cross-platform issues in Category +
After compiling the C++ project under the x86 platform, there was a problem that the symbol table _ _ atomic_fetch_sub_4 could not be found when running the compiled C++ shared library, as shown in figure 1.1.
Figure 1.1 symbol table missing
two。 Problem solving
The reason for the missing symbol table is that the corresponding platform compilation option is added when compiling across platforms, and the-march=i686 option is added on x86 platforms, as shown in figure 2.1.
Figure 2.1 adds the Makefile compilation option to compile and upload, and then run the dynamic library, and it is found that there is no problem with the undefined symbol table in the dynamic library, as shown in figure 2.2.
Figure 2.2 screenshot of the normal operation of the dynamic library
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.