You are not logged in.
Trying to apply uselessgaps unsuccessfully.
Here's the error at compilation:
┌─[parazyd][archbox][~/dwm]
└──╼ makepkg -efi
==> Making package: dwm 6.0-2 (Wed Feb 18 00:45:08 CET 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
dwm build options:
CFLAGS = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/include/X11 -I /usr/include/freetype2 -D_FORTIFY_SOURCE=2 -DVERSION="6.0" -DXINERAMA
LDFLAGS = -s -L/usr/lib -lc -L/usr/lib/X11 -lX11 -L/usr/lib/X11 -lXinerama -lXft -lfontconfig
CC = cc
CC dwm.c
In file included from dwm.c:336:0:
config.h:52:2: warning: initialization makes integer from pointer without a cast
{ "", tile }, /* first entry is default */
^
config.h:52:2: warning: (near initialization for ‘layouts[0].addgaps’)
config.h:52:2: error: initializer element is not computable at load time
config.h:52:2: error: (near initialization for ‘layouts[0].addgaps’)
config.h:53:2: warning: initialization makes integer from pointer without a cast
{ "", NULL }, /* no layout function means floating behavior */
^
config.h:53:2: warning: (near initialization for ‘layouts[1].addgaps’)
config.h:54:2: warning: initialization makes integer from pointer without a cast
{ "", monocle },
^
config.h:54:2: warning: (near initialization for ‘layouts[2].addgaps’)
config.h:54:2: error: initializer element is not computable at load time
config.h:54:2: error: (near initialization for ‘layouts[2].addgaps’)
config.h:55:2: warning: initialization makes integer from pointer without a cast
{ "", spiral },
^
config.h:55:2: warning: (near initialization for ‘layouts[3].addgaps’)
config.h:55:2: error: initializer element is not computable at load time
config.h:55:2: error: (near initialization for ‘layouts[3].addgaps’)
config.h:56:2: warning: initialization makes integer from pointer without a cast
{ "", dwindle },
^
config.h:56:2: warning: (near initialization for ‘layouts[4].addgaps’)
config.h:56:2: error: initializer element is not computable at load time
config.h:56:2: error: (near initialization for ‘layouts[4].addgaps’)
config.h:57:2: warning: initialization makes integer from pointer without a cast
{ "", bstack },
^
config.h:57:2: warning: (near initialization for ‘layouts[5].addgaps’)
config.h:57:2: error: initializer element is not computable at load time
config.h:57:2: error: (near initialization for ‘layouts[5].addgaps’)
In file included from dwm.c:336:0:
config.h:75:1: warning: initialization from incompatible pointer type
static const char *scratchpadcmd[] = { termcmd, "-title", scratchpadname, "-geometry", "160x40", NULL };
^
config.h:75:1: warning: (near initialization for ‘scratchpadcmd[0]’)
Makefile:18: recipe for target 'dwm.o' failed
make: *** [dwm.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...And here are dwm.c and config.h I want this to work with:
https://raw.githubusercontent.com/paraz … ster/dwm.c
https://raw.githubusercontent.com/paraz … r/config.h
Any ideas on making this work?
Last edited by parazyd (2015-02-19 06:01:15)
Offline
The scratchpad error is pretty evident from your config.h; the others look like the uselessgaps patch needs updating...
This, however, isn't a support thread as such.
Offline
The scratchpad error is pretty evident from your config.h; the others look like the uselessgaps patch needs updating...
This, however, isn't a support thread as such.
It's the uselessgaps I'm trying to fix. Do I just open a new thread?
Offline
I'll split this off...
Offline