I'm having trouble getting Kismet to compile in Slack 9.1. It gives me an error:
g++: Internal error: Terminated (program cc1plus)
I made sure I installed every compiler that came with Slack. I also tried the Kismet Devel and version 3.0.1.
Any ideas?
Kismet 7 Slackware 9.1
Started by
djmollusk
, Nov 13 2003 10:28 PM
7 replies to this topic
#1
Posted 13 November 2003 - 10:28 PM
#2
Posted 13 November 2003 - 10:31 PM
oops.... Kismet 7 = Kismet &
#3
Posted 14 November 2003 - 10:19 AM
Is it possible to add the full dump of errors and which file it occurs on in compile. Also the hardware your using might help me out. I don't have a available slack box right now to work with so any details help.
#4
Posted 14 November 2003 - 04:33 PM
root@ramaballs:~/kismet/kismet-3.0.1# ./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/ginstall -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 for setuid ... yes checking for glib-config... yes checking for usable wiretap in /usr/src/ethereal-0.9.12/wiretap... no configure: WARNING: *** No useable wiretap found in /usr/src/ethereal-0.9.12. Make sure this directory is correct and that you have configured and compiled Ethereal in this directory. 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... yes checking magick/api.h usability... yes checking magick/api.h presence... yes checking for magick/api.h... yes checking for WriteImage in -lMagick... yes checking for gzopen in -lz... yes 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 scripts/kismet_monitor config.status: creating scripts/kismet_unmonitor 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=. loading cache /dev/null checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes 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 sys/ioccom.h... no checking for sys/sockio.h... no checking for ifaddrs.h... yes checking for limits.h... 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/ginstall -c updating cache /dev/null creating ./config.status creating Makefile creating config.h 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 Using local dump code: yes Using ethereal wiretap: no Imagemagick support: yes (5.5.7) Expat Library: yes PThread Support: yes libz compression: yes Configuration complete. Run 'make dep' to generate dependencies and 'make' followed by 'make install' to compile and install. root@ramaballs:~/kismet/kismet-3.0.1# make dep make[1]: Entering directory `/root/kismet/kismet-3.0.1' make[2]: Entering directory `/root/kismet/kismet-3.0.1' make[2]: `.depend' is up to date. make[2]: Leaving directory `/root/kismet/kismet-3.0.1' make[1]: Leaving directory `/root/kismet/kismet-3.0.1' root@ramaballs:~/kismet/kismet-3.0.1# make g++ -Ilibpcap-0.7.2 -I/usr/X11R6/include -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -O2 -Wall -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_TINY=1 -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -g -O2 -O2 -march=i486 -mcpu=i686 -Wall -c kismet_server.cc -o kismet_server.o g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make: *** [kismet_server.o] Error 1
this is on my laptop running slackware 9.1
I'm not sure what hardware info would be important in figuring out this problem...
Its a p3, and the wireless card i plan to use with kismet is an Orinoco Silver card
#5
Posted 15 November 2003 - 10:48 PM
ARG! i formatted and started over with the system and it still wont compile certain programs. It's worked fine in the past with Red Hat 9 and Slackware 9, don't know why Slackware 9.1 is doing this to me on this system. I have Slackware 9.1 running on 2 other systems with no problems at all. grrrrrr
#6
Posted 16 November 2003 - 02:34 AM
i am running slack 9.1 at the moment. The first time i built slack, i went ahead and did the whole dropline gnome thing. I tried to compile kismet from sources and it crapped out with a similar error. I reformatted and rebuilt, but decided against DG. I then built kismet and it works great
#7
Posted 16 November 2003 - 09:10 AM
maybe if you try a different compiler version (another gcc version, i know 9.1 comes with two). ive had programs crap out with one gcc version and work perfectly with another.
#8
Posted 16 November 2003 - 03:55 PM
I decided to create a larger swap partition and it worked.
oh well.. I had fun just spending hours trying to figure out what was going on. the joys of linux
oh well.. I had fun just spending hours trying to figure out what was going on. the joys of linux
BinRev is hosted by the great people at Lunarpages!












