Jonathan Wakely
Jonathan Wakely
> Seems similar to (but not exactly the same as) #171? This one is correct, that one is wrong.
#185 fixes this
See the changes for `-fno-common` in the [GCC 10 release notes](https://gcc.gnu.org/gcc-10/changes.html#c) and [Porting to GCC 10](https://gcc.gnu.org/gcc-10/porting_to.html#common) page.
The problem is due to all [the global variables](https://github.com/jarcode-foss/glava/blob/41ff60c8d0c81ae9c49a7f7a2cb75c9710ba3995/glava/glava.h#L17) defined in the `glava.h` header. Those get defined in every `.c` file that includes the header, and you get multiple definitions....
There's already a pull request to fix this, somebody just needs to merge it: #185
Install the package the provides `libGl`, which is probably something like `apt-get install libgl1-mesa-glx` for ubuntu.
#185 fixes this
You can use asm to create a symbol alias to continue exporting a symbol with the old name, so there's no ABI break.
> That kind of change seems somewhat, well, hostile to your existing userbase... The `requires` keyword was first added to the C++ working draft in 2008, and although it was...