当前位置: 动力学知识库 > 问答 > 编程问答 >

c++ - NSS building troubles

问题描述:

I'm trying to build NSS, but there's some problems, i don't know how to fix them.

After make nss_build_all execution :

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/libgcc.a when searching for -lgcc

/usr/bin/ld: cannot find -lgcc

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../../lib/libgcc_s.so.1 when searching for libgcc_s.so.1

/usr/bin/ld: skipping incompatible /lib/../lib/libgcc_s.so.1 when searching for libgcc_s.so.1

/usr/bin/ld: skipping incompatible /usr/lib/../lib/libgcc_s.so.1 when searching for libgcc_s.so.1

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgcc_s.so.1 when searching for libgcc_s.so.1

/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1

/usr/bin/ld: cannot find libgcc_s.so.1

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/libgcc.a when searching for -lgcc

/usr/bin/ld: cannot find -lgcc

collect2: error: ld returned 1 exit status

make[2]: *** [Makefile:116: now] Error 1

make[2]: Leaving directory '/home/fireship/install/nspr/Linux4.8_x86_cc_glibc_PTH_DBG.OBJ/config'

make[1]: *** [../config/rules.mk:163: export] Error 2

make[1]: Leaving directory '/home/fireship/install/nspr/Linux4.8_x86_cc_glibc_PTH_DBG.OBJ'

make: *** [Makefile:147: build_nspr] Error 2

I'm using Arch Linux.

分享给朋友:
您可能感兴趣的文章:
随机阅读: