LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-01-2004, 09:14 PM   #1
chevy2410
Member
 
Registered: Jan 2004
Distribution: suSE
Posts: 35

Rep: Reputation: 15
Help! Can't compile Kismet


Hi all,
I downloaded, Kismet and am trying to compile and install it but I keep getting errors. This is what I get when I type ./configure:

linux:/home/steve/kismet-feb.04.01 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for platform-specific compiler flags... none needed
checking whether byte ordering is bigendian... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strftime... yes
checking for strstr... yes
checking for system-level getopt_long()... yes
checking for stdint.h... (cached) yes
checking for accept() addrlen type... socklen_t
checking for group 'root'... yes
checking for group 'man'... checking for initscr in -lncurses... yes
checking for new_panel in -lpanel... yes
checking for assume_default_colors in -lncurses... yes
checking for linux/netlink.h... yes
checking for linux/wireless.h... yes
checking that linux/wireless.h is what we expect... yes
checking that wireless extentions support SIOCIWFIRSTPRIV... yes
checking that linux/wireless.h is what we expect... checking for setuid ... yes
checking for glib-config... no
configure: WARNING: Could not find glib-config in /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin. glib is required to link to wiretap.
configure: WARNING: *** Wiretap support disabled. While Kismet will function without wiretap, it will limit the log reading and writing abilities. ***
checking for XML_GetCurrentLineNumber in -lexpat... yes
checking for wget... yes
checking for Magick-config... no
configure: WARNING: *** Missing Magick-config (or it is not in the path). gpsmap will not be built. ***
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/kismet
config.status: creating extra/buzzme/Makefile
config.status: creating extra/Makefile
config.status: creating conf/kismet.conf
config.status: creating conf/kismet_ui.conf
config.status: creating config.h
config.status: config.h is unchanged
configure: configuring in libpcap-0.7.2
configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioccom.h usability... no
checking sys/ioccom.h presence... no
checking for sys/ioccom.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/if_ether.h usability... yes
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... yes
checking for ether_hostton... yes
checking for strerror... yes
checking for strlcpy... no
checking if --disable-protochain option is specified... enabled
checking packet capture type... linux
checking if --enable-ipv6 option is specified... no
checking whether to build optimizer debugging code... no
checking whether to build parser debugging code... no
checking Linux kernel version... 2
checking if if_packet.h has tpacket_stats defined... yes
checking whether we have /proc/net/dev... yes
checking for flex... flex
checking for flex 2.4 or higher... yes
checking for bison... bison
checking for ranlib... ranlib
checking if sockaddr struct has sa_len member... no
checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... no
checking if unaligned accesses fail... no
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

Configuration complete:
Compiling for: linux-gnu (i686)
Installing as group: root
Man pages owned by: man
Installing into: /usr/local
Setuid capable: yes
Zaurus extras: no
Terminal Control: ncurses
Curses interface: yes
Panels interface: yes
Linux Netlink capture: yes
Linux wireless : yes
Linux wireless v.22+ : yes
pcap capture: yes
pcap source: libpcap-0.7.2
WSP100 capture: no
Viha capture: no
Radiotap headers: no
Using local dump code: yes
Using ethereal wiretap: no
Imagemagick support: no
Expat Library: yes
PThread Support: yes
libz compression: no

Configuration complete. Run 'make dep' to generate dependencies
and 'make' followed by 'make install' to compile and install.
linux:/home/steve/kismet-feb.04.01

So looks good at this point. Now when I type "make dep" i get this:

linux:/home/steve/kismet-feb.04.01 # make dep
make[1]: Entering directory `/home/steve/kismet-feb.04.01'
make[2]: Entering directory `/home/steve/kismet-feb.04.01'
make[2]: `.depend' is up to date.
make[2]: Leaving directory `/home/steve/kismet-feb.04.01'
make[1]: Leaving directory `/home/steve/kismet-feb.04.01'
linux:/home/steve/kismet-feb.04.01 #

This looks fine as well. Now when I type "make" I get this:

linux:/home/steve/kismet-feb.04.01 # make
g++ -Ilibpcap-0.7.2 -O2 -Wall -DVERSION_MAJOR=\"Feb\" -DVERSION_MINOR=\"04\" -DVERSION_TINY=\"01\" -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -g -O2 -c cursesfront.cc -o cursesfront.o
In file included from cursesfront.cc:20:
cursesfront.h:32:21: ncurses.h: No such file or directory
In file included from cursesfront.cc:20:
cursesfront.h:84: error: syntax error before `*' token
cursesfront.cc: In member function `virtual int NCurseFront::InitDisplay(int,
long int)':
cursesfront.cc:46: error: `initscr' undeclared (first use this function)
cursesfront.cc:46: error: (Each undeclared identifier is reported only once for
each function it appears in.)
cursesfront.cc:48: error: `netborder' undeclared (first use this function)
cursesfront.cc:48: error: `stdscr' undeclared (first use this function)
cursesfront.cc:48: error: `LINES' undeclared (first use this function)
cursesfront.cc:48: error: `COLS' undeclared (first use this function)
cursesfront.cc:48: error: `subwin' undeclared (first use this function)
cursesfront.cc:49: error: `netwin' undeclared (first use this function)
cursesfront.cc:50: error: `infoborder' undeclared (first use this function)
cursesfront.cc:54: error: `infowin' undeclared (first use this function)
cursesfront.cc:57: error: `statusborder' undeclared (first use this function)
cursesfront.cc:59: error: `statuswin' undeclared (first use this function)
cursesfront.cc:60: error: `scrollok' undeclared (first use this function)
cursesfront.cc: In member function `virtual int
NCurseFront::WriteStatus(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
cursesfront.cc:69: error: `winsertln' undeclared (first use this function)
cursesfront.cc:70: error: `mvwaddstr' undeclared (first use this function)
cursesfront.cc: In member function `virtual int NCurseFront:rawDisplay()':
cursesfront.cc:81: error: `box' undeclared (first use this function)
cursesfront.cc:82: error: `mvwaddstr' undeclared (first use this function)
cursesfront.cc:120: error: `mvwaddch' undeclared (first use this function)
cursesfront.cc:129: error: `werase' undeclared (first use this function)
cursesfront.cc:268: error: `wrefresh' undeclared (first use this function)
cursesfront.cc:274: error: `refresh' undeclared (first use this function)
cursesfront.cc: In member function `virtual int NCurseFront::EndDisplay()':
cursesfront.cc:282: error: `endwin' undeclared (first use this function)
make: *** [cursesfront.o] Error 1
linux:/home/steve/kismet-feb.04.01 #

Now I get all these errors and not sure why. I thought I had all the right tools installed, but maybe I don't. Can someone point in the right direction and how to get this program working.

Thanks,
Chevy
 
Old 04-01-2004, 10:24 PM   #2
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
Do you have ncurses' files installed?

Check in YaST how to install new files/programs , sorry for the fool details, but i don't know SuSE
 
Old 04-01-2004, 11:14 PM   #3
chevy2410
Member
 
Registered: Jan 2004
Distribution: suSE
Posts: 35

Original Poster
Rep: Reputation: 15
I thought I had. I just reinstalled all ncurses files including development files. I hope that does the trick.
I will try it tomorrow. Bed time for me. Work in the morning.


Cheers,
Chevy
 
Old 04-01-2004, 11:16 PM   #4
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
Okay
 
Old 04-02-2004, 08:20 PM   #5
chevy2410
Member
 
Registered: Jan 2004
Distribution: suSE
Posts: 35

Original Poster
Rep: Reputation: 15
Okay I now have been able to compile and install Kismet and this is what I get when I type form a terminal.

steve@linux:~> kismet
Server options: none
Client options: none
Starting server...
Waiting for server to start before startuing UI...
Will drop privs to steve (500) gid 100
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (orinocosource): Enabling monitor mode for orinoco source interface wlan0 channel 6...
FATAL: Could not find 'monitor' private ioctl. This typically means that the drivers have not been patched or the patched drivers are being loaded. See the troubleshooting section of the README for more information.
steve@linux:~>
ching the orin
Now I read something about patching the orinoco driver, but I don't know where to find the patch or how I can do it. Any help would be great.

Thanks,
Chevy
 
Old 04-03-2004, 09:52 PM   #6
chevy2410
Member
 
Registered: Jan 2004
Distribution: suSE
Posts: 35

Original Poster
Rep: Reputation: 15
Has anyone had this problem? How do I patch my Orinoco drivers?

Chevy.
 
Old 04-24-2004, 08:46 AM   #7
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Slackware 14.2-stable, Ubuntu 16.04 LTS
Posts: 401

Rep: Reputation: 30
I was having the same issue with Kismet and the Orinoco drivers...I found the solution here:

http://www.tipsybottle.com/technolog...et-HOWTO.shtml

I downloaded the 0.13e drivers and the diff file. The only thing that confused me from the instructions was that you need to extract the .tar.gz file into your '/' (root) directory, not the /root directory as is indicated by the doc. Also, put the diff file in your '/' (root) directory as well. Then issue the patch command, make, and make install. I then had to reboot my laptop as "service pcmcia restart" didn't work for me (maybe it's a RH specific command). Once I rebooted, I verified that everything had been installed correctly (the doc explains how to do this) and tried kismet once again.

Success!

Good luck.
 
Old 04-24-2004, 10:52 PM   #8
chevy2410
Member
 
Registered: Jan 2004
Distribution: suSE
Posts: 35

Original Poster
Rep: Reputation: 15
Well when I go to patch the drivers I get a message saying that I have already applied the patch. It does this for all four patches. So I then cd /orinoco-0.13e and type make and this is what I get,


linux:/root/orinoco-0.13e # make
make -C /lib/modules/2.4.21-202-default/build SUBDIRS=/root/orinoco-0.13e modules
make: *** /lib/modules/2.4.21-202-default/build: No such file or directory. Stop.
make: *** [modules] Error 2
linux:/root/orinoco-0.13e #

Now I'm not sure what I need or what's wrong. Please help!!

Chevy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kismet help please billcna Linux - Newbie 0 08-09-2004 03:09 PM
kismet compile errors mrgreenfur Linux - Wireless Networking 4 07-25-2004 06:03 PM
ImageMagick Won't compile with Kismet (Slack-Current) xannix Linux - Wireless Networking 0 05-31-2004 04:49 PM
Kismet Problems :need help with kismet.conf source qbann Linux - Wireless Networking 6 04-26-2004 05:12 PM
kismet kronixx Linux - Software 2 12-24-2003 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration