eclipse / mosquitto.rsmb

Mosquitto rsmb
85 stars 42 forks source link

Error on make: multiple definition of '...' #33

Closed thanosmanolis closed 3 years ago

thanosmanolis commented 3 years ago

I don't know if it occurs only for newer gcc versions (I tried it for gcc-9 and gcc-10), but when I tried installing it, the make command outputted 'multiple definition' error for the variables 'Log_levels' and 'bstate'.

The solution that worked for me is doing the following changes in src folder:

ralight commented 3 years ago

Thanks very much, I've fixed that.