Re: Kernel 2.4.x compiling in Woody
I have had errors like this for a long time under testing and unstable. I am
forced to leave out certain parts of the kernel (such as MTD's and many SCSI
drivers) to get a successful compile. I have this problem coming from a
totally clean source, straight out of the tarball. GCC version is 2.95.4
20011006 (Debian prerelease). Kernels this has happened with include (I
think) 2.4.14, 2.4.15, 2.4.16, 2.5.1-pre4
On Monday 03 December 2001 11:17 am, Matt Zimmerman wrote:
> On Mon, Dec 03, 2001 at 10:23:17AM -0600, Donald J Bindner wrote:
> > floppy.c:4109: parse error before `EXTRA_FLOPPY_PARAMS'
> > make: *** [floppy.o] Error 1
> > Looking at the source, it seems that this is supposed to be an
> > empty #define, so to my eye that suggests a cpp problem. And on
> > a potato system, this same series of steps builds a working
> > kernel image just fine.
> > I happen to have a licenced copy of VmWare, and if I install a
> > potato system on the same computer using that, I can compile
> > correctly within the virtual machine.
> > However, if I try to the use the same filesystem as a "chroot"
> > environment (copying it with tar) and compile the kernel, I
> > immediately begin to get warnings about various things being
> > redefined. For example:
> Check your environment. Maybe you have some bogus CFLAGS, PATH or such?
> It must be something with your runtime environment if booting into it
> cleanly works. Are you logged in as root, or su'd? If the latter, try
> using "su -" to start with a fresh environment.