|
compiling strace using buildroot for mipsel: msg#00253linux.busybox
I had some problems
compiling strace using buildroot and cross-compiling from x86 to mipsel.
I'm using uclibc snapshot and busybox snapshot, downloaded before pre1 and pre2
existed. I did not find any information about this in the email
archive.
There were two
errors that I found. The first occurred while compiling bjm.c. There
was a syntax error before void on line 218 of system.h. Apparently
asmlinkage was undefined. To fix it I included <linux/linkage.h>
in <asm/system.h>. Here's the diff:
asm/system.h
18a19
> #include <linux/linkage.h> The second was in
system.c. Actually there were numerous things not defined, because
<asm/sysmips.h> was not being included as a result of HAVE_ASM_SYSMIPS_H
not being defined. Since I don't know where it should be defined, I just
commented out the check. Here's the diff:
strace-4.4/system.c
75c75
< #ifdef HAVE_ASM_SYSMIPS_H --- > //#ifdef HAVE_ASM_SYSMIPS_H 77c77 < #endif --- > //#endif Since at
least one of these problems is actually in the strace package, I don't
expect this to be fixed in busybox/buildroot. I just wanted to give people the
heads up.
Tony
_______________________________________________busybox mailing list busybox@xxxxxxxxxxxxxxxx http://codepoet.org/mailman/listinfo/busybox |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Shell from inittab: 00253, Agust Karlsson |
|---|---|
| Next by Date: | Re: patch to login, dmesg and obscure: 00253, Ronny L Nilsson |
| Previous by Thread: | Shell from inittabi: 00253, Agust Karlsson |
| Next by Thread: | init script and umount: 00253, David Boyes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |