문제

I'm having an error when trying to make xv6 on linux mint 16 64bit. It is a new installation of the linux mint and thus I might be missing of some libraries, I just can't find out which.. This is the error:

gcc -m32 -Werror -Wall -o mkfs mkfs.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
make: *** [mkfs] Error 1

Thanks

도움이 되었습니까?

해결책

try installing multilib by typing sudo apt-get install gcc-multilib in your shell.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top