I am trying to add 802.11p package from sherbrooke uni. But when I do make it
gives me following error.

mac/mac802_11p.cc: In member function ‘virtual int Mac802_11p::command(int,
const char* const*)’:
mac/mac802_11p.cc:230: warning: unused variable ‘tmp’
mac/mac802_11p.cc: In member function ‘void Mac802_11p::setChan(int)’:
mac/mac802_11p.cc:262: warning: unused variable ‘tmp’
mac/mac802_11p.cc: In member function ‘void
Mac802_11p::update_client_table(int, int, int)’:
mac/mac802_11p.cc:1840: error: cannot convert ‘client_list*’ to
‘client_table*’ in assignment
mac/mac802_11p.cc:1841: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1842: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1843: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1844: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc: In member function ‘void Mac802_11p::push(int, int,
int)’:
mac/mac802_11p.cc:1856: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1857: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1858: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1861: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1869: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1870: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1872: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1872: error: invalid application of ‘sizeof’ to incomplete
type ‘client_table’ 
mac/mac802_11p.cc:1873: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1874: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1875: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1876: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc: In member function ‘int Mac802_11p::find_client(int)’:
mac/mac802_11p.cc:1883: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1883: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1883: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc:1888: error: invalid use of incomplete type ‘struct
client_table’
mac/mac802_11p.h:251: error: forward declaration of ‘struct client_table’
mac/mac802_11p.cc: In member function ‘void Mac802_11p::update_ap_table(int,
double)’:
mac/mac802_11p.cc:2796: error: cannot convert ‘ap_list*’ to ‘ap_table*’ in
assignment
mac/mac802_11p.cc:2797: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2798: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2799: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc: In member function ‘void Mac802_11p::push_ap(int,
double)’:
mac/mac802_11p.cc:2811: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2812: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2814: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2815: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2816: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc:2817: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc: In member function ‘void Mac802_11p::deletelist()’:
mac/mac802_11p.cc:2824: error: cannot convert ‘ap_table*’ to ‘ap_list*’ in
assignment
mac/mac802_11p.cc:2825: error: invalid use of incomplete type ‘struct
ap_table’
mac/mac802_11p.h:252: error: forward declaration of ‘struct ap_table’
mac/mac802_11p.cc: In member function ‘int Mac802_11p::strongest_ap()’:
mac/mac802_11p.cc:2835: error: cannot convert ‘ap_table*’ to ‘ap_list*’ in
assignment
mac/mac802_11p.cc: In member function ‘int Mac802_11p::find_ap(int,
double)’:
mac/mac802_11p.cc:2852: error: cannot convert ‘ap_table*’ to ‘ap_list*’ in
assignment
make: *** [mac/mac802_11p.o] Error 1

Any Help will be much appreciated. Thank You.
-- 
View this message in context: 
http://old.nabble.com/802.11p-package-Sherbrooke-UNI-tp31900521p31900521.html
Sent from the ns-users mailing list archive at Nabble.com.


Reply via email to