Coda File System

building coda on linux2.6.19 from cvs

From: Czuczy Gergely <czuczy_at_publishing.hu>
Date: Fri, 22 Jun 2007 09:50:10 +0200
Good morning,

I'm trying to build the kernel module of coda from the CVS repo
according to this: 
http://coda.wikidev.net/Quick_Kernel_Module_Action

However, after executing make i get nothing but errors. here is the
make output:

  CC [M]  /usr/src/linux-coda-cvs/linux-coda/linux2.6/cnode.o
In file included
from /usr/src/linux-coda-cvs/linux-coda/linux2.6/linux/coda_linux.h:15,
from /usr/src/linux-coda-cvs/linux-coda/linux2.6/cnode.c:5:
include/linux/kernel.h:118: warning: conflicting types for built-in
function ‘snprintf’ include/linux/kernel.h:120: warning: conflicting
types for built-in function ‘vsnprintf’ In file included from
include/linux/string.h:21, from include/linux/bitmap.h:8, from
include/linux/cpumask.h:86, from include/asm/processor.h:21,
                 from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:46,
                 from include/linux/mm.h:4,
                 from /usr/src/linux-coda-cvs/linux-coda/linux2.6/linux/coda_linux.h:17,
                 from /usr/src/linux-coda-cvs/linux-coda/linux2.6/cnode.c:5:
include/asm/string.h:44: warning: conflicting types for built-in
function ‘strncpy’ include/asm/string.h:80: warning: conflicting types
for built-in function ‘strncat’ include/asm/string.h:125: warning:
conflicting types for built-in function ‘strncmp’
include/asm/string.h:189: warning: conflicting types for built-in
function ‘strlen’ include/asm/string.h:326: warning: conflicting types
for built-in function ‘memmove’ In file included from
include/linux/bitmap.h:8, from include/linux/cpumask.h:86, from
include/asm/processor.h:21, from include/asm/thread_info.h:16,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:49,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:46,
                 from include/linux/mm.h:4,
                 from /usr/src/linux-coda-cvs/linux-coda/linux2.6/linux/coda_linux.h:17,
                 from /usr/src/linux-coda-cvs/linux-coda/linux2.6/cnode.c:5:
include/linux/string.h:76: warning: conflicting types for built-in
function ‘strspn’ include/linux/string.h:79: warning: conflicting types
for built-in function ‘strcspn’ include/linux/string.h:95: warning:
conflicting types for built-in function ‘__builtin_memcmp’ {standard
input}: Assembler messages: {standard input}:73: Error: suffix or
operands invalid for `ljmp' {standard input}:285: Error: suffix or
operands invalid for `ljmp' make[2]: ***
[/usr/src/linux-coda-cvs/linux-coda/linux2.6/cnode.o] Error 1 make[1]:
*** [_module_/usr/src/linux-coda-cvs/linux-coda/linux2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.7' make: *** [all]
Error 2

there were also lots of warning previously, but those source files at
least compiled.

any ideas on what do i need to make this work?

-- 
Üdvözlettel,

Czuczy Gergely
Publishing Factory Kft
http://www.publishing.hu/
Tel: +36-20-9554512
Received on 2007-06-22 04:28:49