Re: [ns] 802.11p package Sherbrooke UNI
Hey its all working fine now but I am a bit confuse to define 802.11p parameters in TCL Scripts. Does any one have any example scripts.? Thanks for your help. Nirav Shah wrote: 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
[ns] 802.11p package Sherbrooke UNI
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: