Re: Another Patch will be needed for kernel version 2.6.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes this warning is harmless :)

WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

This occurs if you are running a x86_64 bit machine and martain is a
32 bit application.  I got it also, but it is harmless as long as you
run it like you did :)

$ make -C kmodule/ modules

Regards,

Antonio

On Thu, Jun 12, 2008 at 7:48 PM, Dererk <dererk@xxxxxxxxxxxx> wrote:
> Hi there!
>
> I've applied the suggested patch and It compiles very well, I've to test
> it though.
>
> I wanted to ask if this warning is harmless:
>
> make -C kmodule/ modules
> make[1]: Entering directory
> `/home/dererk/martian-modem/martian-full-20080407/kmodule'
> make -C /usr/src/linux-headers-2.6.25-2-686/
> M="/home/dererk/martian-modem/martian-full-20080407/kmodule"  modules
> make[2]: Entering directory `/usr/src/linux-headers-2.6.25-2-686'
>  CC [M]  /home/dererk/martian-modem/martian-full-20080407/kmodule/martian.o
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian.c: In
> function 'martian_isr':
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian.c:160:
> warning: value computed is not used
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian.c: In
> function 'martian_add':
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian.c:664:
> warning: passing argument 2 of 'request_irq' from incompatible pointer type
>  CC [M]  /home/dererk/martian-modem/martian-full-20080407/kmodule/marsio.o
>  CC [M]  /home/dererk/martian-modem/martian-full-20080407/kmodule/mfifo.o
>  LD [M]
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian_dev.o
>  Building modules, stage 2.
>  MODPOST 1 modules
> WARNING: modpost: Found 1 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>  CC
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian_dev.mod.o
>  LD [M]
> /home/dererk/martian-modem/martian-full-20080407/kmodule/martian_dev.ko
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.25-2-686'
> make[1]: Leaving directory
> `/home/dererk/martian-modem/martian-full-20080407/kmodule'
>
>
> Thanks in advance,
>
>
> Dererk
>
> --
> haggis@Melee: ~$ grep -ir 'power in your hands' /proc/
> /proc/version: Debian GNUine Perception
>
> BOFH excuse #163: no "any" key on keyboard.
>
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux