The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* __NR_ia32_restart_syscall undeclared
@ 2005-05-26 19:38 Christian Kujau
  0 siblings, 0 replies; only message in thread
From: Christian Kujau @ 2005-05-26 19:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

compiling 2.6.12-rc4 and 2.6.12-rc5-mm1 too on x86_64 breaks with:

  CC      arch/x86_64/kernel/process.o
  CC      arch/x86_64/kernel/semaphore.o
  CC      arch/x86_64/kernel/signal.o
arch/x86_64/kernel/signal.c: In function `do_signal':
arch/x86_64/kernel/signal.c:460: error: `__NR_ia32_restart_syscall'
undeclared (first use in this function)
arch/x86_64/kernel/signal.c:460: error: (Each undeclared identifier is
reported only once
arch/x86_64/kernel/signal.c:460: error: for each function it appears in.)
make[1]: *** [arch/x86_64/kernel/signal.o] Error 1
make: *** [arch/x86_64/kernel] Error 2


including asm/ia32_unistd.h helps, but i don't know if it is the
Right Thing to do.

thank you,
Christian.


- --- linux-2.6-git/arch/x86_64/kernel/signal.c.orig      2005-05-22
15:37:50.262209040 +0200
+++ linux-2.6-git/arch/x86_64/kernel/signal.c   2005-05-22
15:38:46.886600824 +0200
@@ -28,6 +28,7 @@
 #include <asm/uaccess.h>
 #include <asm/i387.h>
 #include <asm/proto.h>
+#include <asm/ia32_unistd.h>

 /* #define DEBUG_SIG 1 */


- --
BOFH excuse #214:

Fluorescent lights are generating negative ions. If turning them off
doesn't work, take them out and put tin foil on the ends.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCliWa+A7rjkF8z0wRApzdAJ9q8+nb6U5uMwYQMSqYULnmEg8QPwCfT7C3
4Zv2kIryVCyyU3OZIj/lszY=
=Q8xL
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-26 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 19:38 __NR_ia32_restart_syscall undeclared Christian Kujau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox