Hello dev@
I want to try out 2wm but it doesn build, Xlib header files are installed.
Here is what I get:
~$ hg clone http://hg.suckless.org/2wm && cd ./2wm && sudo make clean install
destination directory: 2wm
requesting all changes
adding changesets
adding manifests
adding file changes
added 16 changesets with 64 changes to 17 files
updating working directory
14 files updated, 0 files merged, 0 files removed, 0 files unresolved
cleaning
2wm build options:
CFLAGS = -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.2"
LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
CC client.c
CC event.c
event.c:18: error: ‘tag’ undeclared here (not in a function)
event.c:18: error: ‘toggletag’ undeclared here (not in a function)
event.c:18: error: ‘togglemode’ undeclared here (not in a function)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[31].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[32].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[33].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[34].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[35].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[36].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[37].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[38].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[39].func’)
event.c:18: error: initializer element is not constant
event.c:18: error: (near initialization for ‘key[40].func’)
make: *** [event.o] Error 1
How can I fix this?
Received on Thu Dec 03 2009 - 16:25:45 UTC
This archive was generated by hypermail 2.2.0 : Thu Dec 03 2009 - 16:36:02 UTC