Re: Build problem on 2.6.25.4 kernel

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

 



Thanks for quick replay :)

You could use grujakg@ sbb.rs (please remove space after @)

Regards,

grujakg

Antonio Olivares wrote:
I have sent you the martian.tar.gz that Stepan sent me that does compile on 2.6.25 kernels :)

However, gmail might not accept these. If that is the case, do you have an alternate email address so I can send you the archive.
Regards,

Antonio

Stephan sent me the following file martian.tar.gz that does compile under 2.6.25 kernels. In my case, it fails to work since the machine I am on is x86_64, but you may try it out and report back.
--- On Fri, 6/6/08, grujakg <grujakg@xxxxxxxxx> wrote:

From: grujakg <grujakg@xxxxxxxxx>
Subject: Build problem on 2.6.25.4 kernel
To: discuss@xxxxxxxxxxxxx
Date: Friday, June 6, 2008, 2:52 PM
Just updated to newest fedora 8 kernel
(2.6.25.4-10.fc8-x86_64) and tried
building kernel module.
Well this is what I got:

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

Seems that there is some work to do ;)

As soon as I get some time I'll take a look at.
--
View this message in context:
http://www.nabble.com/Build-problem-on-2.6.25.4-kernel-tp17701843p17701843.html
Sent from the Linux Winmodem Support - Discussion mailing
list archive at Nabble.com.




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

  Powered by Linux