Re: WARNING : section mismatch while compiling 2.6.25.6

From: vibi sreenivasan
Date: Thu Jun 12 2008 - 10:08:01 EST


hi,
i tried with make defconfig & then make .
i am getting same error.
according to the Dcumentation/Changes i have verified every thing &
every thing seems to be
as per requirement.
is there any other reasons for that.

thanks in advance.
regards
vibi sreenivasan


On Thu, Jun 12, 2008 at 7:33 AM, Abhishek Singh <abhi.iitg@xxxxxxxxx> wrote:
> I really don't know the reason for this but the solution lies in the
> config file. You might have chosen some incorrect hardware in the
> config file. Try to see if everything, such as the processor and
> system components are correctly chosen.
>
> Regards
> Abhishek
>
> On 6/12/08, vibi sreenivasan <vibisreenivasan.kernel@xxxxxxxxx> wrote:
>> hello,
>>
>> while compiling linux kernel downloaded from kernel.org i am getting warning as
>> given below (atually there is a lot more i have attatched it)& size of
>> kernel is also geater than 2MB.
>> i was able to compile kernel 2.6.24.3 sucessfully.
>>
>> Is there any suggestions on how to solve this problem...?
>>
>> WARNING: vmlinux.o(.data+0x426ac): Section mismatch in reference from
>> the variable pcmcia_bus_interface to the function
>> .devinit.text:pcmcia_bus_add_socket()
>> The variable pcmcia_bus_interface references
>> the function __devinit pcmcia_bus_add_socket()
>> If the reference is valid then annotate the
>> variable with __init* (see linux/init.h) or name the variable:
>> *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
>>
>> thanks in advance..
>> regards
>> vibi sreenivasan
>>
>>
>
--
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/