[OpenAFS-devel] Rebuilding 1.4.1 on x86_64 fails
Ulrich Seidl
Ulrich.Seidl@muneda.com
Tue, 25 Apr 2006 09:56:37 +0200
Derek Atkins wrote:
> Interesting. The code in question is:
>
> #ifdef AFS_LINUX26_ENV
> (unsigned long)scsi_command_size,
> (unsigned long)scsi_command_size,
> 0x3ffff,
> 0x30000,
> #else
> 0, 0, 0, 0
> #endif
>
> /* number and list of unimplemented system calls */
> ((sizeof(ia32_zapped_syscalls)/sizeof(ia32_zapped_syscalls[0])) - 1),
> ia32_zapped_syscalls,
>
> where line 651 is the line that begins: ((sizeof...
>
> The problem here is the lack of a comma after "0, 0, 0, 0" in that
> ifdef.
>
> I never noticed this because this whole code block is inside an
> #if defined(AFS_AMD64_LINUX20_ENV) block, and I don't have an AMD64.
>
> If you add a comma to that list of 0,0,0,0 it should fix this problem.
>
Indeed it does.