我試圖在Ubuntu 15.04 64位系統中安裝qemu-0.14.1。在給make命令它提供了以下錯誤:qemu中的錯誤0.14.1在Ubuntu 15.04 64位
../slirp/misc.o:在功能memset': /usr/include/x86_64-linux-gnu/bits/string3.h:86: warning: memset used with constant zero length parameter; this could be due to transposed parameters ../qemu-timer.o: In function
dynticks_start_timer': /home/shruti/Downloads/qemu-0.14.1/qemu-timer.c:862 :未定義參照timer_create' ../qemu-timer.o: In function
dynticks_rearm_timer ': /home/shruti/Downloads/qemu-0.14.1/qemu-timer.c:901:未定義參照timer_gettime' /home/shruti/Downloads/qemu-0.14.1/qemu-timer.c:914: undefined reference to
timer_settime' ../qemu-timer.o:在功能dynticks_stop_timer': /home/shruti/Downloads/qemu-0.14.1/qemu-timer.c:880: undefined reference to
timer_delete ' collect2:錯誤:ld返回1退出狀態 Makefile:347:目標'qemu-system-arm'失敗的配方 make [1]:* [qemu-system-arm]錯誤1 Makefile:84:配方爲目標「子目錄臂-softmmu」失敗 化妝:* [子目錄臂-softmmu]錯誤2
誰能請用正確的步驟,以及爲什麼這個錯誤就要涉及到計時器對象文件指導。
最有可能的,你看到的是更近的工具鏈是與問候較少許可編譯有錯誤的代碼。您正嘗試使用GCC 4.9來構建與GCC 4.6同步的源代碼。你可以嘗試安裝GCC 4.6並用它來編譯。 – unixsmurf