Please, can you help me to solve these problems???
I've compiled codes on linux with make command and....
THANKSSSSSSSSSSSSS
trinity@trinity-laptop:~/a-saodv$ make
gcc -Wall -pthread -g -DDEBUG -c -o main.o main.c
main.c:3:20: error: config.h: Nessun file o directory
In file included from main.c:12:
/usr/include/linux/wireless.h:660: error: expected specifier-qualifier-list before ‘__s32’
/usr/include/linux/wireless.h:673: error: expected specifier-qualifier-list before ‘__u16’
/usr/include/linux/wireless.h:687: error: expected specifier-qualifier-list before ‘__s32’
/usr/include/linux/wireless.h:698: error: expected specifier-qualifier-list before ‘__u8’
/usr/include/linux/wireless.h:714: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:727: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:754: error: expected specifier-qualifier-list before ‘__u8’
/usr/include/linux/wireless.h:816: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:830: error: expected specifier-qualifier-list before ‘__u16’
/usr/include/linux/wireless.h:844: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:852: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:861: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:873: error: expected specifier-qualifier-list before ‘__u16’
/usr/include/linux/wireless.h:896: error: ‘IFNAMSIZ’ undeclared here (not in a function)
/usr/include/linux/wireless.h:911: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:955: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:1059: error: expected specifier-qualifier-list before ‘__u32’
/usr/include/linux/wireless.h:1077: error: expected specifier-qualifier-list before ‘__u16’
main.c: In function ‘get_if_info’:
main.c:244: error: storage size of ‘ifr’ isn’t known
main.c:244: warning: unused variable ‘ifr’
main.c:260: warning: control reaches end of non-void function
main.c: In function ‘host_init’:
main.c:348: error: storage size of ‘ifc’ isn’t known
main.c:349: error: storage size of ‘ifreq’ isn’t known
main.c:371: error: invalid application of ‘sizeof’ to incomplete type ‘struct ifreq’
main.c:371: error: increment of pointer to unknown structure
main.c:371: error: arithmetic on pointer to an incomplete type
main.c:374: error: ‘struct iwreq’ has no member named ‘ifr_name’
main.c:374: error: dereferencing pointer to incomplete type
main.c:376: error: dereferencing pointer to incomplete type
main.c:349: warning: unused variable ‘ifreq’
main.c:348: warning: unused variable ‘ifc’
make: *** [main.o] Error 1