[Debian] undefined reference to `compat_sys_rt_sigsuspend' on ia64
Kirill Korotaev
dev at sw.ru
Wed Apr 11 12:02:37 EDT 2007
Ola, I attached the patch which is already in git.
It should help.
I will also ask Vasiliy to prepare 028stab028 patch for you for debian.
Thanks,
Kirill
Ola Lundqvist wrote:
> Hi
>
> Today I was able to get access to an ia64 machine to build
> the patch against the etch version of kernel sources.
>
> However I get some problems.
>
> AS arch/ia64/lib/xor.o
> AR arch/ia64/lib/lib.a
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/ia64/ia32/built-in.o: In function `ia32_syscall_table':
> (.rodata+0x598): undefined reference to `compat_sys_rt_sigsuspend'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make[1]: Leaving directory `/home/opal/openvz-2.6/linux-source-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
>
>
> I have the full build log, but have problem with cut and paste.
>
> Is it some kernel option that I need to disable or enable in order
> to make it work?
>
> sys_rt_sigsuspend is not mentioned in any other place in the build
> log.
>
> Regards,
>
> // Ola
>
-------------- next part --------------
diff --git a/include/asm-ia64/unistd.h b/include/asm-ia64/unistd.h
index 141c44e..7cc039f 100644
--- a/include/asm-ia64/unistd.h
+++ b/include/asm-ia64/unistd.h
@@ -321,6 +321,7 @@ # define __ARCH_WANT_SYS_OLD_GETRLIMIT
# define __ARCH_WANT_SYS_OLDUMOUNT
# define __ARCH_WANT_SYS_SIGPENDING
# define __ARCH_WANT_SYS_SIGPROCMASK
+# define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
# define __ARCH_WANT_COMPAT_SYS_TIME
#endif
More information about the Debian
mailing list