Discussion:
[uClinux-dev] coldfire build, usleep issue
angelo
2015-04-10 07:51:39 UTC
Permalink
Dear all,

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.

Every help is appreciated.
Best regards,
Angelo
_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Greg Ungerer
2015-04-10 13:24:30 UTC
Permalink
Hi Angelo,
Post by angelo
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-
warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.
warning: gethostbyname is obsolescent, use getnameinfo() instead.
warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.
warning: gethostbyname is obsolescent, use getnameinfo() instead.
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
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Loading...