/lib/libc.so: warning: the use of `tmpnam' is dangerous, better use `mkstemp' Como corrigir
Erro completo:
/lib/libc.so: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/lib/libc.so: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
/lib/libc.so: warning: the `gets' function is dangerous and should not be used.
/lib/libc.so: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/lib/libc.so: warning: lchmod is not implemented and will always fail
No seu programa bote a opção: --with-lib-prefix=/usr/lib que provavelmente resolverá este erro.
--with-lib-prefix Especifica quais bibliotecas vão ser usadas na compilação
Fonte: http://lists.busybox.net/pipermail/buildroot/2013-August/077188.html
ResponderExcluir