找不到-lstdc++

Srs*_*ook 6 make

我正在尝试使用 make 但我不断收到此错误。尝试了 make clean、更新 cpp 和其他一些东西。

\n\n
cc1plus: warning: command line option \xe2\x80\x98-Wstrict-prototypes\xe2\x80\x99 is valid for C/ObjC but not for C++\ncreating build/lib.linux-x86_64-2.7\nx86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-PPrPZj/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-PPrPZj/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/lhapdf.o -L/home/adrian/Desktop/LHAPDF-6.2.3/src/.libs -lstdc++ -lLHAPDF -o build/lib.linux-x86_64-2.7/lhapdf.so\n/usr/bin/ld: cannot find -lstdc++\ncollect2: error: ld returned 1 exit status\ncollect2: error: ld returned 1 exit status\nerror: command 'x86_64-linux-gnu-gcc' failed with exit status 1\nMakefile:485: recipe for target 'all-local' failed\nmake[2]: * [all-local] Error 1\nmake[2]: Leaving directory '/home/adrian/Desktop/LHAPDF-6.2.3/wrappers/python'\nMakefile:376: recipe for target 'all-recursive' failed\nmake[1]: * [all-recursive] Error 1\nmake[1]: Leaving directory '/home/adrian/Desktop/LHAPDF-6.2.3/wrappers'\nMakefile:509: recipe for target 'all-recursive' failed\nmake: * [all-recursive] Error 1\n
Run Code Online (Sandbox Code Playgroud)\n\n

另外,在此之前我有几个:

\n\n
nothing could be done for ''All...''\n
Run Code Online (Sandbox Code Playgroud)\n