In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of what the Ubuntu cross-compilation method is, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe you will gain something after reading this Ubuntu cross-compilation method. Let's take a look at it.
Cross-compile DHCP-4.4.1
Create a new dhcp folder under the home/topeet/ directory of Ubuntu, and copy the downloaded file dhcp-4.4.1.tar.gz to the folder, as shown in figure 89.3.1:
Enter the command tar-vxf dhcp-4.4.1.tar.gz to extract the file, as shown in figure 89.3.2:
Enter the decompressed directory after decompression, as shown in figure 89.3.3
Enter the command: chmod 777 configure gives configure permission, as shown in figure 89.3.4:
Enter the command:. / configure
CC=/usr/local/arm/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gccBUILD_CC=gcc ac_cv_file__dev_random=yes-host=arm-linux-gnueabihf-with-randomdev=no
As shown in figure 89.3.5:
The configuration is completed as shown in figure 89.3.6:
Enter command: make
When make is compiled as shown in the following figure, an error will be reported. Type rm-f / usr/include/zlib.h, as shown in figure 89.3.8:
Then type make again and compile successfully, as shown in figure 89.3.9:
After compilation, you can get the dhclient executable file in the client directory and view the dhclient, as shown in figure 89.3.10:
This is the end of the article on "what is the method of cross-compilation of Ubuntu?" Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "what is the method of Ubuntu cross-compilation". If you want to learn more knowledge, you are welcome to follow the industry information channel.
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.