> I tried to build iw, but got an error: > > # make > CC iw.o > /bin/sh: cgcc: not found > make[1]: *** [iw.o] Error 127 > make: *** [check] Error 2 > > After poking around, I found > http://ftp.idilis.ro/mirrors/ftp.kernel.org/pub/software/devel/sparse/news.html > which seems to be where I can find the tool. > I compiled, and (after setting $HOME to /usr) installed it. > Now, when I try to compile iw, I get: Doh. I thought I hacked the makefile to not require cgcc. Will remove that hack and just mandate that people run 'make check' instead of 'make' or 'make all'. > iw.c:9:11: error: unable to open 'netlink/genl/genl.h' You need to install libnl development headers, your distro should ship libnl-dev (debian's package for example) or similar, or you need libnl from source: http://people.suug.ch/~tgr/libnl/ At least version -pre8 is required. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part