Hello! While I install the NET-SNMP,I firstly copy the net-snmp-5.4.1.tgz to /home/mark. Then I "tar" it. Thirdly, a new directory "net-snmp" was made in /usr/local. Afeter thses,I ran "./configur --prefix=/usr/local/net-snmp"; and ran "make", and the problem came out(I copied all the information): [r...@localhost net-snmp-5.4.1]# make gcc -E -Iinclude -I./include -I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS -DBINDIR=/usr/local/net-snmp-1/bin -x c ./sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript echo 's#DATADIR#/usr/local/net-snmp-1/share#g' >> sedscript echo 's#LIBDIR#/usr/local/net-snmp-1/lib#g' >> sedscript echo 's#BINDIR#/usr/local/net-snmp-1/bin#g' >> sedscript echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript echo 's#SYSCONFDIR#/usr/local/net-snmp-1/etc#g' >> sedscript /bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf making all in /home/mark/net-snmp-5.4.1/snmplib make[1]: Entering directory `/home/mark/net-snmp-5.4.1/snmplib' make[1]: Leaving directory `/home/mark/net-snmp-5.4.1/snmplib' making all in /home/mark/net-snmp-5.4.1/agent make[1]: Entering directory `/home/mark/net-snmp-5.4.1/agent' /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -g -O2 -Ulinux -Dlinux=linux -c -o snmp_perl.lo snmp_perl.c gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -g -O2 -Ulinux -Dlinux=linux -c snmp_perl.c -fPIC -DPIC -o .libs/snmp_perl.o snmp_perl.c: In function `xs_init': snmp_perl.c:20: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type snmp_perl.c: In function `maybe_source_perl_startup': snmp_perl.c:50: warning: passing arg 2 of `perl_parse' from incompatible pointer type gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -g -O2 -Ulinux -Dlinux=linux -c snmp_perl.c -o snmp_perl.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -rpath /usr/local/net-snmp-1/lib -version-info 16:0:1 -o libnetsnmpagent.la snmp_agent.lo snmp_vars.lo agent_read_config.lo agent_registry.lo agent_index.lo agent_trap.lo kernel.lo agent_handler.lo mibgroup/utilities/execute.lo mibgroup/snmpv3/usmConf.lo mibgroup/mibII/vacm_conf.lo snmp_perl.lo ../snmplib/libnetsnmp.la rm -fr .libs/libnetsnmpagent.a .libs/libnetsnmpagent.la .libs/libnetsnmpagent.lai gcc -shared .libs/snmp_perl.o ../snmplib/.libs/libnetsnmp.a -Wl,-soname -Wl,libnetsnmpagent.so.15 -o .libs/libnetsnmpagent.so.15.1.0 /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_debug.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(tools.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_logging.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(scapi.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(callback.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(default_store.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmpusm.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_client.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(mib.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(parse.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_api.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_auth.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(asn1.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(vacm.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(int64.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(read_config.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmpv3.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(lcd_time.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(keytools.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_alarm.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_enum.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_service.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_transport.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmpUDPDomain.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmpTCPDomain.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmpUnixDomain.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(snmp_secmod.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(container.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(container_binary_array.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(container_null.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(container_list_ssll.o)' is incompatible with i386 output /usr/bin/ld: warning: unknown architecture of input file `../snmplib/.libs/libnetsnmp.a(system.o)' is incompatible with i386 output /usr/bin/ld: BFD 2.13.90.0.18 20030206 internal error, aborting at ../../bfd/elf32-i386.c line 2480 in elf_i386_relocate_section /usr/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[1]: *** [libnetsnmpagent.la] Error 1 make[1]: Leaving directory `/home/mark/net-snmp-5.4.1/agent' make: *** [subdirs] Error 1 I'm looking forward a solution of this problem. Thanks!
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ 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
