Re: coldfire build, usleep issue
Greg Ungerer <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Angelo, On 10/04/15 17:51, angelo wrote: > trying to compile last uclinux, configured for nommu mcf5307. > > I have 2 toolchains, but with both i get. > > > make CROSS_COMPILE=/usr/local/bin/m68k-uclinux- > > > libbb/lib.a(inet_common.o): In function `INET_rresolve': > /home/angelo/archivio/aziende/sysam/uClinux-dist/user/busybox/libbb/inet_common.c:140: > warning: gethostbyaddr is obsolescent, use getaddrinfo() instead. > libbb/lib.a(inet_common.o): In function `INET_resolve': > /home/angelo/archivio/aziende/sysam/uClinux-dist/user/busybox/libbb/inet_common.c:31: > warning: gethostbyname is obsolescent, use getnameinfo() instead. > libbb/lib.a(inet_common.o): In function `INET_rresolve': > /home/angelo/archivio/aziende/sysam/uClinux-dist/user/busybox/libbb/inet_common.c:140: > warning: gethostbyaddr is obsolescent, use getaddrinfo() instead. > libbb/lib.a(inet_common.o): In function `INET_resolve': > /home/angelo/archivio/aziende/sysam/uClinux-dist/user/busybox/libbb/inet_common.c:31: > warning: gethostbyname is obsolescent, use getnameinfo() instead. > /home/angelo/archivio/aziende/sysam/uClinux-dist/uClibc/lib/libc.a(syslog.o): > In function `vsyslog': > syslog.c:(.text+0x30c): undefined reference to `usleep' > collect2: ld returned 1 exit status > Makefile:739: set di istruzioni per l'obiettivo "busybox_unstripped" > non riuscito > > > Maybe the issue is realted to the fact i used a previous version of > .config ? > > I don't see usleep implemented into uClinux btw. usleep is a library function (so part of uClibc for example). I see it in uClibc/libc/unistd/usleep.c. Maybe you don't have the right uClibc options enabled for it to be built in? Regards Greg _______________________________________________ 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