Jump to content

Charlie

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by Charlie


  1. For example, the C code from : https://github.com/TinkerBoard/gpio_lib_c

    but cannot build it on gpio_lib_c, my usage:

    sudo ./build

    the output is:


    wiringPi Build script
    =====================


    WiringPi Library
    [UnInstall]
    ldconfig: file /usr/lib/mali/libmali-midgard-t86x-r18p0-x11.so is truncated

    ldconfig: file /usr/lib/mali/libmali.so is truncated

    ldconfig: file /usr/lib/mali/libmali.so.1.9.0 is truncated

    ldconfig: file /usr/lib/mali/libmali.so.1 is truncated

    ldconfig: file /usr/lib/libmali.so.1 is truncated

    [Compile] wiringTB.c
    {standard input}: Assembler messages:
    {standard input}:1458: Error: operand 1 must be an integer register -- `ldr r0,[x2]'
    {standard input}:1459: Error: operand 1 must be an integer register -- `ldr r1,[x3]'
    {standard input}:1460: Error: operand 1 must be a SIMD vector register -- `orr r0,r1'
    {standard input}:1461: Error: operand 1 must be an integer register -- `str r0,[x2]'
    {standard input}:1488: Error: operand 1 must be an integer register -- `ldr r0,[x2]'
    {standard input}:1489: Error: operand 1 must be an integer register -- `ldr r1,[x3]'
    {standard input}:1490: Error: operand 1 must be an integer or stack pointer register -- `and r0,r1'
    {standard input}:1491: Error: operand 1 must be an integer register -- `str r0,[x2]'
    make: *** [Makefile:98: wiringTB.o] Error 1

    003.jpg

×
×
  • Create New...