That's odd - strictly speaking, "-lc" shouldn't even be passed explicitly as it's automatically included. Try deleting it from the config.mk file and recompiling.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166031\"][{POST_SNAPBACK}][/a][/div]
Thanks for the suggestion, but it didn't make any difference. The same error resulted.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166046\"][{POST_SNAPBACK}][/a][/div]
did you also rerun configure again after that before you started recompiling?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=166079\"][{POST_SNAPBACK}][/a][/div]
Thanks a lot for your attention to my problem.
There's no configure for wmii. The readme just says run make and then make install after editing the config.mk file. I ditched the unpacked tar, reunpacked it, and then removed -lc from this line:
# Includes and libs
INCS = -I. -I${ROOT}/include -I${INCLUDE} -I/usr/include
LIBS = -L/usr/lib -lc
so that it read:
LIBS = -L/usr/lib
Then I ran make. The process began again from the very beginning, like before, and resulted in the exact same error.
Now, I'll admit that I don't really know what I am doing. I've barely started to learn C, so this is all over my head. Have I edited the line incorrectly? I suppose another possibility is that there's something else in config.mk that I haven't configured correctly. Here's the whole file:
# Customize below to fit your system
# paths
PREFIX = /usr/local
BIN = ${PREFIX}/bin
MAN = ${PREFIX}/share/man
ETC = ${PREFIX}/etc
LIBDIR = ${PREFIX}/lib
INCLUDE = ${PREFIX}/include
# Includes and libs
INCS = -I. -I${ROOT}/include -I${INCLUDE} -I/usr/include
LIBS = -L/usr/lib
# Flags
include ${ROOT}/mk/gcc.mk
# wmii is IO bound, not CPU bound. Please do not use -O2 here. -O is more than sufficient.
CFLAGS +=
LDFLAGS +=
STATIC = -static
# Compiler
CC = cc -c
# Linker (Under normal circumstances, this should *not* be 'ld')
LD = cc
# Other
AR = ar crs
#AR = sh -c 'ar cr "$$@" && ranlib "$$@"'
P9PATHS = /usr/local/plan9 /usr/local/9 /opt/plan9 /opt/9 /usr/plan9 /usr/9
INCX11 = -I/usr/X11R6/include
LIBX11 = -L/usr/X11R6/lib -lX11
LIBIXP = ${ROOT}/libixp/libixp.a
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS} -R${PREFIX}/lib
#LDFLAGS += -lsocket -lnsl
#CFLAGS += -xtarget=ultra
#FCALL_H_VERSION=.nounion