2.5.66 not compiling
Hello,
i am running actually a 2.4.19 kernel, started the .config with my actual one and run an make oldconfig over it....
but since i don't get 2.4.20 running satisfyingly on my Athlon, wanted to give a 2.5 a chance....
the config was from stock debian kernel, and the modified one can be found at http://bboett.dyndns.org/~bboett/linux-2.5.66.config
when trying to make a make bzImage i get :
make -f scripts/Makefile.build obj=fs/cramfs
gcc -Wp,-MD,fs/cramfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=inode -DKBUILD_MODNAME=cramfs -c -o fs/cramfs/.tmp_inode.o fs/cramfs/inode.cfs/cramfs/inode.c: In function `get_cramfs_inode':fs/cramfs/inode.c:54: incompatible types in assignment make[2]: *** [fs/cramfs/inode.o] Fehler 1
not the faintest idea on what did get wrong... so if someone has an idea... i will take it :D
please include me through CC when replying
Signature · 5 lines
ciao bboett ============================================================== [email protected] http://inforezo.u-strasbg.fr/~bboett ===============================================================
commence Bruno Boettcher quotation:
Quoted 11 lines
when trying to make a make bzImage i get :
make -f
scripts/Makefile.buildobj=fs/cramfs
gcc -Wp,-MD,fs/cramfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=inode -DKBUILD_MODNAME=cramfs -c -ofs/cramfs/.tmp_inode.ofs/cramfs/inode.cfs/cramfs/inode.c: In function `get_cramfs_inode':fs/cramfs/inode.c:54: incompatible types in assignment make[2]: *** [fs/cramfs/inode.o] Fehler 1not the faintest idea on what did get wrong... so if someone has an idea... i will take it :D
If you don't actually need cramfs, just configure it out. Distro kernel configs tend to be kitchen-sinkish.
Signature · 1 line
Sean Neakums - <[email protected]>
Quoted 10 lines · [email protected] (Bruno Boettcher) wrote:
make -f
scripts/Makefile.buildobj=fs/cramfs
gcc -Wp,-MD,fs/cramfs/.inode.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-proto
types -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-st ack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -fomit-frame-poin
ter -nostdinc -iwithprefix include -DKBUILD_BASENAME=inode -DKBUILD_MODNAME
=cramfs -c -ofs/cramfs/.tmp_inode.ofs/cramfs/inode.cfs/cramfs/inode.c: In function `get_cramfs_inode':fs/cramfs/inode.c:54: incompatible types in assignment
make[2]: *** [fs/cramfs/inode.o] Fehler 1
Quoted 2 lines
not the faintest idea on what did get wrong... so if someone has an idea... i will take it :D
cramfs/inode.c renamed from cramfs/inode.c-orig +3 -1
@@ -51,7 +51,9 @@ inode->i_blocks = (cramfs_inode->size -1 ) /512 +1 ; inode->i_blksize =PAGE_CACHE_SIZE ; inode->i_gid = cramfs_inode->gid; - inode->i_mtime = inode->i_atime = inode->i_ctime =0 ; + inode->i_mtime.tv_sec = inode->i_mtime.tv_nsec = + inode->i_atime.tv_sec = inode->i_atime.tv_nsec = + inode->i_ctime.tv_sec = inode->i_ctime.tv_nsec =0 ; inode->i_ino =CRAMINO (cramfs_inode);/* inode->i_nlink is left 1 - arguably wrong for directories, but it's the best we can do without reading the directory
Bernd
Signature · 4 lines
Bernd Petrovitsch Email : [email protected] g.a.m.s gmbh Fax : +43 1 205255-900 Prinz-Eugen-Straße 8 A-1040 Vienna/Austria/Europe LUGA : http://www.luga.at