configure: error: cannot guess build type;you must specify one

This problem generally occurs on domestic platforms. Judging from the error description, it means: the build type cannot be guessed, you must specify one.

Solution:

1. Search for the two files config.guess and config.sub in the system/usr path.

2. Also search for the two files config.guess and config.sub in the current compilation tool directory.

3. Replace these two files in the current compilation tool directory with the system's config.guess and config.sub files.

4. Execute configure again.

Guess you like

Origin blog.csdn.net/u013992330/article/details/129314299