Comments (6)
I would need the error that make spit out to help with that.
from dwmblocks.
here it comes:
$ make
cc pkg-config --cflags x11
pkg-config --libs x11
dwmblocks.c -o dwmblocks
/usr/bin/ld: /tmp/ccg6dlqE.o: in function setroot': dwmblocks.c:(.text+0x3b6): undefined reference to
XOpenDisplay'
/usr/bin/ld: dwmblocks.c:(.text+0x428): undefined reference to XStoreName' /usr/bin/ld: dwmblocks.c:(.text+0x437): undefined reference to
XCloseDisplay'
collect2: error: ld returned 1 exit status
from dwmblocks.
I have come across this issue on my pinebook pro running debian. I never figured out the root cause myself. The way I got it to work was by using clang (CC=clang make
) in the most recent commit. Things to check if you prefer using gcc, check the output of pkg-config --libs x11
by itself, and make sure that cc is linked to gcc properly with ls -l $(which cc)
. The makefile works on arch, void, alpine, freebsd, and openbsd. So I think it is just an issue with debian distros.
from dwmblocks.
I merged a change that swapped the order of the cc arguments in the Makefile which should solve this issue.
from dwmblocks.
Hi,
yes but you swap cc arguments order back again in 7e0bc3f, so the issue is always there in Debian.
${CC} dwmblocks.c `pkg-config --cflags x11 --libs x11` -o dwmblocks
just work fine.
from dwmblocks.
Hi,
yes but you swap cc arguments order back again in 7e0bc3f, so the issue is always there in Debian.
${CC} dwmblocks.c `pkg-config --cflags x11 --libs x11` -o dwmblocks
just work fine.
Thanks, that worked fine
from dwmblocks.
Related Issues (20)
- .tar.gz releases to more easily ported to gentoo ebuilds HOT 3
- No protocol specified Failed to open display HOT 7
- Error when I run make
- Conditional icons HOT 2
- clicks not working on certain modules HOT 1
- Weird boxes appearing in bar. HOT 2
- No delimiter (`\0`) gives weird boxes HOT 2
- dwmblocks not loading scripts with zsh HOT 1
- How can I run this on OpenBSD? HOT 1
- Not working with autostart HOT 1
- FreeBSD signal handling HOT 1
- Errors when Applying dwmblocks-statuscmd.diff to Dwmblocks HOT 1
- patch included from README.md won't work, one provided by statuscmd does
- How can I add the patch HOT 1
- Script not showing what it should HOT 3
- Dwmblocks doesn't display FontAwesome icons
- The patch from statuscmd in sucless.org throws error HOT 1
- Volume display on OpenBSD HOT 5
- FreeBSD signaling HOT 1
- How can a dwmblock update its output based on $BUTTON?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwmblocks.