Oh OK, I see now the error is with ARM, so I'm looking at the STM32.

First error is with si5351_ut.elf.

arm-none-eabi/bin/ld:
CMakeFiles/si5351_ut.dir/src/si53xx.c.obj:/home/ssampson/codec2/stm32/inc/si53xx.h:287:
multiple definition of `Si5351_Config'

I wonder if all that abandoned SM2000 code can be archived and removed from
the main playing field.


On Sun, Feb 16, 2020 at 11:53 AM Steve <[email protected]> wrote:

> I added it to the CMakeLists.txt file:
>
> # Set default C flags.
> set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-strict-overflow
> -fno-common")
>
> Compiled without errors or warnings on GCC 7.4.0
>
> No change.
>
>
>
> On Sun, Feb 16, 2020 at 10:48 AM Albert Cahalan <[email protected]>
> wrote:
>
>> > Maybe just add -fcommon to the Makefile
>>
>> No, add -fno-common to the Makefile, ensuring that people with older
>> versions will get the same errors.
>>
>> It's a saner and safer default, and is more compatible with Win32.
>>
>>
>> _______________________________________________
>> Freetel-codec2 mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>
>
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to