我想为mipsel交叉编译extundelete。 主机是x86_64 slackware。 我用这个build 错误是
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /opt/e2fsprogs-mipsel/lib//libcom_err.so when searching for -lcom_err
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: extundelete-block.o: Relocations in generic ELF (EM: 8)
我已经传递了LD标志,为什么使用x86_64 ld? 标志有些错误或什么? 如果删除lcomm_err部分,则找不到ext *库。