Skip to content

qemu-bare-hello #1

Description

@vredzhepov

Building application from qemu-bare-hello failed

arm-none-eabi-gcc -mcpu=arm926ej-s -g -T test.ld test.c startup.o -o test
/usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/lib/crt0.o: In function _start': /build/newlib-jo3xW1/newlib-2.4.0.20160527/build/arm-none-eabi/libgloss/arm/../../../../libgloss/arm/crt0.S:427: undefined reference to main'
/build/newlib-jo3xW1/newlib-2.4.0.20160527/build/arm-none-eabi/libgloss/arm/../../../../libgloss/arm/crt0.S:429: undefined reference to __bss_start__' /build/newlib-jo3xW1/newlib-2.4.0.20160527/build/arm-none-eabi/libgloss/arm/../../../../libgloss/arm/crt0.S:429: undefined reference to bss_end'
/usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/lib/libg.a(lib_a-exit.o): In function exit': /build/newlib-jo3xW1/newlib-2.4.0.20160527/build/arm-none-eabi/newlib/libc/stdlib/../../../../../newlib/libc/stdlib/exit.c:70: undefined reference to _exit'
collect2: error: ld returned 1 exit status
: recipe for target 'test' failed
make: *** [test] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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