[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel 2.4.x compiling in Woody



On Mon, Dec 03, 2001 at 10:23:17AM -0600, Donald J Bindner wrote:

> floppy.c:4109: parse error before `EXTRA_FLOPPY_PARAMS'
> make[3]: *** [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.

-- 
 - mdz



Reply to: