LINUX.ORG.RU

Задолбался с компиляцией ядра в Мандрейке 9.1


0

0

У меня при компиляции ядра возникает такая трабла:
sa11xx-uda1341.c:104: parse error before "dma_device_t"
sa11xx-uda1341.c:104: warning: no semicolon at end of struct or union
sa11xx-uda1341.c:105: warning: type defaults to `int' in declaration of `dma_regs'
sa11xx-uda1341.c:105: warning: data definition has no type or storage class
sa11xx-uda1341.c:107: parse error before ':' token
sa11xx-uda1341.c:116: parse error before '}' token
sa11xx-uda1341.c:116: warning: type defaults to `int' in declaration of `audio_stream_t'
sa11xx-uda1341.c:116: warning: data definition has no type or storage class
sa11xx-uda1341.c:124: parse error before "audio_stream_t"
sa11xx-uda1341.c:124: warning: no semicolon at end of struct or union
sa11xx-uda1341.c:125: warning: type defaults to `int' in declaration of `sa11xx_uda1341_t'
sa11xx-uda1341.c:125: warning: data definition has no type or storage class
sa11xx-uda1341.c:157:2: #error This driver could serve H3x00 handhelds only!
sa11xx-uda1341.c: In function `sa11xx_uda1341_set_audio_clock':
sa11xx-uda1341.c:164: `GPCR' undeclared (first use in this function)
sa11xx-uda1341.c:164: (Each undeclared identifier is reported only once
sa11xx-uda1341.c:164: for each function it appears in.)
sa11xx-uda1341.c:164: warning: implicit declaration of function `GPIO_GPIO'
sa11xx-uda1341.c:168: `GPSR' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:183: parse error before '*' token
sa11xx-uda1341.c:184: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_set_samplerate':
sa11xx-uda1341.c:191: `Ser4SSCR0' undeclared (first use in this function)
sa11xx-uda1341.c:191: `SSCR0_SSE' undeclared (first use in this function)
sa11xx-uda1341.c:201: `rate' undeclared (first use in this function)
sa11xx-uda1341.c:236: warning: implicit declaration of function `SSCR0_SerClkDiv'
sa11xx-uda1341.c:255: warning: implicit declaration of function `l3_command'
sa11xx-uda1341.c:255: dereferencing pointer to incomplete type
sa11xx-uda1341.c:257: dereferencing pointer to incomplete type
sa11xx-uda1341.c:260: dereferencing pointer to incomplete type
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:267: parse error before '*' token
sa11xx-uda1341.c:268: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_audio_init':
sa11xx-uda1341.c:274: dereferencing pointer to incomplete type
sa11xx-uda1341.c:275: dereferencing pointer to incomplete type
sa11xx-uda1341.c:276: dereferencing pointer to incomplete type
sa11xx-uda1341.c:277: dereferencing pointer to incomplete type
sa11xx-uda1341.c:277: `DMA_Ser4SSPWr' undeclared (first use in this function)
sa11xx-uda1341.c:280: dereferencing pointer to incomplete type
sa11xx-uda1341.c:281: dereferencing pointer to incomplete type
sa11xx-uda1341.c:282: dereferencing pointer to incomplete type
sa11xx-uda1341.c:283: dereferencing pointer to incomplete type
sa11xx-uda1341.c:283: `DMA_Ser4SSPRd' undeclared (first use in this function)
sa11xx-uda1341.c:290: `GAFR' undeclared (first use in this function)
sa11xx-uda1341.c:290: `GPIO_SSP_CLK' undeclared (first use in this function)
sa11xx-uda1341.c:291: `GPDR' undeclared (first use in this function)
sa11xx-uda1341.c:292: `Ser4SSCR0' undeclared (first use in this function)
sa11xx-uda1341.c:293: warning: implicit declaration of function `SSCR0_DataSize'
sa11xx-uda1341.c:293: `SSCR0_TI' undeclared (first use in this function)
sa11xx-uda1341.c:294: `Ser4SSCR1' undeclared (first use in this function)
sa11xx-uda1341.c:294: `SSCR1_SClkIactL' undeclared (first use in this function)
sa11xx-uda1341.c:294: `SSCR1_SClk1P' undeclared (first use in this function)
sa11xx-uda1341.c:294: `SSCR1_ExtClk' undeclared (first use in this function)
sa11xx-uda1341.c:295: `SSCR0_SSE' undeclared (first use in this function)
sa11xx-uda1341.c:299: warning: implicit declaration of function `clr_sa11xx_uda1341_egpio'
sa11xx-uda1341.c:299: `IPAQ_EGPIO_CODEC_NRESET' undeclared (first use in this function)
sa11xx-uda1341.c:300: warning: implicit declaration of function `set_sa11xx_uda1341_egpio'
sa11xx-uda1341.c:300: `IPAQ_EGPIO_AUDIO_ON' undeclared (first use in this function)
sa11xx-uda1341.c:301: `IPAQ_EGPIO_QMUTE' undeclared (first use in this function)
sa11xx-uda1341.c:304: warning: implicit declaration of function `l3_open'
sa11xx-uda1341.c:304: dereferencing pointer to incomplete type
sa11xx-uda1341.c:316: `Ser4SSDR' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:321: parse error before '*' token
sa11xx-uda1341.c:322: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `sa11xx_uda1341_audio_shutdown':
sa11xx-uda1341.c:324: `IPAQ_EGPIO_QMUTE' undeclared (first use in this function)
sa11xx-uda1341.c:327: warning: implicit declaration of function `l3_close'
sa11xx-uda1341.c:327: dereferencing pointer to incomplete type
sa11xx-uda1341.c:328: `Ser4SSCR0' undeclared (first use in this function)
sa11xx-uda1341.c:329: `IPAQ_EGPIO_CODEC_NRESET' undeclared (first use in this function)
sa11xx-uda1341.c:331: `IPAQ_EGPIO_AUDIO_ON' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:347: parse error before '*' token
sa11xx-uda1341.c:347: parse error before ')' token
sa11xx-uda1341.c:355: warning: type defaults to `int' in declaration of `ret'
sa11xx-uda1341.c:355: warning: implicit declaration of function `sa1100_request_dma'
sa11xx-uda1341.c:355: `s' undeclared here (not in a function)
sa11xx-uda1341.c:355: `s' undeclared here (not in a function)
sa11xx-uda1341.c:355: `callback' undeclared here (not in a function)
sa11xx-uda1341.c:355: `s' undeclared here (not in a function)
sa11xx-uda1341.c:355: `s' undeclared here (not in a function)
sa11xx-uda1341.c:355: initializer element is not constant
sa11xx-uda1341.c:355: warning: data definition has no type or storage class
sa11xx-uda1341.c:357: parse error before '}' token
sa11xx-uda1341.c:359: parse error before '*' token
sa11xx-uda1341.c:360: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_dma_free':
sa11xx-uda1341.c:361: warning: implicit declaration of function `sa1100_free_dma'
sa11xx-uda1341.c:361: `s' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:365: parse error before '*' token
sa11xx-uda1341.c:366: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_get_dma_pos':
sa11xx-uda1341.c:367: `s' undeclared (first use in this function)
sa11xx-uda1341.c:376: warning: implicit declaration of function `sa1100_get_dma_pos'
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:398: parse error before '*' token
sa11xx-uda1341.c:399: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_stop_dma':
sa11xx-uda1341.c:408: `s' undeclared (first use in this function)
sa11xx-uda1341.c:418: warning: implicit declaration of function `sa1100_clear_dma'
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:422: parse error before '*' token
sa11xx-uda1341.c:423: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_reset':
sa11xx-uda1341.c:426: `s' undeclared (first use in this function)
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:433: parse error before '*' token
sa11xx-uda1341.c:434: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `audio_process_dma':
sa11xx-uda1341.c:435: `s' undeclared (first use in this function)
sa11xx-uda1341.c:447: warning: implicit declaration of function `sa1100_start_dma'
sa11xx-uda1341.c:447: `FLUSH_BASE_PHYS' undeclared (first use in this function)
sa11xx-uda1341.c:476: `MAX_DMA_SIZE' undeclared (first use in this function)
sa11xx-uda1341.c:479: `CUT_DMA_SIZE' undeclared (first use in this function)
sa11xx-uda1341.c: In function `audio_dma_callback':
sa11xx-uda1341.c:511: `s' undeclared (first use in this function)
sa11xx-uda1341.c:512: warning: unused variable `buf'
sa11xx-uda1341.c:513: warning: unused variable `i'
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_pcm_trigger':
sa11xx-uda1341.c:548: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:548: parse error before ')' token
sa11xx-uda1341.c:549: warning: unused variable `runtime'
sa11xx-uda1341.c:550: warning: unused variable `i'
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_playback_open':
sa11xx-uda1341.c:678: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:678: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_playback_close':
sa11xx-uda1341.c:706: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:706: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_playback_prepare':
sa11xx-uda1341.c:724: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:724: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_playback_pointer':
sa11xx-uda1341.c:744: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:744: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_capture_open':
sa11xx-uda1341.c:758: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:758: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_capture_close':
sa11xx-uda1341.c:782: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:782: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_capture_prepare':
sa11xx-uda1341.c:800: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:800: parse error before ')' token
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_capture_pointer':
sa11xx-uda1341.c:820: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:820: parse error before ')' token
sa11xx-uda1341.c: At top level:
sa11xx-uda1341.c:869: parse error before '*' token
sa11xx-uda1341.c:870: warning: function declaration isn't a prototype
sa11xx-uda1341.c: In function `snd_card_sa11xx_uda1341_pcm':
sa11xx-uda1341.c:876: dereferencing pointer to incomplete type
sa11xx-uda1341.c:876: `device' undeclared (first use in this function)
sa11xx-uda1341.c:877: `substreams' undeclared (first use in this function)
sa11xx-uda1341.c:885: warning: implicit declaration of function `snd_pcm_lib_preallocate_isa_pages_for_all'
sa11xx-uda1341.c:893: dereferencing pointer to incomplete type
sa11xx-uda1341.c:894: dereferencing pointer to incomplete type
sa11xx-uda1341.c:899: warning: implicit declaration of function `audio_dma_request'
sa11xx-uda1341.c:899: dereferencing pointer to incomplete type
sa11xx-uda1341.c:900: dereferencing pointer to incomplete type
sa11xx-uda1341.c: In function `sa11xx_uda1341_pm_callback':
sa11xx-uda1341.c:913: invalid operands to binary *
sa11xx-uda1341.c:914: `is' undeclared (first use in this function)
sa11xx-uda1341.c:914: `os' undeclared (first use in this function)
sa11xx-uda1341.c:914: warning: left-hand operand of comma expression has no effect
sa11xx-uda1341.c:923: dereferencing pointer to incomplete type
sa11xx-uda1341.c:924: dereferencing pointer to incomplete type
sa11xx-uda1341.c:931: warning: implicit declaration of function `DMA_CLEAR'
sa11xx-uda1341.c:947: warning: implicit declaration of function `DMA_RESET'
sa11xx-uda1341.c: In function `snd_sa11xx_uda1341_free':
sa11xx-uda1341.c:963: `chip' undeclared (first use in this function)
sa11xx-uda1341.c:963: parse error before ')' token
sa11xx-uda1341.c: In function `sa11xx_uda1341_init':
sa11xx-uda1341.c:987: warning: implicit declaration of function `machine_is_h3xxx'
sa11xx-uda1341.c:994: parse error before ')' token
sa11xx-uda1341.c:1001: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1004: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1004: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1013: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1014: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1015: dereferencing pointer to incomplete type
sa11xx-uda1341.c: In function `sa11xx_uda1341_exit':
sa11xx-uda1341.c:1034: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1035: dereferencing pointer to incomplete type
make[3]: *** [sa11xx-uda1341.o] Ошибка 1
make[3]: Leaving directory `/usr/src/new_linux/sound/arm'
make[2]: *** [first_rule] Ошибка 2
make[2]: Leaving directory `/usr/src/new_linux/sound/arm'
make[1]: *** [_subdir_arm] Ошибка 2
make[1]: Leaving directory `/usr/src/new_linux/sound'

В файле config.help написанно:
CONFIG_SND_SA11XX_UDA1341
Say Y or M if you have a Compaq iPaq H3x00 handheld computer and want
to use its Philips UDA 1341 audio chip.
Причём я поддержку этого "UDA 1341 audio chip", не заказывал, оно мне нафиг не надо и вобше в файле config строчки CONFIG_SND_SA11XX_UDA1341
нет(ни вкаком виде, даже строки 1341 нет), компилится только если поддержку звука полностью отменить, но тогда alsa не компилится, чо делать ума не приложу, может дело в компиляторе(gcc 3.2 точно не помню)


Re: Задолбался с компиляцией ядра в Мандрейке 9.1

Попробуй компилятор 2.95.3 - он все собирал у меня. Можешь компилятором 2.95.3 собрать компилятор 3.3 (3.3 хвалят, но я не проверял).

anonymous ()

Задолбался с компиляцией ядра в Мандрейке 9.1

Для меня это не реально(модемное соединение), больше никак?

some_x ()

Re: Задолбался с компиляцией ядра в Мандрейке 9.1

Пойди купи дебиан и не дрочи на мандряк.

SteelRat ()

Re: Задолбался с компиляцией ядра в Мандрейке 9.1

можешь, конечно, на rpmfind.net откопать ГыЦыЦы v2.95.*

SteelRat ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.