Re: Another Patch will be needed for kernel version 2.6.25

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

 



On Fri, May 2, 2008 at 9:17 AM, Stefan Puch
<stefan.puch@xxxxxxxxxxxxxxxx> wrote:
> Hello everyone,
>
>  kernel 2.6.25 is released a few weeks and the martian sourcecode will need
>  another patch to compile again.
>  At the moment I have less time, so I didn't know if the source works again using
>  kernel 2.4.24.x or I someone is already working to make it working using kernel
>  2.6.25.x
>
>  Here is the output if you try to compile the last official release from Alex
>  including my patch for kernel 2.6.24 with kernel 2.6.25.1
>
>  # pwd
>  /usr/src/martian/kmodule
>  # make KRELEASE=2.6.25.1
>  make -C /lib/modules/2.6.25.1/build M="/usr/src/martian/kmodule"  modules
>  make[1]: Entering directory `/space/kernel/linux-2.6.25'
>   CC [M]  /usr/src/martian/kmodule/martian.o
>  In file included from /usr/src/martian/kmodule/kmartian.h:12,
>                  from /usr/src/martian/kmodule/martian.c:62:
>  /usr/src/martian/kmodule/mfifo.h:18: Fehler: expected declaration specifiers or
>  »...« before »*« token
>  /usr/src/martian/kmodule/mfifo.h:18: Fehler: »fastcall« als Funktion, die eine
>  Funktion zurückgibt, deklariert
>  /usr/src/martian/kmodule/mfifo.h:18: Warnung: Funktionsdeklaration ist kein Prototyp
>  /usr/src/martian/kmodule/mfifo.h:18: Fehler: Feld »fastcall« als Funktion deklariert
>  /usr/src/martian/kmodule/mfifo.h:19: Fehler: expected declaration specifiers or
>  »...« before »*« token
>  /usr/src/martian/kmodule/mfifo.h:19: Fehler: »fastcall« als Funktion, die eine
>  Funktion zurückgibt, deklariert
>  /usr/src/martian/kmodule/mfifo.h:19: Warnung: Funktionsdeklaration ist kein Prototyp
>  /usr/src/martian/kmodule/mfifo.h:19: Fehler: Feld »fastcall« als Funktion deklariert
>  /usr/src/martian/kmodule/mfifo.h:21: Fehler: expected declaration specifiers or
>  »...« before »(« token
>  /usr/src/martian/kmodule/mfifo.h:21: Warnung: Funktionsdeklaration ist kein Prototyp
>  /usr/src/martian/kmodule/mfifo.h:21: Fehler: Feld »FASTCALL« als Funktion deklariert
>  /usr/src/martian/kmodule/mfifo.h:22: Fehler: expected declaration specifiers or
>  »...« before »(« token
>  /usr/src/martian/kmodule/mfifo.h:22: Warnung: Funktionsdeklaration ist kein Prototyp
>  /usr/src/martian/kmodule/mfifo.h:22: Fehler: Feld »FASTCALL« als Funktion deklariert
>  /usr/src/martian/kmodule/mfifo.h:19: Fehler: doppeltes Element »fastcall«
>  /usr/src/martian/kmodule/mfifo.h:22: Fehler: doppeltes Element »FASTCALL«
>  /usr/src/martian/kmodule/mfifo.h: In Funktion »mfifo_next«:
>  /usr/src/martian/kmodule/mfifo.h:45: Fehler: »struct mfifo_ops« hat kein Element
>  namens »wrap«
>  /usr/src/martian/kmodule/mfifo.h: In Funktion »mfifo_put«:
>  /usr/src/martian/kmodule/mfifo.h:52: Fehler: »struct mfifo_ops« hat kein Element
>  namens »set«
>  /usr/src/martian/kmodule/mfifo.h:54: Fehler: »struct mfifo_ops« hat kein Element
>  namens »wrap«
>  /usr/src/martian/kmodule/mfifo.h: In Funktion »mfifo_full«:
>  /usr/src/martian/kmodule/mfifo.h:62: Fehler: »struct mfifo_ops« hat kein Element
>  namens »space«
>  /usr/src/martian/kmodule/mfifo.h: In Funktion »mfifo_get«:
>  /usr/src/martian/kmodule/mfifo.h:78: Fehler: »struct mfifo_ops« hat kein Element
>  namens »get«
>  /usr/src/martian/kmodule/mfifo.h:81: Fehler: »struct mfifo_ops« hat kein Element
>  namens »wrap«
>  /usr/src/martian/kmodule/mfifo.h: In Funktion »mfifo_lastwr«:
>  /usr/src/martian/kmodule/mfifo.h:87: Fehler: »struct mfifo_ops« hat kein Element
>  namens »wrap«
>  In file included from /usr/src/martian/kmodule/martian.c:64:
>  /usr/src/martian/kmodule/marsio.h: Auf höchster Ebene:
>  /usr/src/martian/kmodule/marsio.h:8: Fehler: expected »)« before »(« token
>  /usr/src/martian/kmodule/marsio.h:9: Fehler: expected »)« before »(« token
>  /usr/src/martian/kmodule/marsio.h:10: Fehler: expected »)« before »(« token
>  /usr/src/martian/kmodule/marsio.h:11: Fehler: expected »)« before »(« token
>  /usr/src/martian/kmodule/martian.c: In Funktion »martian_isr«:
>  /usr/src/martian/kmodule/martian.c:119: Fehler: Implizite Deklaration der
>  Funktion »mars_read_register«
>  /usr/src/martian/kmodule/martian.c:131: Fehler: Implizite Deklaration der
>  Funktion »mars_write_register«
>  /usr/src/martian/kmodule/martian.c:139: Fehler: Implizite Deklaration der
>  Funktion »mars_write_word«
>  /usr/src/martian/kmodule/martian.c:160: Fehler: Implizite Deklaration der
>  Funktion »process_stream«
>  /usr/src/martian/kmodule/martian.c:160: Warnung: berechneter Wert ist unbenutzt
>  /usr/src/martian/kmodule/martian.c: In Funktion »martian_add«:
>  /usr/src/martian/kmodule/martian.c:662: Warnung: Übergabe des Arguments 2 von
>  »request_irq« von inkompatiblem Zeigertyp
>  make[2]: *** [/usr/src/martian/kmodule/martian.o] Fehler 1
>  make[1]: *** [_module_/usr/src/martian/kmodule] Fehler 2
>  make[1]: Leaving directory `/space/kernel/linux-2.6.25'
>  make: *** [modules] Fehler 2
>  #
>
>
>  @Alex
>  Are you still improving / maintaining  your source code or do you have any time
>  to fix it (or did you already buy a new laptop with another modem chipset)?
>
>  Best regards
>
>  Stefan Puch
>
>

