Two problems encountered during software installation
Source: Internet
Author: User
Two problems encountered during software installation-general Linux technology-Linux programming and kernel information. The following is a detailed description. When guiding undergraduates to do graduation design today, I encountered two problems that I had not encountered before. They should be representative. record them as follows:
1. you may encounter the can not know the host type, you must specilist the host type problem in./configure.
To put it bluntly, it cannot be linked to the correct c compiler. Since makefile usually uses cc = gcc to make the file, the location of the gcc compiler is first found. Usually, the file is displayed as gcc, gcc236, etc.
Then, create a symbolic link ln-s gcc236 cc
2. errors encountered during make:
Usr/include/linux/wireless. h: 886: error: 'ifnamsiz' undeclared here (not in a function)
It is found that the 2.6 kernel file changes caused
Add the following line to/usr/include/linux/wireless. h at the very top:
# Include
Facts once again prove that all important and useful information is on the English website.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service