You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/11/01 07:10:49 UTC
[GitHub] [mynewt-core] brainstorm edited a comment on issue #2076: multiple
definition of `fflush'
brainstorm edited a comment on issue #2076: multiple definition of `fflush'
URL: https://github.com/apache/mynewt-core/issues/2076#issuecomment-548686099
I went for this Homebrew toolchain instead which seems to be more recent and better supported, with ties to Rust embedded ecosystem:
```shell
$ brew tap ArmMbed/homebrew-formulae
$ brew install arm-none-eabi-gcc
```
But also has the exact `fflush` issue that needs to be solved manually:
```
Linking /Users/romanvg/dev/mdp/mdp-link-mynewt/bin/targets/nrf52_mdp_link/app/apps/mdp-link/mdp-link.elf
Error: /usr/local/Cellar/arm-none-eabi-gcc/8-2018-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld: /usr/local/Cellar/arm-none-eabi-gcc/8-2018-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m/nofp/libg.a(lib_a-fflush.o): in function `fflush':
fflush.c:(.text.fflush+0x0): multiple definition of `fflush'; /Users/romanvg/dev/mdp/mdp-link-mynewt/bin/targets/nrf52_mdp_link/app/@apache-mynewt-core/libc/baselibc/@apache-mynewt-core_libc_baselibc.a(inline.o):/Users/romanvg/dev/mdp/mdp-link-mynewt/repos/apache-mynewt-core/libc/baselibc/include/stdio.h:99: first defined here
collect2: error: ld returned 1 exit status
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services