lkml.org 
[lkml]   [2005]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.13-rc6-mm1
    Hi.

    Unfortunately, it seems that current kernels (including vanilla -rc
    kernels) don't compile correctly on ppc if I have APM emulation enabled,
    but PMU disabled (only CUDA enabled).

    Here is what I get from a compilation try:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    debian:~/kernel/linux# make vmlinux
    CHK include/linux/version.h
    make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date.
    CHK include/linux/compile.h
    CHK usr/initramfs_list
    CC sound/oss/dmasound/dmasound_awacs.o
    sound/oss/dmasound/dmasound_awacs.c:262: warning: 'struct pmu_sleep_notifier' declared inside parameter list
    sound/oss/dmasound/dmasound_awacs.c:262: warning: its scope is only this definition or declaration, which is probably not what you want
    sound/oss/dmasound/dmasound_awacs.c:263: error: variable 'awacs_sleep_notifier' has initializer but incomplete type
    sound/oss/dmasound/dmasound_awacs.c:264: warning: excess elements in struct initializer
    sound/oss/dmasound/dmasound_awacs.c:264: warning: (near initialization for 'awacs_sleep_notifier')
    sound/oss/dmasound/dmasound_awacs.c:264: error: 'SLEEP_LEVEL_SOUND' undeclared here (not in a function)
    sound/oss/dmasound/dmasound_awacs.c:264: warning: excess elements in struct initializer
    sound/oss/dmasound/dmasound_awacs.c:264: warning: (near initialization for 'awacs_sleep_notifier')
    sound/oss/dmasound/dmasound_awacs.c:1424: error: conflicting types for 'awacs_sleep_notify'
    sound/oss/dmasound/dmasound_awacs.c:262: error: previous declaration of 'awacs_sleep_notify' was here
    sound/oss/dmasound/dmasound_awacs.c: In function 'awacs_sleep_notify':
    sound/oss/dmasound/dmasound_awacs.c:1428: error: 'PBOOK_SLEEP_NOW' undeclared (first use in this function)
    sound/oss/dmasound/dmasound_awacs.c:1428: error: (Each undeclared identifier is reported only once
    sound/oss/dmasound/dmasound_awacs.c:1428: error: for each function it appears in.)
    sound/oss/dmasound/dmasound_awacs.c:1481: error: 'PBOOK_WAKE' undeclared (first use in this function)
    sound/oss/dmasound/dmasound_awacs.c:1552: error: 'PBOOK_SLEEP_OK' undeclared (first use in this function)
    sound/oss/dmasound/dmasound_awacs.c: In function 'dmasound_awacs_init':
    sound/oss/dmasound/dmasound_awacs.c:3057: warning: implicit declaration of function 'pmu_register_sleep_notifier'
    make[3]: *** [sound/oss/dmasound/dmasound_awacs.o] Error 1
    make[2]: *** [sound/oss/dmasound] Error 2
    make[1]: *** [sound/oss] Error 2
    make: *** [sound] Error 2
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    If I enable CONFIG_ADB_PMU, then it compiles fine. :-(


    Thanks in advance for any help, Rogério.

    --
    Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
    Homepage of the algorithms package : http://algorithms.berlios.de
    Homepage on freshmeat: http://freshmeat.net/projects/algorithms/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-23 01:13    [W:4.466 / U:0.752 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site