[quote="PoyZen"]I'm a newbie in linux. I tried to install weplab 0.1.2-beta on RH7.3. after ./configure finished I did: make install. after a while I got error in file wep.c in the function GetPacketBssid, line 488. can't parse before int and enother error in line 492 about "returnvalue" not being declared. what I did was (after a lot of trial by error) to open the file "wep.c" and move the line: "int returnvalue=0]
Yes, it is a bug. In standard ansi C, variable declarations must be before anything within the function.
However gcc use to be tolerant with this. weplab-0.1.2-beta compiles fine under my Debian with gcc 3.3.
Could you please submit the bug to
http://www.sourceforge.net/projects/weplab (section bugs)? This way it is easier to me to keep track of found bugs and other people with the same problem can use a temporary fix.
I will release next version soon and this little bug will be fixed in it.
Thanks