Re: martian-full-20071011 on kernel 2.6.24 fails to compile.

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

 



Joern & Alexei,

While I recall an email about a patch needed for martian under 2.6.24,
I've been unable to recover it from my mail stores.

Would you please resend.

MarvS

On Mon, Mar 3, 2008 at 8:41 AM, Antonio Olivares
<olivares14031@xxxxxxxxx> wrote:
> Dear all,
>
>  I can fix this by changing 'SA_SHIRQ' to IRQ_SHARED, but the following
>  does not work
>
>  /root/tmp/martian-full-20071011/kmodule/martian.c:660: error: 'SA_INTERRUPT'\
>
>  root@slax:~/tmp# tar -zxvf martian-full-20071011.tar.gz
>  martian-full-20071011/
>  martian-full-20071011/Makefile
>  martian-full-20071011/kmodule/
>  martian-full-20071011/kmodule/Makefile
>  martian-full-20071011/kmodule/fifo.h
>  martian-full-20071011/kmodule/kmartian.h
>  martian-full-20071011/kmodule/marsio.h
>  martian-full-20071011/kmodule/Module.symvers
>  martian-full-20071011/kmodule/mfifo.c
>  martian-full-20071011/kmodule/mfifo.h
>  martian-full-20071011/kmodule/marsio.c
>  martian-full-20071011/kmodule/mixspinlock.h
>  martian-full-20071011/kmodule/martian_ids.c
>  martian-full-20071011/kmodule/martian.c
>  martian-full-20071011/ChangeLog
>  martian-full-20071011/scripts/
>  martian-full-20071011/scripts/wv.conf
>  martian-full-20071011/scripts/martian.in
>  martian-full-20071011/scripts/automate.sh
>  martian-full-20071011/scripts/remove_outdated.sh
>  martian-full-20071011/scripts/martian
>  martian-full-20071011/INSTALL
>  martian-full-20071011/modem/
>  martian-full-20071011/modem/common.h
>  martian-full-20071011/modem/sysdep.c
>  martian-full-20071011/modem/Makefile
>  martian-full-20071011/modem/profile.c
>  martian-full-20071011/modem/watch2.gdb
>  martian-full-20071011/modem/pty.c
>  martian-full-20071011/modem/mport.c
>  martian-full-20071011/modem/link.c
>  martian-full-20071011/modem/tweakcore.sh
>  martian-full-20071011/modem/coreadd.c
>  martian-full-20071011/modem/martian_modem.debug
>  martian-full-20071011/modem/martian_modem
>  martian-full-20071011/modem/coresubst.c
>  martian-full-20071011/modem/main.c
>  martian-full-20071011/modem/watch.gdb
>  martian-full-20071011/modem/mport.h
>  martian-full-20071011/modem/martian_modem.stripped
>  martian-full-20071011/modem/debug_script.in
>  martian-full-20071011/modem/log.h
>  martian-full-20071011/modem/ASWMLICENSE
>  martian-full-20071011/modem/main.h
>  martian-full-20071011/modem/isr.c
>  martian-full-20071011/modem/core_if.c
>  martian-full-20071011/modem/README
>  martian-full-20071011/modem/log.c
>  martian-full-20071011/modem/sysdep.h
>  martian-full-20071011/modem/watch4.gdb
>  martian-full-20071011/modem/watch3.gdb
>  martian-full-20071011/modem/tweakrelocsdynamic.c
>  martian-full-20071011/modem/smp.c
>  martian-full-20071011/modem/ltmdmobj.o
>  martian-full-20071011/modem/mixspinlock.h
>  martian-full-20071011/modem/session.c
>  martian-full-20071011/modem/watch.h
>  martian-full-20071011/modem/elf386tweakrelocs.c
>  martian-full-20071011/modem/dumpers.c
>  martian-full-20071011/README
>  martian-full-20071011/Concept
>  martian-full-20071011/martian.h
>  root@slax:~/tmp# cd mar
>  martian-full-20071011/        martian1.txt
>  martian-full-20071011.tar.gz
>  root@slax:~/tmp# cd martian
>  bash: cd: martian: No such file or directory
>  root@slax:~/tmp# cd martian-f
>  martian-full-20071011/        martian-full-20071011.tar.gz
>  root@slax:~/tmp# cd martian-full-20071011
>  root@slax:~/tmp/martian-full-20071011# ls
>  ChangeLog  INSTALL   README   martian.h  scripts
>  Concept    Makefile  kmodule  modem
>  root@slax:~/tmp/martian-full-20071011# make all
>  make -C kmodule/ modules
>  make[1]: Entering directory `/root/tmp/martian-full-20071011/kmodule'
>  make -C /lib/modules/2.6.24/build
>  M="/root/tmp/martian-full-20071011/kmodule"  modules
>  make[2]: Entering directory `/usr/src/linux-2.6.24'
>
>   WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers
>            is missing; modules will have no dependencies and modversions.
>
>   CC [M]  /root/tmp/martian-full-20071011/kmodule/martian.o
>  /root/tmp/martian-full-20071011/kmodule/martian.c: In function 'martian_isr':
>  /root/tmp/martian-full-20071011/kmodule/martian.c:160: warning: value
>  computed is not used
>  /root/tmp/martian-full-20071011/kmodule/martian.c: In function 'martian_add':
>  /root/tmp/martian-full-20071011/kmodule/martian.c:660: error:
>  'SA_INTERRUPT' undeclared (first use in this function)
>  /root/tmp/martian-full-20071011/kmodule/martian.c:660: error: (Each
>  undeclared identifier is reported only once
>  /root/tmp/martian-full-20071011/kmodule/martian.c:660: error: for each
>  function it appears in.)
>  /root/tmp/martian-full-20071011/kmodule/martian.c:660: error:
>  'SA_SHIRQ' undeclared (first use in this function)
>  /root/tmp/martian-full-20071011/kmodule/martian.c:663: warning:
>  passing argument 2 of 'request_irq' from incompatible pointer type
>  make[3]: *** [/root/tmp/martian-full-20071011/kmodule/martian.o] Error 1
>  make[2]: *** [_module_/root/tmp/martian-full-20071011/kmodule] Error 2
>  make[2]: Leaving directory `/usr/src/linux-2.6.24'
>  make[1]: *** [modules] Error 2
>  make[1]: Leaving directory `/root/tmp/martian-full-20071011/kmodule'
>  make: *** [all] Error 2
>
>
>  Regards,
>
>  Antonio
>

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

  Powered by Linux