Re: [BUILD_FAILURE] 2.6.24-git18 build fails section type conflictpsmouse-base

From: Kamalesh Babulal
Date: Fri Feb 08 2008 - 07:51:16 EST


Adrian Bunk wrote:
> On Fri, Feb 08, 2008 at 04:02:59PM +0530, Kamalesh Babulal wrote:
>> Hi,
>>
>> The 2.6.24-git18 kernel build fails on the power machine with following message
>>
>> drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type conflict
>> drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type conflict
>> make[3]: *** [drivers/input/mouse/psmouse-base.o] Error 1
>> make[2]: *** [drivers/input/mouse] Error 2
>> make[1]: *** [drivers/input] Error 2
>> make: *** [drivers] Error 2
>>
>> this failure was reported earlier http://lkml.org/lkml/2007/9/22/64
>
> You need the patch from [1] manually applied (due to changed context)
> and with " || defined(__powerpc__)" added for getting it compiling.
>
> @Rusty:
> Can you look at this issue? It's a modules problem on 3 architectures.
>
> cu
> Adrian
>
> [1] http://lkml.org/lkml/2007/12/27/29
>
I tried manually applying the patch and added ||defined(__powerpc__), the above
build failure was resolved but it started failing at another place,

CC kernel/printk.o
kernel/printk.c:568: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âstaticâ
make[1]: *** [kernel/printk.o] Error 1
make: *** [kernel] Error 2


--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/