[uClibc]strace not compiling anymore

Ronald Wahl rwa at peppercon.com
Wed Aug 28 12:18:22 UTC 2002


On Wed, 28 Aug 2002 01:17:24 -0600, Erik Andersen wrote:

> On Wed Aug 28, 2002 at 08:58:39AM +0200, Ronald Wahl wrote:
>> On Tue, 27 Aug 2002 12:01:38 -0600, Erik Andersen wrote:
>> 
>> > sys/syscalls.h is supposed to include bits/syscalls.h which then
>> > includes bits/syscall.h.   What architecture are you using? 
>> 
>> PowerPC. But I see you fixed it. Thanks!

> Yup.  Took me a few, but I was able to get that one before
> the release,

There is still a bug that prevents including of bits/syscall.h - at
least for powerpc. Fix: 

--------------------------

diff -u -r1.1.9.2 syscalls.h
--- libc/sysdeps/linux/powerpc/bits/syscalls.h  28 Aug 2002 10:43:46 -0000      1.1.9.2
+++ libc/sysdeps/linux/powerpc/bits/syscalls.h  28 Aug 2002 12:15:56 -0000
@@ -8,7 +8,6 @@
 
 /* Do something very evil for now.  Until we create our own syscall
  * macros, short circuit bits/syscall.h  and use asm/unistd.h instead */
-#define _BITS_SYSCALL_H
 #include <asm/unistd.h>
 
 /* This includes the `__NR_<name>' syscall numbers taken from the Linux kernel

--------------------------

ron

-- 
\\      Dipl.-Inf. Ronald Wahl   |   Peppercon AG                  //
 \\\         rwa at peppercon.com  |||  http://www.peppercon.com/   /// 
  \OO  -----------------------  OOO  -------------------------  OO/ 
   OO  GnuPG/PGP key available  OOO  Keep Systems running       OO



More information about the uClibc mailing list