autoreconf收到错误:所需文件' ./ test-driver'未找到

时间:2016-12-04 07:33:43

标签: autotools

运行autoreconf时出现此错误

parallel-tests: error: required file './test-driver' not found
parallel-tests:   'automake --add-missing' can install 'test-driver'

如何解决此错误?

1 个答案:

答案 0 :(得分:5)

autoreconf有一个选项--install(短版-i),通过使用这个选项,将自动安装一些缺少的依赖项。这是一个很好的选择。此选项可以修复其他几个错误。

.equ X, 12      @ the divisor - change to whatever number you wish
.equ Y, 5       @ the dividend - change to whatever number you wish

.global main

main:   
        LDR R6, =Y              @ R6 = R = Y
        MOV R7, #0              @ R7 = Q = 0
        MOV R8, #0              @ R8 = count = 0
        LDR R9, =X              @ R9 = X
loop:   SUB R6, R6, R9          @ R -= X
        CMP R6, #0              @ if R >= 0
        BGE _if                 @ goto _if
        CMP R6, #0              @ else if R < 0
        BLT  _else              @ else goto _else
        ADD R8, R8, #01         @ count++
        MOV R9, R9, LSR #01     @ shift X right 1 bit
        CMP R8, #32             @ if count <= 32
        BLE loop                @ continue looping

_if:
        MOV R7, R7, LSL #01     @ shift Q left 1 bit
        ORR R7, R7, #01         @ set rightmost bit to 1

_else:
        ADD R6, R6, R9          @ R += X
        MOV R7, R7, LSL #01     @ shift Q left 1 bit
        AND R7, R7, #2147483646 @ set rightmost bit to 0

exit:
        MOV R1, R7      @ R1 = Q
        SWI 0x6B        @ cout << R1
        MOV R1, R6      @ R1 = R
        SWI 0x6B        @ cout << R1
        SWI 0x11        @ exit