[Debian] undefined reference to `compat_sys_rt_sigsuspend' on ia64

Ola Lundqvist ola at opalsys.net
Thu Apr 12 03:39:06 EDT 2007


Hi Kiril


On Wed, Apr 11, 2007 at 08:02:37PM +0400, Kirill Korotaev wrote:
> 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.

You do not need to do that. I can do that myself.

Regards,

// Ola
 
> 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
> > 
> 

> 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
>  


-- 
 --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/  ola at opalsys.net                   Annebergsslingan 37        \
|  opal at debian.org                   654 65 KARLSTAD            |
|  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------


More information about the Debian mailing list