Thanx. I followed your suggestion and it worked,
eventhough there're always messages "od: illegal
option -- x" after every compiling line. after that, I
tried to add my own module to snmpd, it work nicely
(at least, when I tried them globally).

But there's another problem. Files in directory
"net-snmp-5.1.1/apps" have not been compiled. So I
compiled them with "make", it run OK (with messages
"od: illegal option -- x" after every compiling line
:-\ ), but It couldn't link snmptrapd file. there's
error message:

./.libs/libnetsnmptrapd.a(snmptrapd_handlers.o): in
function 'command_handler' :
/root./net-snmp-5.1.1/apps/snmptrapd_handlers.c:809:
undefined reference to 'run_exec_command'

Can anyone help?

 --- "Fernández_Piñas,_David" <[EMAIL PROTECTED]>
wrote: 
> 
> I am using these configure options with QNX 6.2.1 on
> a PC, net-snmp 5.1:
> 
> ./configure --enable-mini-agent --with-defaults
> --disable-applications --disable-manuals
> --disable-scripts --disable-mibs --disable-debugging
> --disable-mib-loading --enable-shared
> --disable-static
> --with-out-mib-modules="mibII/snmp_mib
> mibII/sysORTable mibII/vacm_vars utilities/execute
> notification target utilities snmpv3 snmpv3mibs smux
> ucd_snmp agentx agent_mibs"
> --with-out-transports="Callback Unix TCP AAL5PVC
> UDPIPv6 TCPIPv6 IPX" --with-transports="UDP"
> --without-kmem-usage --with-out-zlibc
> --disable-privacy --with-openssl=no
> --with-default-snmp-version="2"
> --disable-internal-md5
> --with-out-security-modules="ksm"

[deleted]

=====
Mohammad Ridwan Agustiawan :: 13599066
------------------------------------------------
LAPI-Divusi ITB
Departemen Sistem dan Telekomunikasi
Ganesha 10 Bandung 40122
[EMAIL PROTECTED]
[EMAIL PROTECTED]

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


-------------------------------------------------------
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