Skip to content

Compiling error liniing usb_payload.elf #4

@buggii

Description

@buggii

The new update brings those compiling errors, can you help me fixing them ?

linking ... usb_payload.elf
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function qrcodegen_encodeText': qrcodegen.c:(.text+0x10): undefined reference to strlen'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function reedSolomonComputeRemainder': qrcodegen.c:(.text+0x858): undefined reference to memmove'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function finderPenaltyAddHistory': qrcodegen.c:(.text+0x166e): undefined reference to memmove'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function qrcodegen_isAlphanumeric': qrcodegen.c:(.text+0x1882): undefined reference to strchr'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function qrcodegen_makeBytes': qrcodegen.c:(.text+0x19cc): undefined reference to memcpy'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function qrcodegen_makeNumeric': qrcodegen.c:(.text+0x19f8): undefined reference to strlen'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.o: in function qrcodegen_makeAlphanumeric': qrcodegen.c:(.text+0x1acc): undefined reference to strlen'
/usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: qrcodegen.c:(.text+0x1b16): undefined reference to strchr' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o: in function _kill':
syscalls.c:(.text+0x28): undefined reference to __errno' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o: in function _wait':
syscalls.c:(.text+0x150): undefined reference to __errno' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o: in function _unlink':
syscalls.c:(.text+0x16e): undefined reference to __errno' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o: in function _link':
syscalls.c:(.text+0x1c6): undefined reference to __errno' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o: in function _fork':
syscalls.c:(.text+0x1e0): undefined reference to __errno' /usr/lib/gcc/arm-none-eabi/10.3.1/../../../arm-none-eabi/bin/ld: syscalls.o:syscalls.c:(.text+0x1fe): more undefined references to __errno' follow
collect2: error: ld returned 1 exit status
make[1]: *** [/home/andrew/alarmo/usb_payload/Makefile:180: /home/andrew/alarmo/usb_payload/usb_payload.elf] Error 1
make: *** [Makefile:152: build] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions