CRAZY ERROR

Spencer
2007-07-17
2013-04-01
  • Spencer
    Spencer
    2007-07-17

    In file included from PacketSource.h:31,
                     from callbacks.c:24:
    /usr/include/linux/wireless.h:646: error: expected specifier-qualifier-list before ‘__s32’
    /usr/include/linux/wireless.h:659: error: expected specifier-qualifier-list before ‘__u16’
    /usr/include/linux/wireless.h:673: error: expected specifier-qualifier-list before ‘__s32’
    /usr/include/linux/wireless.h:684: error: expected specifier-qualifier-list before ‘__u8’
    /usr/include/linux/wireless.h:700: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:713: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:740: error: expected specifier-qualifier-list before ‘__u8’
    /usr/include/linux/wireless.h:802: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:816: error: expected specifier-qualifier-list before ‘__u16’
    /usr/include/linux/wireless.h:830: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:838: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:847: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:859: error: expected specifier-qualifier-list before ‘__u16’
    /usr/include/linux/wireless.h:882: error: ‘IFNAMSIZ’ undeclared here (not in a function)
    /usr/include/linux/wireless.h:897: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:941: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:1042: error: expected specifier-qualifier-list before ‘__u32’
    /usr/include/linux/wireless.h:1060: error: expected specifier-qualifier-list before ‘__u16’
    callbacks.c: In function ‘fillDeviceList’:
    callbacks.c:121: error: storage size of ‘ir’ isn’t known
    callbacks.c:129: error: ‘IFF_LOOPBACK’ undeclared (first use in this function)
    callbacks.c:129: error: (Each undeclared identifier is reported only once
    callbacks.c:129: error: for each function it appears in.)
    make[1]: *** [callbacks.o] Error 1
    make[1]: Leaving directory `/home/spencer/airsnort-0.2.7e/src'
    make: *** [check-recursive] Error 1

    This always happens after I do a 'make' command. Any suggestions?