[Vserver] Can't build on Alpha

2005-01-13 Thread John Goerzen
Hi,

I'm trying to build 2.6.9 with the latest dev release for Alpha.  I'm
getting:

  LD  usr/built-in.o
  AS  arch/alpha/kernel/entry.o
In file included from arch/alpha/kernel/entry.S:12:
include/asm/unistd.h:367:1: warning: __NR_vserver redefined
include/asm/unistd.h:236:1: warning: this is the location of the previous 
definition
  CC  arch/alpha/kernel/traps.o
  CC  arch/alpha/kernel/process.o
In file included from include/linux/unistd.h:9,
 from arch/alpha/kernel/process.c:20:
include/asm/unistd.h:367:1: __NR_vserver redefined
include/asm/unistd.h:236:1: this is the location of the previous definition
make[2]: *** [arch/alpha/kernel/process.o] Error 1
make[1]: *** [arch/alpha/kernel] Error 2
make[1]: Leaving directory `/home/jgoerzen/programs/kernel/linux-2.6.9'

Any ideas?

-- John
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Can't build on Alpha

2005-01-13 Thread John Goerzen
On Thu, Jan 13, 2005 at 07:47:30PM +0100, Herbert Poetzl wrote:
 On Thu, Jan 13, 2005 at 11:33:24AM -0600, John Goerzen wrote:
  Hi,
  
  I'm trying to build 2.6.9 with the latest dev release for Alpha.  I'm
  getting:
 
 what is the 'latest dev release for Alpha'?

Sorry, that was uncler.  I should have said I'm trying to build 2.6.9
for Alpha with the latest dev release.  In this case, it means 1.9.3
:-)

  Any ideas?
 
 looks like the syscall made it into the kernel ...
 
 just remove the second definition (line 367)

Will do.  Interestingly, they're different:  On line 236:

#define __NR_vserver273

On line 367:

#define __NR_vserver428

But in any case, that fixed it.

-- John
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver