I have tried to compile Aircrack -ng in Opensuse 11.2 I have received the following output
linux-z7wt:/home/jcaser/aircrack-ng-1.1 # make
make -C src all
make[1]: se ingresa al directorio /home/jcaser/aircrack-ng-1.1/src' make -C osdep make[2]: se ingresa al directorio /home/jcaser/aircrack-ng-1.1/src/osdep’
Building for Linux
make[3]: se ingresa al directorio /home/jcaser/aircrack-ng-1.1/src/osdep' make[3]: .os.Linux’ está actualizado.
make[3]: se sale del directorio /home/jcaser/aircrack-ng-1.1/src/osdep' make[2]: se sale del directorio /home/jcaser/aircrack-ng-1.1/src/osdep’
gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -Iinclude -c -o aircrack-ng.o aircrack-ng.c
cc1: warnings being treated as errors
aircrack-ng.c: In function ‘do_wpa_crack’:
aircrack-ng.c:4189:8: error: array subscript is below array bounds
make[1]: *** [aircrack-ng.o] Error 1
make[1]: se sale del directorio `/home/jcaser/aircrack-ng-1.1/src’
make: *** [all] Error 2
I think I have taken all dependencies into consideration as follows
sqlite3-devel
libtool
libopenssl-devel
make
gcc
autoconf
automake
gcc-c++
Has anione an idea? did I forget any dependencies?
Help would be very much appreciated:shame:
On 08/29/2010 10:36 AM, jcaser1948 wrote:
> gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=0
> -Iinclude -c -o aircrack-ng.o aircrack-ng.c
> cc1: warnings being treated as errors
> aircrack-ng.c: In function ‘do_wpa_crack’:
> aircrack-ng.c:4189:8: error: array subscript is below array bounds
> make[1]: *** [aircrack-ng.o] Error 1
It is probably a bug in aircrack-ng. Perhaps the newer compiler finds something
that an older one ignored. If you take the “-Werror” off the compile line, it
will likely just generate a warning and continue to build. It may not run,
because under-running an array usually leads to memory corruption.
In any case, this is an aircrack-ng problem and not one for openSUSE.