Re: Problems installing NET-SNMP on Mac 10.5.2

Thomas Bonham <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Okay fix the first error what I end up doing was putting what it was  
looking for in the file as defined at 1.

#define HAVE_SSIZE_T 1

So now when I run make I'm getting this error. Any ideas now.

rm -fr  .libs/libnetsnmpagent.15.1.0.dylib .libs/libnetsnmpagent. 
15.dylib .libs/libnetsnmpagent.a .libs/libnetsnmpagent.dylib
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - 
o .libs/libnetsnmpagent.15.1.0.dylib  .libs/snmp_agent.o .libs/ 
snmp_vars.o .libs/agent_read_config.o .libs/agent_registry.o .libs/ 
agent_index.o .libs/agent_trap.o .libs/kernel.o .libs/agent_handler.o  
mibgroup/snmpv3/.libs/usmConf.o mibgroup/agentx/.libs/master.o  
mibgroup/agentx/.libs/subagent.o mibgroup/utilities/.libs/execute.o  
mibgroup/utilities/.libs/iquery.o mibgroup/mibII/.libs/vacm_conf.o  
mibgroup/agentx/.libs/protocol.o mibgroup/agentx/.libs/client.o  
mibgroup/agentx/.libs/master_admin.o mibgroup/agentx/.libs/ 
agentx_config.o .libs/snmp_perl.o  ../snmplib/.libs/libnetsnmp.dylib - 
L/usr/local/ssl/lib -L/usr/local/lib /System/Library/Perl/5.8.8/darwin- 
thread-multi-2level/auto/DynaLoader/DynaLoader.a -L/System/Library/ 
Perl/5.8.8/darwin-thread-multi-2level/CORE -lperl -ldl -lm -lutil -lc   
-arch i386 -arch ppc -install_name  /usr/local/lib/libnetsnmpagent. 
15.dylib -compatibility_version 17 -current_version 17.0
ld: warning in ../snmplib/.libs/libnetsnmp.dylib, file is not of  
required architecture
ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib
ld: warning, duplicate dylib /usr/local/lib/libgcc_s.1.dylib
(cd .libs && rm -f libnetsnmpagent.15.dylib && ln -s libnetsnmpagent. 
15.1.0.dylib libnetsnmpagent.15.dylib)
(cd .libs && rm -f libnetsnmpagent.dylib && ln -s libnetsnmpagent. 
15.1.0.dylib libnetsnmpagent.dylib)
ar cru .libs/libnetsnmpagent.a /System/Library/Perl/5.8.8/darwin- 
thread-multi-2level/auto/DynaLoader/DynaLoader.a  snmp_agent.o  
snmp_vars.o agent_read_config.o agent_registry.o agent_index.o  
agent_trap.o kernel.o agent_handler.o mibgroup/snmpv3/usmConf.o  
mibgroup/agentx/master.o mibgroup/agentx/subagent.o mibgroup/utilities/ 
execute.o mibgroup/utilities/iquery.o mibgroup/mibII/vacm_conf.o  
mibgroup/agentx/protocol.o mibgroup/agentx/client.o mibgroup/agentx/ 
master_admin.o mibgroup/agentx/agentx_config.o snmp_perl.o
ranlib: archive member: .libs/libnetsnmpagent.a(DynaLoader.a) fat file  
for cputype (18) cpusubtype (0) is not an object file (bad magic number)
ar: internal ranlib command failed
make[1]: *** [libnetsnmpagent.la] Error 1
make: *** [subdirs] Error 1
bonham:net-snmp-5.4.1 bonham$


Thanks you,

Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.