This problem is caused by a change to the GCC 10 default options. I came across it while migrating my RaspberryPi's from Buster to the newly released Raspberry Pi OS BullsEye. Originally, the default was -fcommon but it has been changed to -fno-common. You can work around the problem by setting the CFLAGS environment variable. For example: export CFLAGS=-fcommon Alternatively, this problem can be fixed in source by changing setup.py as follows: setup(name = 'RPi.GPIO', version = '0.7.0', author =...