It seems that I am quite close to getting the ./configure parameters list correct. I can now get make to compile all the files, and the link stage starts. My current problem concerns undefined references, and the extract from the make follows:
========================= Extract from make - start ========================= /bin/sh ../libtool --mode=compile /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c -o kernel.lo kernel.c rm -f .libs/kernel.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c kernel.c -fPIC -DPIC -o .libs/kernel.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c kernel.c -o kernel.o >/dev/null 2>&1 mv -f .libs/kernel.lo kernel.lo /bin/sh ../libtool --mode=compile /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c -o agent_handler.lo agent_handler.c rm -f .libs/agent_handler.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c agent_handler.c -fPIC -DPIC -o .libs/agent_handler.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c agent_handler.c -o agent_handler.o >/dev/null 2>&1 mv -f .libs/agent_handler.lo agent_handler.lo /bin/sh ../libtool --mode=compile /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c -o mib_modules.lo mib_modules.c rm -f .libs/mib_modules.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c mib_modules.c -fPIC -DPIC -o .libs/mib_modules.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c mib_modules.c -o mib_modules.o >/dev/null 2>&1 mv -f .libs/mib_modules.lo mib_modules.lo /bin/sh ../libtool --mode=compile /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c -o auto_nlist.lo auto_nlist.c rm -f .libs/auto_nlist.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c auto_nlist.c -fPIC -DPIC -o .libs/auto_nlist.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c auto_nlist.c -o auto_nlist.o >/dev/null 2>&1 mv -f .libs/auto_nlist.lo auto_nlist.lo /bin/sh ../libtool --mode=link /opt/kenati/i386/bin/i386-uclibc-gcc -I/usr/include -g -O2 -Dnone -Dlinux -rpath /usr/local/lib -version-info 5:9:0 -o libnetsnmpmibs.la mibgroup/mibII/system_mib.lo mibgroup/mibII/sysORTable.lo mibgroup/mibII/at.lo mibgroup/mibII/interfaces.lo mibgroup/mibII/snmp_mib.lo mibgroup/mibII/tcp.lo mibgroup/mibII/icmp.lo mibgroup/mibII/ip.lo mibgroup/mibII/udp.lo mibgroup/mibII/vacm_vars.lo mibgroup/mibII/setSerialNo.lo mibgroup/ucd-snmp/memory.lo mibgroup/ucd-snmp/vmstat.lo mibgroup/ucd-snmp/proc.lo mibgroup/ucd-snmp/versioninfo.lo mibgroup/ucd-snmp/pass.lo mibgroup/ucd-snmp/pass_persist.lo mibgroup/ucd-snmp/disk.lo mibgroup/ucd-snmp/loadave.lo mibgroup/ucd-snmp/extensible.lo mibgroup/ucd-snmp/errormib.lo mibgroup/ucd-snmp/file.lo mibgroup/ucd-snmp/dlmod.lo mibgroup/ucd-snmp/proxy.lo mibgroup/snmpv3/snmpEngine.lo mibgroup/snmpv3/snmpMPDStats.lo mibgroup/snmpv3/usmStats.lo mibgroup/snmpv3/usmUser.lo mibgroup/notification/snmpNotifyTable.lo mibgroup/notification/snmpNotifyFilterTable.lo mibgroup/notification/snmpNotifyFilterProfileTable.lo mibgroup/target/snmpTargetAddrEntry.lo mibgroup/target/snmpTargetParamsEntry.lo mibgroup/target/target.lo mibgroup/target/target_counters.lo mibgroup/agent/nsTransactionTable.lo mibgroup/agent/nsModuleTable.lo mibgroup/agentx/master.lo mibgroup/agentx/subagent.lo mibgroup/utilities/override.lo mibgroup/util_funcs.lo mibgroup/mibII/kernel_linux.lo mibgroup/mibII/tcpTable.lo mibgroup/mibII/ipAddr.lo mibgroup/mibII/var_route.lo mibgroup/mibII/route_write.lo mibgroup/mibII/udpTable.lo mibgroup/mibII/vacm_context.lo mibgroup/header_complex.lo mibgroup/agentx/protocol.lo mibgroup/agentx/client.lo mibgroup/agentx/master_admin.lo mibgroup/agentx/agentx_config.lo mib_modules.lo auto_nlist.lo rm -fr .libs/libnetsnmpmibs.la .libs/libnetsnmpmibs.* .libs/libnetsnmpmibs.* /opt/kenati/i386/bin/i386-uclibc-gcc -shared mibgroup/mibII/system_mib.lo mibgroup/mibII/sysORTable.lo mibgroup/mibII/at.lo mibgroup/mibII/interfaces.lo mibgroup/mibII/snmp_mib.lo mibgroup/mibII/tcp.lo mibgroup/mibII/icmp.lo mibgroup/mibII/ip.lo mibgroup/mibII/udp.lo mibgroup/mibII/vacm_vars.lo mibgroup/mibII/setSerialNo.lo mibgroup/ucd-snmp/memory.lo mibgroup/ucd-snmp/vmstat.lo mibgroup/ucd-snmp/proc.lo mibgroup/ucd-snmp/versioninfo.lo mibgroup/ucd-snmp/pass.lo mibgroup/ucd-snmp/pass_persist.lo mibgroup/ucd-snmp/disk.lo mibgroup/ucd-snmp/loadave.lo mibgroup/ucd-snmp/extensible.lo mibgroup/ucd-snmp/errormib.lo mibgroup/ucd-snmp/file.lo mibgroup/ucd-snmp/dlmod.lo mibgroup/ucd-snmp/proxy.lo mibgroup/snmpv3/snmpEngine.lo mibgroup/snmpv3/snmpMPDStats.lo mibgroup/snmpv3/usmStats.lo mibgroup/snmpv3/usmUser.lo mibgroup/notification/snmpNotifyTable.lo mibgroup/notification/snmpNotifyFilterTable.lo mibgroup/notification/snmpNotifyFilterProfileTable.lo mibgroup/target/snmpTargetAddrEntry.lo mibgroup/target/snmpTargetParamsEntry.lo mibgroup/target/target.lo mibgroup/target/target_counters.lo mibgroup/agent/nsTransactionTable.lo mibgroup/agent/nsModuleTable.lo mibgroup/agentx/master.lo mibgroup/agentx/subagent.lo mibgroup/utilities/override.lo mibgroup/util_funcs.lo mibgroup/mibII/kernel_linux.lo mibgroup/mibII/tcpTable.lo mibgroup/mibII/ipAddr.lo mibgroup/mibII/var_route.lo mibgroup/mibII/route_write.lo mibgroup/mibII/udpTable.lo mibgroup/mibII/vacm_context.lo mibgroup/header_complex.lo mibgroup/agentx/protocol.lo mibgroup/agentx/client.lo mibgroup/agentx/master_admin.lo mibgroup/agentx/agentx_config.lo mib_modules.lo auto_nlist.lo -Wl,-soname -Wl,libnetsnmpmibs.so.5 -o .libs/libnetsnmpmibs.so.5.0.9 (cd .libs && rm -f libnetsnmpmibs.so.5 && ln -s libnetsnmpmibs.so.5.0.9 libnetsnmpmibs.so.5) (cd .libs && rm -f libnetsnmpmibs.so && ln -s libnetsnmpmibs.so.5.0.9 libnetsnmpmibs.so) ar cru .libs/libnetsnmpmibs.a mibgroup/mibII/system_mib.o mibgroup/mibII/sysORTable.o mibgroup/mibII/at.o mibgroup/mibII/interfaces.o mibgroup/mibII/snmp_mib.o mibgroup/mibII/tcp.o mibgroup/mibII/icmp.o mibgroup/mibII/ip.o mibgroup/mibII/udp.o mibgroup/mibII/vacm_vars.o mibgroup/mibII/setSerialNo.o mibgroup/ucd-snmp/memory.o mibgroup/ucd-snmp/vmstat.o mibgroup/ucd-snmp/proc.o mibgroup/ucd-snmp/versioninfo.o mibgroup/ucd-snmp/pass.o mibgroup/ucd-snmp/pass_persist.o mibgroup/ucd-snmp/disk.o mibgroup/ucd-snmp/loadave.o mibgroup/ucd-snmp/extensible.o mibgroup/ucd-snmp/errormib.o mibgroup/ucd-snmp/file.o mibgroup/ucd-snmp/dlmod.o mibgroup/ucd-snmp/proxy.o mibgroup/snmpv3/snmpEngine.o mibgroup/snmpv3/snmpMPDStats.o mibgroup/snmpv3/usmStats.o mibgroup/snmpv3/usmUser.o mibgroup/notification/snmpNotifyTable.o mibgroup/notification/snmpNotifyFilterTable.o mibgroup/notification/snmpNotifyFilterProfileTable.o mibgroup/target/snmpTargetAddrEntry.o mibgroup/target/snmpTargetParamsEntry.o mibgroup/target/target.o mibgroup/target/target_counters.o mibgroup/agent/nsTransactionTable.o mibgroup/agent/nsModuleTable.o mibgroup/agentx/master.o mibgroup/agentx/subagent.o mibgroup/utilities/override.o mibgroup/util_funcs.o mibgroup/mibII/kernel_linux.o mibgroup/mibII/tcpTable.o mibgroup/mibII/ipAddr.o mibgroup/mibII/var_route.o mibgroup/mibII/route_write.o mibgroup/mibII/udpTable.o mibgroup/mibII/vacm_context.o mibgroup/header_complex.o mibgroup/agentx/protocol.o mibgroup/agentx/client.o mibgroup/agentx/master_admin.o mibgroup/agentx/agentx_config.o mib_modules.o auto_nlist.o ranlib .libs/libnetsnmpmibs.a creating libnetsnmpmibs.la (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) : libnetsnmpmibs.la /bin/sh ../libtool --mode=link /opt/kenati/i386/bin/i386-uclibc-gcc -I/usr/include -g -O2 -Dnone -Dlinux -rpath /usr/local/lib -version-info 5:9:0 -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 rm -fr .libs/libnetsnmpagent.la .libs/libnetsnmpagent.* .libs/libnetsnmpagent.* /opt/kenati/i386/bin/i386-uclibc-gcc -shared snmp_agent.lo snmp_vars.lo agent_read_config.lo agent_registry.lo agent_index.lo agent_trap.lo kernel.lo agent_handler.lo -Wl,-soname -Wl,libnetsnmpagent.so.5 -o .libs/libnetsnmpagent.so.5.0.9 (cd .libs && rm -f libnetsnmpagent.so.5 && ln -s libnetsnmpagent.so.5.0.9 libnetsnmpagent.so.5) (cd .libs && rm -f libnetsnmpagent.so && ln -s libnetsnmpagent.so.5.0.9 libnetsnmpagent.so) ar cru .libs/libnetsnmpagent.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 ranlib .libs/libnetsnmpagent.a creating libnetsnmpagent.la (cd .libs && rm -f libnetsnmpagent.la && ln -s ../libnetsnmpagent.la libnetsnmpagent.la) : libnetsnmpagent.la /bin/sh ../libtool --mode=compile /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c -o snmpd.lo snmpd.c rm -f .libs/snmpd.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c snmpd.c -fPIC -DPIC -o .libs/snmpd.lo /opt/kenati/i386/bin/i386-uclibc-gcc -I../include -I../include -I.. -I./.. -I./../snmplib -I. -I. -I./mibgroup -Imibgroup -I/usr/include -g -O2 -Dnone -Dlinux -c snmpd.c -o snmpd.o >/dev/null 2>&1 mv -f .libs/snmpd.lo snmpd.lo /bin/sh ../libtool --mode=link /opt/kenati/i386/bin/i386-uclibc-gcc -I/usr/include -g -O2 -Dnone -Dlinux -o snmpd snmpd.lo libnetsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lm /opt/kenati/i386/bin/i386-uclibc-gcc -I/usr/include -g -O2 -Dnone -Dlinux -o .libs/snmpd snmpd.o ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl -lm -Wl,--rpath -Wl,/usr/local/lib ../snmplib/.libs/libnetsnmp.so: the 'setlocale' function supports only C|POSIX locales snmpd.o: In function `main': /usr/include/stdlib.h:317: undefined reference to `__strtol_internal' /usr/include/stdlib.h:323: undefined reference to `__strtoul_internal' ./.libs/libnetsnmpmibs.so: undefined reference to `__strtod_internal' ./.libs/libnetsnmpmibs.so: undefined reference to `endfsent' ./.libs/libnetsnmpmibs.so: undefined reference to `__rawmemchr' ../snmplib/.libs/libnetsnmp.so: undefined reference to `__ctype_tolower_loc' ./.libs/libnetsnmpagent.so: undefined reference to `__strdup' ../snmplib/.libs/libnetsnmp.so: undefined reference to `_IO_getc' ./.libs/libnetsnmpmibs.so: undefined reference to `__ctype_b_loc' ./.libs/libnetsnmpmibs.so: undefined reference to `__xstat' collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/usr/netsnmp59/net-snmp-5.0.9/agent' make: *** [subdirs] Error 1 [EMAIL PROTECTED] net-snmp-5.0.9] ========================= Extract from make - end ========================= As you can see, the compile is working, and libraries are being built. I suspect that the listed errors are due to problems with the standard link libraries. Any observations of others are well appreciated. The ./configure command line that I am using follows: ================================ ./configure command line - start ================================ ./configure \ --with-cc=/opt/kenati/i386/bin/i386-uclibc-gcc \ --with-endianness=little --build=i386-linux \ --target=i386-linux --host=i386-linux \ --with-mib-modules="agentx" \ --cache-file=/user/netsnmp59/configout.txt \ --with-openssl=no --with-default-snmp-version=2 \ --with-cflags="-I/usr/include -g -O2 -Dnone" \ --with-sys-contact="WRBuckley" \ --with-sys-location="RealNet" \ --with-logfile="/var/log/snmpd.log" \ --with-persistent-directory="/var/net-snmp" ================================ ./configure command line - end ================================ Now, friendly core developers, don't say that I never gave you anything (like details on a port of the Net-SNMP toolkit to some environment not already supported - or some such complaint). Given the problems I have found in completing the link of the daemon, we can agree that the port is not complete. When I have figured out how to finish the link of the daemon, I will send more details. For now, any suggestions on solving the undefined references errors in the link stage will help. I still maintain that the details of porting, especially in using ./configure, are not clear, and documentation of these should be improved (hence, some of the content of this and other postings from me). If other users would query the users list archives, they will find my comments, and that should provide a short term documentation benefit. If the core developers can spare some time, and provide me with other details, I will generate some more formal documentation (hint, hint). I did get some email from two other users, telling me that an earlier post did get to the users list. Hence, they were somewhat politely complaining of my resend of that post. I have looked at the users list archives and not found that first post. I also did not get that first post in reply, even though I subscribe to the users list. That is the reason for my header to the second post, explaining my reason for a second post. Given the recent inactivity of the lists (SourceForge had them off-line for a while), perhaps the problem stems therefrom. In one case, the complainant noted that ./configure was a product of another group. This is news to me, so perhaps my complaints about its behavior should be directed elsewhere. If that is the case, then please, a request to the core developers for information about this other development team. Even if this is the case, many of my comments are suitable for the Net-SNMP toolkit proper. This kind of information should be part of the Net-SNMP documentation. William R. Buckley President SoftNerd, A California Corporation Director Emeritus, International Core Wars Society [EMAIL PROTECTED] 415-756-6699 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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