Skip to content

Compilation fail #3

Description

@st0rfrasarn

Hi,

i get this:

/usr/bin/arm-none-eabi-gcc' -O3 -g3 -mthumb -mabi=aapcs -L/home/busta/src/nRF5_SDK_15.3.0_59ac345/modules/nrfx/mdk -Tld_sd_52840.ld -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Wl,--gc-sections --specs=nano.specs -u _printf_float @_build/nrf52840_xxaa.in -Wl,-Map=_build/nrf52840_xxaa.map -o _build/nrf52840_xxaa.out
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: _build/nrf52840_xxaa/storage.c.o:/home/busta/src/nrf52_vesc/storage.h:26: multiple definition of `m_config'; _build/nrf52840_xxaa/main.c.o:/home/busta/src/nrf52_vesc/storage.h:26: first defined here
collect2: error: ld returned 1 exit status
make: *** [/home/busta/src/nRF5_SDK_15.3.0_59ac345/components/toolchain/gcc/Makefile.common:294: _build/nrf52840_xxaa.out] Error 1

Compiling on Kali Linux Rolling

Any ideas? Thanks!

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