bt4 es ubuntudebian asi que no deberias de tener problemas
pega exactamente error
Es el mismo que la cita anterior:
make: *** [wlaninject.o] Error 1
El código completo es:
make
gcc -Os -I. -lnet -lpcap -lpcre -W -Wall -MMD -fPIC -c -o iwlib.so iwlib.c
iwlib.c: In function ‘iw_enum_devices’:
iwlib.c:217: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:218: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c: In function ‘iw_get_kernel_we_version’:
iwlib.c:300: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
iwlib.c:316: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
rm -f libiw.a
ar cru libiw.a iwlib.so
ranlib libiw.a
gcc -Os -I. -lnet -lpcap -lpcre -W -Wall -MMD -c wlaninject.c
wlaninject.c:42:18: warning: pcre.h: No such file or directory
wlaninject.c:425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wlaninject.c:450: error: expected declaration specifiers or ‘...’ before ‘pcre’
wlaninject.c: In function ‘checkpackets’:
wlaninject.c:475: warning: implicit declaration of function ‘getline’
wlaninject.c:479: warning: implicit declaration of function ‘pcre_exec’
wlaninject.c:480: error: ‘re’ undeclared (first use in this function)
wlaninject.c:480: error: (Each undeclared identifier is reported only once
wlaninject.c:480: error: for each function it appears in.)
wlaninject.c:494: warning: implicit declaration of function ‘pcre_get_substring’
wlaninject.c:496: warning: implicit declaration of function ‘pcre_free_substring’
wlaninject.c: In function ‘main’:
wlaninject.c:865: error: ‘pcre’ undeclared (first use in this function)
wlaninject.c:865: error: ‘re’ undeclared (first use in this function)
wlaninject.c:934: warning: comparison between signed and unsigned
wlaninject.c:962: warning: comparison between signed and unsigned
wlaninject.c:970: warning: comparison between signed and unsigned
wlaninject.c:999: warning: implicit declaration of function ‘buildregexp’
wlaninject.c:1002: error: too many arguments to function ‘checkpackets’
wlaninject.c:1080: error: too many arguments to function ‘checkpackets’
wlaninject.c:864: warning: unused variable ‘fnetdev’
make: *** [wlaninject.o] Error 1