Skip to content

mbedos5 target build error #1852

@fbmrk

Description

@fbmrk

There was a commit on December 13 (#1468) - authored by @janjongboom. It has deleted the main.cpp from the targets/mbedos5/source library by saying that

main.cpp is auto-generated and should not be included in this repository

But now, if you want to build the mbedos5, there is not an auto-generated main.cpp, but there is an error message:
[ERROR] ./BUILD/DISCO_F407VG/GCC_ARM/mbed-os/platform/retarget.o: In function `__wrap_main': retarget.cpp:(.text.__wrap_main+0xa): undefined reference to `main' collect2: error: ld returned 1 exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourjerry-portRelated to the port API or the default port implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions