[uClinux-dev] strace

linux at katatudo.com.br linux at katatudo.com.br
Mon Aug 8 14:11:10 EDT 2005

Hi Lars and Emilena,

> This will never work because you lack all the settings which
> header files and user space libraries to include during the
> build. Compile an user space application that is delivered
> with uClinux and check the compilation & linking parameters.
> The three lines full of -I etc. parameters are not there just
> for fun. The default settings for your host system will be wrong
> and whatever you try to make will fail - even if you should be
> able to compile it (then it will fail when you try to execute it).
> (By the way, you still didn't tell what's wrong with strace
> that is included in the uClinux distribution....)
> Best regards,
> Lars Friedrich

I get strace running successfully in coldfire.

The error was the same Daniel got some times ago:

I am sending a silly patch to other peoples get it working.



diff -Naur uClinux-dist-orig/user/strace/process.c
--- uClinux-dist-orig/user/strace/process.c     2005-08-08
14:44:58.000000000 -0300
+++ uClinux-dist/user/strace/process.c  2005-08-08 14:48:28.000000000 -0300
@@ -56,6 +56,10 @@
 #include <machine/reg.h>
 #endif /* SUNOS4 */

+#ifdef M68K
+#include <asm/ptrace.h>
 #ifdef FREEBSD
 #include <sys/ptrace.h>

KATATUDO sua melhor pesquisa na internet.
Primeiro WEBMAIL gratuito com espaço ILIMITADO
Sistema Desenvolvido 100% com Software Livre

More information about the uClinux-dev mailing list