Should be relatively easy to fix, see: https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common.
While compiling, I get a ton of errors like the one outlined in the wiki mentioned above, for example:
/usr/bin/ld: subscribe.o:(.bss+0x838): multiple definition of `screen_width'; bspwm.o:(.bss+0x1b8): first defined here
/usr/bin/ld: subscribe.o:(.bss+0x83c): multiple definition of `default_screen'; bspwm.o:(.bss+0x1bc): first defined here
/usr/bin/ld: subscribe.o:(.bss+0x840): multiple definition of `dpy'; bspwm.o:(.bss+0x1c0): first defined here
collect2: error: ld returned 1 exit status
make: *** [<builtin>: bspwm] Error 1
same problem here since arch Linux ships GCC 10 by default
Same issue here.
No idea if github mentions accomplish anything, but in case he hasn't seen this: @baskerville
Same problem here. Does anyone have any idea on how to solve this?
R001001
@raylssonjorge
You can issue this make build option during compile until this is fixed.
CFLAGS="-fcommon"
Most helpful comment
@raylssonjorge
You can issue this make build option during compile until this is fixed.
CFLAGS="-fcommon"