> gcc -g -O2 -Dlinux -x c ieee802dot11_oldapi.c
> 
> I get errors having this form:
> 
> var_ieee802dot11 undeclared here (not in a function)
> initialiser element is not constant
> (near initialisation for 'ieee802dot11_variables[0].findVar')

And what does the relevant code look like?



> What is most interesting about these errors is that the
> header file ieee802dot11_oldapi.h has statements like
> 
> FindVarMethod  var_ieee802dot11
> FindVarMethod  var_dot11PhyOperationTable

Shouldn't those two have a trailing semicolon?


Dave



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to