[parisc-linux] Missing functions ?

Ruediger Scholz rscholz@hrzpub.tu-darmstadt.de
Wed, 01 Oct 2003 13:02:40 +0200


Hi there,

lastest kernel from CVS didn't compile for me. I get the following error 
messages:

    --------><------------
      CHK     include/linux/compile.h
      CC      arch/parisc/kernel/parisc_ksyms.o
    arch/parisc/kernel/parisc_ksyms.c:72: error: `__flush_dcache_page'
    undeclared here (not in a function)
    arch/parisc/kernel/parisc_ksyms.c:72: error: initializer element is
    not constant
    arch/parisc/kernel/parisc_ksyms.c:72: error: (near initialization
    for `__ksymtab___flush_dcache_page.value')
    arch/parisc/kernel/parisc_ksyms.c:75: error: `flush_cache_all_local'
    undeclared here (not in a function)
    arch/parisc/kernel/parisc_ksyms.c:75: error: initializer element is
    not constant
    arch/parisc/kernel/parisc_ksyms.c:75: error: (near initialization
    for `__ksymtab_flush_cache_all_local.value')
    make[1]: *** [arch/parisc/kernel/parisc_ksyms.o] Fehler 1
    make: *** [arch/parisc/kernel] Fehler 2
    ruediger@gandalf:/usr/src/linux-2.6$
    --------><------------

It seems that in include/asm/cache.h these two function 
flush_cache_all_local and flush_dcache_page are missing, which are 
defined as symbols in parisc_ksyms. Can I just disable/comment the 
regarding EXPORT_SYMOBOL calls?

Greeting,
    Ruediger