linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel 2.4.9 build fails on Mandrake 8.0
@ 2001-08-19 17:13 Chris Oxenreider
  2001-08-19 17:20 ` Arnaldo Carvalho de Melo
  2001-08-19 19:26 ` Anton Altaparmakov
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Oxenreider @ 2001-08-19 17:13 UTC (permalink / raw)
  To: linux-kernel


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]# 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 2.4.9 build fails on Mandrake 8.0
  2001-08-19 17:13 Kernel 2.4.9 build fails on Mandrake 8.0 Chris Oxenreider
@ 2001-08-19 17:20 ` Arnaldo Carvalho de Melo
  2001-08-19 19:26 ` Anton Altaparmakov
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-08-19 17:20 UTC (permalink / raw)
  To: Chris Oxenreider; +Cc: linux-kernel

Em Sun, Aug 19, 2001 at 12:13:52PM -0500, Chris Oxenreider escreveu:
> 
> 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:

add 

#include <linux/kernel.h>

IIRC this will do the trick, getting the min definition from kernel.h

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kernel 2.4.9 build fails on Mandrake 8.0
  2001-08-19 17:13 Kernel 2.4.9 build fails on Mandrake 8.0 Chris Oxenreider
  2001-08-19 17:20 ` Arnaldo Carvalho de Melo
@ 2001-08-19 19:26 ` Anton Altaparmakov
  1 sibling, 0 replies; 3+ messages in thread
From: Anton Altaparmakov @ 2001-08-19 19:26 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Chris Oxenreider, linux-kernel

At 18:20 19/08/2001, Arnaldo Carvalho de Melo wrote:
>Em Sun, Aug 19, 2001 at 12:13:52PM -0500, Chris Oxenreider escreveu:
> >
> > 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:
>
>add
>
>#include <linux/kernel.h>

Yes, add above line to fs/ntfs/unistr.c and all is fine.

Anton


>IIRC this will do the trick, getting the min definition from kernel.h
>
>- Arnaldo
>-
>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/

-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-19 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-19 17:13 Kernel 2.4.9 build fails on Mandrake 8.0 Chris Oxenreider
2001-08-19 17:20 ` Arnaldo Carvalho de Melo
2001-08-19 19:26 ` Anton Altaparmakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).