Kernel 2.4.9 build fails on Mandrake 8.0

From: Chris Oxenreider (oxenreid@state.net)
Date: Sun Aug 19 2001 - 12:13:52 EST


Help.
On a freshly installed system using a version of Mandrake 8.0 from the
free 'iso' images on the linux-mandrake sight this is what happens:

cd /usr/src
# remove the link in /usr/src
rm linux
bzip2 -dc /tmp/linux-2.4.9.tar.bz2|tar xvf -
chown -R root.root linux
mv linux linux-2.4.9
ln -s linux-2.4.9 linux
cd linux-2.4.9
cp /boot/config-2.4.3-20mdk .config
echo Take default answers to all:
make oldconfig
make dep ; echo made Dependancies && \
make clean ; echo made clean && \
make bzImage ; echo made bzImage && \
make modules

when compiling modules this error is generated:

---Lots of other compiler messages---
make -C ntfs modules
make[2]: Entering directory `/usr/src/linux-2.4.9/fs/ntfs'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.9/include/linux/modversions.h -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[2]: *** [unistr.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.9/fs/ntfs'
make[1]: *** [_modsubdir_ntfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.9/fs'
make: *** [_mod_fs] Error 2
[root@odin linux-2.4.9]#

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:31 EST