lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi ynezz,

thank you for your answer! The problem was net-snmp's
configuration-parameter. To minimize the installation we compiled
net-snmp without crypto and snmp-2c. Now with this modules it's
working.

Best regards
-- Simon

2010/8/13 Petr Štetiar <ynezz@true.cz>:
> Simon Dittlmann <simon.dittlmann@googlemail.com> [2010-08-13 17:22:05]:
>
>> Hello!
>
> Hi,
>
>> nm_snmp.c:743: error: 'SNMP_VERSION_2c' undeclared (first use in this function)
>> nm_snmp.c:777: error: 'usmHMACMD5AuthProtocol' undeclared (first use
>> nm_snmp.c:796: error: 'usmDESPrivProtocol' undeclared (first use in
>
> I would try to grep for identifiers above in the net-snmp include dir, for
> example:
>
>   $> grep -R SNMP_VERSION_2c uClinux-dist/user/net-snmp/
>
>> nm_snmp.c:2976: error: too few arguments to function 'lua_pushlstring
>
> This looks like that this library is for the older version of Lua or so.
>
> -- ynezz
>