麻 雪蛟 wrote: > Hi > > When I undef macro WIN32SERVICE in snmptrapd, it would emit following > errors, I don't know why, what does WIN32SERVICE mean??? : > > netsnmptrapd.lib(snmptrapd.obj) : error LNK2005: _app_name already > defined in snmptrapd.obj
It's to allow snmptrapd to run as a service under Windows NT or higher. Search the file for WIN32SERVICE and you will see how it is used. Alex ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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
