Problems making on FreeBSD 4.6.1, appear to be missing a file.

Jamey Price <[email protected]> 13 Aug 2002 16:10:52 -0400
Newsgroups gmane.network.wireless.bsd.airtools
Message-ID <1029269454.654.62.camel@misc>
When making out of the ports collection, I get the following error:

---------------------------------------------

===>  Building for bsd-airtools-0.2

*** configuring dstumbler v0.4 ***
*** by h1kari - (c) 2001 Dachb0den Labs ***

checking for host os... freebsd
checking for ncurses... yes

freebsd system configured with the following compilation options:
  CFLAGS=-Wall -I/usr/local/include
  LDFLAGS=-L/usr/local/lib -lncurses

at this time you can make any last minute changes to the Makefile if
needed. once you are satisfied, run make to compile dstumbler.

gcc -Wall -I/usr/local/include -c main.c
main.c: In function `start_loop':
main.c:274: `WI_DEBUG_CHAN' undeclared (first use in this function)
main.c:274: (Each undeclared identifier is reported only once
main.c:274: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/net/bsd-airtools/work/bsd-airtools/dstumbler.
*** Error code 1

Stop in /usr/ports/net/bsd-airtools.

-------------------------------------------

In looking for the offending identifier, I headed to
bsd-airtools/work/bsd-airtools/dstumbler and started to look at the
C-code and header files.  I eventually got to dstumbler.h, where I found
the lines following: 

--------------------------------------------

#ifdef DEBUG
#include "debug.h"
#endif

--------------------------------------------

The problem is this: There is no debug.h anywhere in
/usr/ports/net/bsd-airtools/.  When searching for header files, this is
what I find:

--------------------------------------------

su-2.05a# find /usr/ports/net/bsd-airtools/ -name "*.h" -print
/usr/ports/net/bsd-airtools/files/patch-dstumbler::dstumbler.h
/usr/ports/net/bsd-airtools/files/patch-dweputils::dwepcrack::dstumbler.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/dstumbler/config.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/dstumbler/dstumbler.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/dstumbler/screen.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/dweputils/dwepcrack/dwepcrack.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/prism2dump/frames.h
/usr/ports/net/bsd-airtools/work/bsd-airtools/prism2dump/prism2dump.h

--------------------------------------------

I hope someone can help me out here, I'd really like to get this
installed so I can start doing some work on the wireless network at the
office.  Please, someone has to know what's wrong.

Thanks,

Fish