2.3.99-pre7-8 -- compile error for PPC platform

From: Miles Lane (miles@speakeasy.org)
Date: Tue May 09 2000 - 13:24:54 EDT

  • Next message: Manfred Spraul: "Re: task_lock in 2.3.99pre7-8"

    Here are my sound options from .config:

    CONFIG_SOUND=y
    CONFIG_DMASOUND_AWACS=y
    CONFIG_DMASOUND=y
    CONFIG_SOUND_OSS=y
    CONFIG_SOUND_CS4232=m

    gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
    -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char
    -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
    -c -o dmasound_awacs.o dmasound_awacs.c
    dmasound_awacs.c:132: warning: `struct pmu_sleep_notifier' declared
    inside parameter list
    dmasound_awacs.c:132: warning: its scope is only this definition or
    declaration, which is probably not what you want.
    dmasound_awacs.c:133: variable `awacs_sleep_notifier' has initializer
    but incomplete type
    dmasound_awacs.c:134: warning: excess elements in struct initializer
    dmasound_awacs.c:134: warning: (near initialization for
    `awacs_sleep_notifier')
    dmasound_awacs.c:134: `SLEEP_LEVEL_SOUND' undeclared here (not in a
    function)
    dmasound_awacs.c:134: warning: excess elements in struct initializer
    dmasound_awacs.c:134: warning: (near initialization for
    `awacs_sleep_notifier')
    dmasound_awacs.c:1184: warning: missing braces around initializer
    dmasound_awacs.c:1184: warning: (near initialization for
    `beep_timer.list')
    dmasound_awacs.c:1271: conflicting types for `awacs_sleep_notify'
    dmasound_awacs.c:132: previous declaration of `awacs_sleep_notify'
    dmasound_awacs.c: In function `awacs_sleep_notify':
    dmasound_awacs.c:1273: `PBOOK_SLEEP_NOW' undeclared (first use in this
    function)
    dmasound_awacs.c:1273: (Each undeclared identifier is reported only once
    dmasound_awacs.c:1273: for each function it appears in.)
    dmasound_awacs.c:1277: warning: implicit declaration of function
    `disable_irq'
    dmasound_awacs.c:1280: warning: implicit declaration of function
    `feature_clear'
    dmasound_awacs.c:1280: `FEATURE_Sound_CLK_enable' undeclared (first use
    in this function)
    dmasound_awacs.c:1281: `FEATURE_Sound_power' undeclared (first use in
    this function)
    dmasound_awacs.c:1284: `PBOOK_WAKE' undeclared (first use in this
    function)
    dmasound_awacs.c:1289: warning: implicit declaration of function
    `feature_test'
    dmasound_awacs.c:1292: warning: implicit declaration of function
    `feature_set'
    dmasound_awacs.c:1304: warning: implicit declaration of function
    `enable_irq'
    dmasound_awacs.c:1316: `FEATURE_IOBUS_enable' undeclared (first use in
    this function)
    dmasound_awacs.c:1276: warning: unreachable code at beginning of switch
    statement
    dmasound_awacs.c:1323: `PBOOK_SLEEP_OK' undeclared (first use in this
    function)
    dmasound_awacs.c:1324: warning: control reaches end of non-void function
    dmasound_awacs.c: In function `dmasound_awacs_init':
    dmasound_awacs.c:2007: `FEATURE_Sound_CLK_enable' undeclared (first use
    in this function)
    dmasound_awacs.c:2008: `FEATURE_Sound_power' undeclared (first use in
    this function)
    dmasound_awacs.c:2063: warning: implicit declaration of function
    `pmu_register_sleep_notifier'
    make[4]: *** [dmasound_awacs.o] Error 1
    make[4]: Leaving directory
    `/usr/src/linux-2.3.99-pre6/drivers/sound/dmasound'
    make[3]: *** [first_rule] Error 2
    make[3]: Leaving directory
    `/usr/src/linux-2.3.99-pre6/drivers/sound/dmasound'
    make[2]: *** [_subdir_dmasound] Error 2
    make[2]: Leaving directory `/usr/src/linux-2.3.99-pre6/drivers/sound'
    make[1]: *** [_subdir_sound] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.3.99-pre6/drivers'

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue May 09 2000 - 13:35:15 EDT