> kernel 2.5.67 fails to compile on alpha ( DP264, SMP ):
>
> [...]
> gcc -Wp,-MD,kernel/.sys.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=sys -DKBUILD_MODNAME=sys -c -o kernel/sys.o kernel/sys.c
> kernel/sys.c:226: conflicting types for `sys_sendmsg'
> include/linux/socket.h:245: previous declaration of `sys_sendmsg'
> kernel/sys.c:227: conflicting types for `sys_recvmsg'
> include/linux/socket.h:246: previous declaration of `sys_recvmsg'
> make[1]: *** [kernel/sys.o] Error 1
> make: *** [kernel] Error 2
>
> Obviously, commenting-out those declarations fixes the compile problem and the rest of the
> build passes just fine.
> This problem is new to me. 2.5.64 and 65 do not have it.
>
> My question is: Is commenting-out the declarations the Correct Way (TM) ?
> I don't think so ...
See my message with subject "[PATCH] Fix cond_syscall macro on Alpha".
-- Måns Rullgård mru@users.sf.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/