Hi, I'm trying to build the shared lib libsnmp.so, of UCD-SNMP 4.2.5 with gcc 3.4.6. I know this is a very old version of UDC/NET-SNMP, but I'm porting an application to a newer version of the OS, and I have to keep the same version of UCD-SNMP (the former version of gcc was 2.96). When I try to build the lib, (I did ./configure --enable-shared, and make), I've got this error :
scapi.c: In function `sc_encrypt': scapi.c:612: error: incompatible type for argument 1 of `memset' scapi.c: In function `sc_decrypt': scapi.c:725: error: incompatible type for argument 1 of `memset' I don't know how to deal with this. Is there a way to build libsnmp.so of UCD-SNMP 4.2.5, or this version is really too old for the newer gcc ? Thanks a lot for your help. -- Sylvain Lapendry ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
