LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "make" gives error in kismet (https://www.linuxquestions.org/questions/linux-software-2/make-gives-error-in-kismet-111668/)

Pinkdog 11-02-2003 08:01 PM

"make" gives error in kismet
 
This is the error that i can after doing make, make dep works fine but i get the error doing "make". IM using slackware9
Anyone know how i can fix this problem?

g++ -Ilibpcap-0.7.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/src/ethereal-0.9.15/wiretap -I/usr/X11R6/include -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/include/libxml2 -O2 -Wall -DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_TINY=1 -DTIMESTAMP=\"`cat TIMESTAMP`\" -g -O2 -g -O2 -O2 -march=i386 -mcpu=i686 -Wall -c expat.cc -o expat.o
In file included from expat.cc:27:
/usr/include/expat.h:657: use of enum `XML_Status' without previous declaration
/usr/include/expat.h:735: multiple definition of `enum XML_Status'
/usr/include/expat.h:657: previous definition here
make: *** [expat.o] Error 1


thank you
Laura

ToniT 11-02-2003 09:07 PM

That is a bug in some versions of libexpat1-dev package. Upgrade your expat library to a version atleast 1.95.6-3.

If you are a debian user, pick one from the testing or unstable distribution (or use apt-get if you have configured your sources.list to contain testing/unstable).If not, you hopefully find your way to get newer version(or somebody else might help you).

In the other hand, if the upgrading of libraries doesn't seem cool, the bug is easy to fix by hand with help of the bug-report mentioned above

Pinkdog 11-03-2003 03:00 PM

Thanks that helped. Got it installed, but configuring it, thats another problem =X

thanks
L


All times are GMT -5. The time now is 05:48 AM.