Gcc compilation error: undefined link to libc_name_p

When compiling GCC, you can get very far in the build process only with an error with an error related to the lack of gperf. After installing gperf and running, I click the <undefined link to libc_name_p . "I reviewed the solutions here and here , but they didn’t help.

+6
gcc compilation
source share
1 answer

When gperf was not installed, compiling the script still executed the command, but generated a space ./gcc/cp/cfns.h . Since this file was newer than the source ( ./gcc/cp/cfns.gperf ), the make file left it alone and never restored the “real” file when you really had gperf. To continue, run rm ./gcc/cp/cfns.h and try again.

+8
source share

All Articles