Newsgroup: it.comp.os.linux.iniziare
Titolo: [Ricompilare] Make clean fallisce alla directory /linux/fs

Dopo estrema fatica ho configurato tutto il kernel.
Faccio make dep...e tutto ok (mi pare)
Faccio Make clean e, dopo una lunga lavorazione mi da errore
Inserisco la parte finale del risultato sulla console:
[...........]
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_euc-jp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_cp936.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_gb2312.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_cp950.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_big5.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c nls_cp1251.c
rm -f nls.o
ld -m elf_i386  -r -o nls.o nls_base.o nls_cp437.o nls_cp850.o nls_cp932.o nls_s
jis.o nls_euc-jp.o nls_cp936.o nls_gb2312.o nls_cp950.o nls_big5.o nls_cp1251.o
make[3]: Leaving directory `/usr/src/linux/fs/nls'
make[2]: Leaving directory `/usr/src/linux/fs/nls'
make -C ntfs
make[2]: Entering directory `/usr/src/linux/fs/ntfs'
make all_targets
make[3]: Entering directory `/usr/src/linux/fs/ntfs'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o fs.o fs.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o sysctl.o sysctl.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o support.o support
.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o util.o util.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o inode.o inode.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o dir.o dir.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o super.o super.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o attr.o attr.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigrap
hs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-s
tack-boundary=2 -march=i686  -DNTFS_VERSION=\"1.1.16\"   -c -o unistr.o unistr.c
unistr.c: In function `ntfs_collate_names':
unistr.c:99: warning: implicit declaration of function `min'
unistr.c:99: parse error before `unsigned'
unistr.c:99: parse error before `)'
unistr.c:97: warning: `c1' might be used uninitialized in this function
unistr.c: At top level:
unistr.c:118: parse error before `if'
unistr.c:123: warning: type defaults to `int' in declaration of `c1'
unistr.c:123: `name1' undeclared here (not in a function)
unistr.c:123: warning: data definition has no type or storage class
unistr.c:124: parse error before `if'
make[3]: *** [unistr.o] Error 1
make[3]: Leaving directory `/usr/src/linux/fs/ntfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/fs/ntfs'
make[1]: *** [_subdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_dir_fs] Error 2
Da quello che ho capito c'è un errore nella directory /usr/src//linux/fs
Non so che fare.
Mi aiutate?
Grazie by Pictor

Faccio Make clean e, dopo una lunga lavorazione mi da errore
Problema conosciuto del Kernel 2.4.9
Mi pare  sia passata la patch  in questo NG la  settimana scorsa, al
limite cerca con deja.
-- 
 __
| _         "The Internet is slow, could you please reboot it ?"
|__|iambo   mailto:
gabr...@giambonini.com
 
www.giambonini.com

 
Scusa la domanda ma che cosa è deja?
E cmq è la patch che si trova sul sito 
kernel.net
 (o .org non ricordo),
il file patch-2.4.9.tar.gz? O è un'altra cosa?
Grazie

il file patch-2.4.9.tar.gz? O è un'altra cosa?
No, quella e' la patch per passare dal 2.4.8 al 2.4.9.
Il 22 di questo mese, 'matte diceva che:
==
Il bug e` una cazzatina in realta`, prova questa patch:
_______________________
+++ unistr.c    Sat Aug 18 14:26:34 2001
@@ -21,6 +21,7 @@
 * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */ +#include <linux/kernel.h>
 #include <linux/string.h>
 #include <asm/byteorder.h>
_______________________ 
Sul file fs/ntfs/unistr.c .
==
Il  tutto trovato  con la  ricerca "kernel  2.4.9 ntfs  patch" sotto
google :)
