Newsgroup: it.comp.os.linux.iniziare
Titolo: (long) problemone compilaz kernel aiuto!!!

ciao a tutto il ng,
per vari motivi devo compilare il kernel, quello originale di mdk 9.1 
(2.4.21mdk), ma dopo un bel po' che il
computer lavora mi vengono fuori i messaggi che vi ho riportato qui sotto.
ho seguito le istruzioni del libro "da windows a linux" per bene.
ah, dimenticavo: dopo make xconfig  mi da questi 2 messaggi. io li ho
ignorati, sperando in bene.
ERROR - Attempting to write value for unconfigured variable (CONFIG_VIDS).
ERROR - Attempting to write value for unconfigured variable (CONFIG_VIDS).
poi però make dep non mi da problemi, ma a make bzdisk vengono fuori
questi problemi, cioè quelli citati prima. cosa fare? chi ha la pazienza
di legersi tutto 'sto romanzo? grazie mille per l'eventuale aiuto!
make[1]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/sound'
make -C arm
make[2]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/sound/arm'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.21-0.13mdk/sound/arm'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.13mdk/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sa11xx_uda1341  -c -o sa11xx-uda1341.o sa11xx-uda1341.c
sa11xx-uda1341.c:67:26: asm/hardware.h: No such file or directory
sa11xx-uda1341.c:74:25: linux/l3/l3.h: No such file or directory
In file included from sa11xx-uda1341.c:78:
/usr/src/linux-2.4.21-0.13mdk/include/sound/uda1341.h:227: warning: `struct l3_client' declared inside parameter list
/usr/src/linux-2.4.21-0.13mdk/include/sound/uda1341.h:227: warning: its scope is only this definition or declaration, which is probably not what you want
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:188: warning: implicit declaration of function `DEBUG'
sa11xx-uda1341.c:188: `rate' undeclared (first use in this function)
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: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:271: warning: implicit declaration of function `DEBUG_NAME'
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:351: parse error before string constant
sa11xx-uda1341.c:351: warning: type defaults to `int' in declaration of `DEBUG_NAME'
sa11xx-uda1341.c:351: warning: function declaration isn't a prototype
sa11xx-uda1341.c:351: warning: data definition has no type or storage class
sa11xx-uda1341.c:353: parse error before string constant
sa11xx-uda1341.c:353: warning: type defaults to `int' in declaration of `DEBUG'
sa11xx-uda1341.c:353: warning: function declaration isn't a prototype
sa11xx-uda1341.c:353: warning: data definition has no type or storage class
sa11xx-uda1341.c:354: parse error before string constant
sa11xx-uda1341.c:354: warning: type defaults to `int' in declaration of `DEBUG'
sa11xx-uda1341.c:354: warning: function declaration isn't a prototype
sa11xx-uda1341.c:354: warning: data definition has no type or storage class
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:356: parse error before string constant
sa11xx-uda1341.c:356: warning: type defaults to `int' in declaration of `DEBUG'
sa11xx-uda1341.c:356: warning: function declaration isn't a prototype
sa11xx-uda1341.c:356: warning: data definition has no type or storage class
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: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: warning: implicit declaration of function `snd_chip_uda1341_mixer_del'
sa11xx-uda1341.c:1034: dereferencing pointer to incomplete type
sa11xx-uda1341.c:1035: dereferencing pointer to incomplete type
make[3]: *** [sa11xx-uda1341.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/sound/arm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/sound/arm'
make[1]: *** [_subdir_arm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.13mdk/sound'
make: *** [_dir_sound] Error 2

guarda se vuoi 1 consiglio lascia perdere i kernel personalizzati delle 
distribuzioni e vai solo con quelli ufficiali di Linus Torvalds presi da 
kernel.org
 e suoi mirrors
-- 
    Pardo
 
http://pardo.cjb.net
 
    ( BACKUP: 
http://pardo.tsx.org
 )