The package fails as well on Fedora 9 Preview:

[olivares@localhost Download]$ cd martian-full-20080407
[olivares@localhost martian-full-20080407]$ make all
make -C kmodule/ modules
make[1]: Entering directory
`/home/olivares/Download/martian-full-20080407/kmodule'
make -C /lib/modules/2.6.25-14.fc9.i686/build
M="/home/olivares/Download/martian-full-20080407/kmodule"  modules
make[2]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
  CC [M]  /home/olivares/Download/martian-full-20080407/kmodule/martian.o
In file included from
/home/olivares/Download/martian-full-20080407/kmodule/kmartian.h:13,
                 from
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:63:
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:18:
error: expected declaration specifiers or '...' before '*' token
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:18:
error: 'fastcall' declared as function returning a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:18:
warning: function declaration isn't a prototype
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:18:
error: field 'fastcall' declared as a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:19:
error: expected declaration specifiers or '...' before '*' token
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:19:
error: 'fastcall' declared as function returning a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:19:
warning: function declaration isn't a prototype
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:19:
error: field 'fastcall' declared as a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:21:
error: expected declaration specifiers or '...' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:21:
warning: function declaration isn't a prototype
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:21:
error: field 'FASTCALL' declared as a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:22:
error: expected declaration specifiers or '...' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:22:
warning: function declaration isn't a prototype
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:22:
error: field 'FASTCALL' declared as a function
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:19:
error: duplicatemember 'fastcall'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:22:
error: duplicatemember 'FASTCALL'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h: In
function 'mfifo_next':
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:45:
error: 'struct mfifo_ops' has no member named 'wrap'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h: In
function 'mfifo_put':
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:52:
error: 'struct mfifo_ops' has no member named 'set'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:54:
error: 'struct mfifo_ops' has no member named 'wrap'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h: In
function 'mfifo_full':
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:62:
error: 'struct mfifo_ops' has no member named 'space'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h: In
function 'mfifo_get':
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:78:
error: 'struct mfifo_ops' has no member named 'get'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:81:
error: 'struct mfifo_ops' has no member named 'wrap'
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h: In
function 'mfifo_lastwr':
/home/olivares/Download/martian-full-20080407/kmodule/mfifo.h:87:
error: 'struct mfifo_ops' has no member named 'wrap'
In file included from
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:65:
/home/olivares/Download/martian-full-20080407/kmodule/marsio.h: At top level:
/home/olivares/Download/martian-full-20080407/kmodule/marsio.h:8:
error: expected ')' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/marsio.h:9:
error: expected ')' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/marsio.h:10:
error: expected')' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/marsio.h:11:
error: expected')' before '(' token
/home/olivares/Download/martian-full-20080407/kmodule/martian.c: In
function 'martian_isr':
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:119:
error: implicit declaration of function 'mars_read_register'
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:131:
error: implicit declaration of function 'mars_write_register'
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:139:
error: implicit declaration of function 'mars_write_word'
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:160:
error: implicit declaration of function 'process_stream'
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:160:
warning: value computed is not used
/home/olivares/Download/martian-full-20080407/kmodule/martian.c: In
function 'martian_add':
/home/olivares/Download/martian-full-20080407/kmodule/martian.c:664:
warning: passing argument 2 of 'request_irq' from incompatible pointer
type
make[3]: *** [/home/olivares/Download/martian-full-20080407/kmodule/martian.o]
Error 1
make[2]: *** [_module_/home/olivares/Download/martian-full-20080407/kmodule]
Error2
make[2]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/home/olivares/Download/martian-full-20080407/kmodule'
make: *** [all] Error 2
[olivares@localhost martian-full-20080407]$

Regards,


Antonio


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

  Powered by Linux