It seems impossible to build under EndeavourOS with the current Makefile.
I am getting an error an error like :
/usr/bin/ld: /tmp/ccV4wprr.o:(.bss+0x0): multiple definition of `i'; /tmp/ccBdLCoq.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make: *** [<builtin>: conky-colors] Error 1
As pointed out here, it seems the default compiler flag is now -fno-common which does not allow such duplicates.
The workaround, in my case is to add the flag -fcommon to the $CFLAGS variable in the Makefile.
It seems impossible to build under EndeavourOS with the current Makefile.
I am getting an error an error like :
As pointed out here, it seems the default compiler flag is now
-fno-common
which does not allow such duplicates.The workaround, in my case is to add the flag
-fcommon
to the$CFLAGS
variable in theMakefile
.