Chyba pri kompilaci jadra (long)

Dominator Dominik.Dominator na centrum.cz
Středa Únor 11 18:02:26 CET 2004


dd,
kompiloval jsem jadro, ale pri vypisu mi to zkocilo zde, zkousel jsem i
nechat  standartni vyber toho co se bude kompilovat, ale bylo to stené
jako kdyz jsem  veci ke kompilaci urcil sam i kdyz jsem kompiloval
stejne jadro jako mam ted  proste furt stejny! Blby je, ze nemuzu ani
zkouset instalovat ty ovladace na  modem Motorola Sm56, protoze ty se
musi taky zkompilovat do jadra. Tohle je pro  mne fakt dulezity, jeste
dodam, ze zdrojaky jsem nijak nemenil... jsou proste  originalni od MDK.
Skoda

Zde je skraceny vypis:
In file included from sa11xx-uda1341.c:94:
/usr/src/linux-2.4.22-21mdk/include/sound/uda1341.h:227: warning:
`struct  l3_client' declared inside parameter list
/usr/src/linux-2.4.22-21mdk/include/sound/uda1341.h:227: warning: its
scope is  only this definition or declaration, which is probably not
what you want
sa11xx-uda1341.c:123: error: syntax error before "dma_device_t"
sa11xx-uda1341.c:123: warning: no semicolon at end of struct or union
sa11xx-uda1341.c:127: warning: type defaults to `int' in declaration of
`dma_regs'
sa11xx-uda1341.c:127: warning: data definition has no type or storage
class
sa11xx-uda1341.c:129: error: syntax error before ':' token
sa11xx-uda1341.c:136: error: syntax error before '}' token
sa11xx-uda1341.c:136: warning: type defaults to `int' in declaration of
`audio_stream_t'
sa11xx-uda1341.c:136: warning: data definition has no type or storage
class
sa11xx-uda1341.c:144: error: syntax error before "audio_stream_t"
sa11xx-uda1341.c:144: warning: no semicolon at end of struct or union
sa11xx-uda1341.c:145: warning: type defaults to `int' in declaration of
`sa11xx_uda1341_t'
sa11xx-uda1341.c:145: warning: data definition has no type or storage
class
sa11xx-uda1341.c:177:2: #error This driver could serve H3x00 handhelds
only!
sa11xx-uda1341.c: In function `sa11xx_uda1341_set_audio_clock':
sa11xx-uda1341.c:184: error: `GPCR' undeclared (first use in this
function)
sa11xx-uda1341.c:184: error: (Each undeclared identifier is reported
only once
sa11xx-uda1341.c:184: error: for each function it appears in.)
sa11xx-uda1341.c:184: warning: implicit declaration of function
`GPIO_GPIO'
sa11xx-uda1341.c:188: error: `GPSR' undeclared (first use in this
function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:203: error: syntax error before '*' token
sa11xx-uda1341.c:204: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_set_samplerate':
sa11xx-uda1341.c:209: error: `Ser4SSCR0' undeclared (first use in this
function)
sa11xx-uda1341.c:209: error: `SSCR0_SSE' undeclared (first use in this
function)
sa11xx-uda1341.c:219: error: `rate' undeclared (first use in this
function)
sa11xx-uda1341.c:258: warning: implicit declaration of function
`SSCR0_SerClkDiv'
sa11xx-uda1341.c:277: warning: implicit declaration of function
`l3_command'
sa11xx-uda1341.c:277: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:279: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:281: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:288: error: syntax error before '*' token
sa11xx-uda1341.c:289: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_audio_init':
sa11xx-uda1341.c:293: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:294: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:295: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:295: error: `DMA_Ser4SSPWr' undeclared (first use in
this  function)
sa11xx-uda1341.c:297: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:298: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:299: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:299: error: `DMA_Ser4SSPRd' undeclared (first use in
this  function)
sa11xx-uda1341.c:305: error: `GAFR' undeclared (first use in this
function)
sa11xx-uda1341.c:305: error: `GPIO_SSP_CLK' undeclared (first use in
this  function)
sa11xx-uda1341.c:306: error: `GPDR' undeclared (first use in this
function)
sa11xx-uda1341.c:307: error: `Ser4SSCR0' undeclared (first use in this
function)
sa11xx-uda1341.c:308: warning: implicit declaration of function
`SSCR0_DataSize'
sa11xx-uda1341.c:308: error: `SSCR0_TI' undeclared (first use in this
function)
sa11xx-uda1341.c:309: error: `Ser4SSCR1' undeclared (first use in this
function)
sa11xx-uda1341.c:309: error: `SSCR1_SClkIactL' undeclared (first use in
this  function)
sa11xx-uda1341.c:309: error: `SSCR1_SClk1P' undeclared (first use in
this  function)
sa11xx-uda1341.c:309: error: `SSCR1_ExtClk' undeclared (first use in
this  function)
sa11xx-uda1341.c:310: error: `SSCR0_SSE' undeclared (first use in this
function)
sa11xx-uda1341.c:317: warning: implicit declaration of function
`clr_sa11xx_uda1341_egpio'
sa11xx-uda1341.c:317: error: `IPAQ_EGPIO_CODEC_NRESET' undeclared (first
use in  this function)
sa11xx-uda1341.c:318: warning: implicit declaration of function
`set_sa11xx_uda1341_egpio'
sa11xx-uda1341.c:318: error: `IPAQ_EGPIO_AUDIO_ON' undeclared (first use
in this  function)
sa11xx-uda1341.c:319: error: `IPAQ_EGPIO_QMUTE' undeclared (first use in
this  function)
sa11xx-uda1341.c:326: warning: implicit declaration of function
`l3_open'
sa11xx-uda1341.c:326: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:329: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:336: error: `Ser4SSDR' undeclared (first use in this
function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:345: error: syntax error before '*' token
sa11xx-uda1341.c:346: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_audio_shutdown':
sa11xx-uda1341.c:351: error: `IPAQ_EGPIO_QMUTE' undeclared (first use in
this  function)
sa11xx-uda1341.c:355: warning: implicit declaration of function
`l3_close'
sa11xx-uda1341.c:355: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:356: error: `Ser4SSCR0' undeclared (first use in this
function)
sa11xx-uda1341.c:357: error: `IPAQ_EGPIO_CODEC_NRESET' undeclared (first
use in  this function)
sa11xx-uda1341.c:365: error: `IPAQ_EGPIO_AUDIO_ON' undeclared (first use
in this  function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:407: error: syntax error before '*' token
sa11xx-uda1341.c:407: error: syntax error before ')' token
sa11xx-uda1341.c:411: warning: type defaults to `int' in declaration of
`ret'
sa11xx-uda1341.c:411: warning: implicit declaration of function
`sa1100_request_dma'
sa11xx-uda1341.c:411: error: `s' undeclared here (not in a function)
sa11xx-uda1341.c:411: error: `s' undeclared here (not in a function)
sa11xx-uda1341.c:411: error: `callback' undeclared here (not in a
function)
sa11xx-uda1341.c:411: error: `s' undeclared here (not in a function)
sa11xx-uda1341.c:411: error: `s' undeclared here (not in a function)
sa11xx-uda1341.c:411: error: initializer element is not constant
sa11xx-uda1341.c:411: warning: data definition has no type or storage
class
sa11xx-uda1341.c:412: error: syntax error before "if"
sa11xx-uda1341.c:417: error: syntax error before '*' token
sa11xx-uda1341.c:418: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_dma_free':
sa11xx-uda1341.c:419: warning: implicit declaration of function
`sa1100_free_dma'
sa11xx-uda1341.c:419: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:425: error: syntax error before '*' token
sa11xx-uda1341.c:426: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_get_dma_pos':
sa11xx-uda1341.c:427: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c:438: warning: implicit declaration of function
`sa1100_get_dma_pos'
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:453: error: syntax error before '*' token
sa11xx-uda1341.c:454: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_stop_dma':
sa11xx-uda1341.c:457: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c:464: warning: implicit declaration of function
`sa1100_clear_dma'
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:469: error: syntax error before '*' token
sa11xx-uda1341.c:470: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_process_dma':
sa11xx-uda1341.c:471: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c:485: warning: implicit declaration of function
`sa1100_start_dma'
sa11xx-uda1341.c:485: error: `FLUSH_BASE_PHYS' undeclared (first use in
this  function)
sa11xx-uda1341.c: In function `audio_dma_callback':
sa11xx-uda1341.c:535: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_trigger':
sa11xx-uda1341.c:559: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:559: error: syntax error before ')' token
sa11xx-uda1341.c:561: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c:562: error: `s1' undeclared (first use in this
function)
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_prepare':
sa11xx-uda1341.c:693: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:693: error: syntax error before ')' token
sa11xx-uda1341.c:695: error: `s' undeclared (first use in this function)
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_pointer':
sa11xx-uda1341.c:711: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:711: error: syntax error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_open':
sa11xx-uda1341.c:765: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:765: error: syntax error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_close':
sa11xx-uda1341.c:786: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:786: error: syntax error before ')' token
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:830: error: syntax error before '*' token
sa11xx-uda1341.c:831: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_pcm':
sa11xx-uda1341.c:835: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:835: error: `device' undeclared (first use in this
function)
sa11xx-uda1341.c:843: warning: implicit declaration of function
`snd_pcm_lib_preallocate_isa_pages_for_all'
sa11xx-uda1341.c:854: warning: implicit declaration of function
`audio_dma_request'
sa11xx-uda1341.c:854: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:855: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:857: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:868: error: syntax error before '*' token
sa11xx-uda1341.c:869: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_suspend':
sa11xx-uda1341.c:870: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:886: error: syntax error before '*' token
sa11xx-uda1341.c:887: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_resume':
sa11xx-uda1341.c:888: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c: In function `sa11xx_uda1341_pm_callback':
sa11xx-uda1341.c:905: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c: In function `sa11xx_uda1341_set_power_state':
sa11xx-uda1341.c:920: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:920: error: syntax error before ')' token
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_free':
sa11xx-uda1341.c:942: error: `chip' undeclared (first use in this
function)
sa11xx-uda1341.c:942: error: syntax error before ')' token
sa11xx-uda1341.c: In function `sa11xx_uda1341_init':
sa11xx-uda1341.c:957: warning: implicit declaration of function
`machine_is_h3xxx'
sa11xx-uda1341.c:965: error: syntax error before ')' token
sa11xx-uda1341.c:972: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:973: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:976: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:976: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:987: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:988: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c:989: error: dereferencing pointer to incomplete type
sa11xx-uda1341.c: In function `sa11xx_uda1341_exit':
sa11xx-uda1341.c:1008: error: dereferencing pointer to incomplete type
make[3]: *** [sa11xx-uda1341.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.22-21mdk/sound/arm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-21mdk/sound/arm'
make[1]: *** [_subdir_arm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-21mdk/sound'
make: *** [_dir_sound] Error 2



Další informace o konferenci Linux