Bspwm: build fails

Created on 23 Jun 2020  路  4Comments  路  Source: baskerville/bspwm

I am using arch and I want install it. I installed everything(gcc make libxcb xcb-util xcb-util-wm xcb-util-keysyms). How I can solve error?
image

Most helpful comment

That error comes from GCC 10 which sets -fno-common by default.

Until -fno-common work here just set -fcommon in your CFLAGS.

@lukasino1214 Assuming this is the aur package. You should be able to add this to the PKGBUILD right before\
make PREFIX=/usr.

export CFLAGS="${CFLAGS} -fcommon"

All 4 comments

Can confirm having the exact same error building it today
The only version that works is the binary from the core repo.

That error comes from GCC 10 which sets -fno-common by default.

Until -fno-common work here just set -fcommon in your CFLAGS.

@lukasino1214 Assuming this is the aur package. You should be able to add this to the PKGBUILD right before\
make PREFIX=/usr.

export CFLAGS="${CFLAGS} -fcommon"

That error comes from GCC 10 which sets -fno-common by default.

Until -fno-common work here just set -fcommon in your CFLAGS.

@lukasino1214 Assuming this is the aur package. You should be able to add this to the PKGBUILD right before
make PREFIX=/usr.

export CFLAGS="${CFLAGS} -fcommon"

Thanks, this solved the issue.

Fixed in 6c39ab08233d00feb5ad0b5e6b7ba954dc1b578a.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alecive picture alecive  路  7Comments

madnight picture madnight  路  7Comments

ithamsteri picture ithamsteri  路  4Comments

btlvr picture btlvr  路  5Comments

Fnux picture Fnux  路  4Comments