hi not sure where to turn next im a relative noob trying to compile net-snmp into uClinux for coldfire 5282, I keep running into this error. Ive tried 2.6 and 2.4, uClibc and uC-libc all with the same result. it appears to be related to the uClibc and linking, if i should go to the uClibc list with this, just let me know. is it a net-snmp thing? ill go there. or is it uClinux?
im using the 20070131 dist of uClinux with the m68k 20060630 toolchain all on a up to date ubuntu workstation here is the compile error under uClibc, the error is similar under uC-libc rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.* ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -shared snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo snmp_auth.lo asn1.lo md5.losnmp_parse_args.lo system.lo vacm.lo int64.lo read_config.lo snmp_debug.lo tools.losnmp_logging.lo snmpv3.lo lcd_time.lo keytools.lo scapi.lo callback.lo default_store.lo snmp_alarm.lo data_list.lo oid_stash.lo mt_support.lo snmp_enum.lo snmp-tc.lo snprintf.lo strlcpy.lo strtol.lo strtoul.lo strtok_r.lo snmp_transport.lo snmpUDPDomain.lo snmpTCPDomain.lo snmpUnixDomain.lo snmpCallbackDomain.lo snmp_secmod.lo snmpusm.lo snmp_version.lo check_varbind.lo container.lo container_binary_array.lo container_null.lo container_list_ssll.lo container_iterator.lo cmu_compat.lo ucd_compat.lo -Wl,-soname -Wl,libnetsnmp.so.5 -o .libs/libnetsnmp.so.5.2.1 /usr/local/lib/gcc/m68k-uclinux/4.1.1/../../../../m68k-uclinux/bin/ld.real: warning: cannot find entry symbol _start; defaulting to 80000074 /home/jonm/uClinux-dist/lib/libc/libc.a(_init.o): In function `__uClibc_main': /home/jonm/uClinux-dist/lib/libc/sysdeps/_init.c:11: undefined reference to `main' collect2: ld returned 1 exit status make[5]: *** [libnetsnmp.la] Error 1 make[5]: Leaving directory `/home/jonm/uClinux-dist/user/net-snmp/build/snmplib' make[4]: *** [subdirs] Error 1 make[4]: Leaving directory `/home/jonm/uClinux-dist/user/net-snmp/build' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/jonm/uClinux-dist/user/net-snmp' make[2]: *** [net-snmp] Error 2 make[2]: Leaving directory `/home/jonm/uClinux-dist/user' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/jonm/uClinux-dist/user' make: *** [subdirs] Error 1 [EMAIL PROTECTED]:~/uClinux-dist$ thx in advance for any pointers around this issue. jon
_______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
