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

compiling kernel error



well here i am again. i looked at the makefile in /usr/src/drivers/net and
fixed the problem with bsd_comp.o. it turns out if you have kernel support,
it'll try to compiling bsd_comp.o into the kernel, but it says it can only
be compiled as a module, meaning you can't select kernel support for ppp
for some reason.  however, i still can't figure out the other problem.
here is the message i get when i do a make zImage:


gcc -D__KERNEL__ -I/usr/src/linux-1.2.13/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386  -c -o init/main.o init/main.c
/usr/src/linux-1.2.13/include/asm/io.h: In function `copro_timeout':
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h: In function `check_fpu':
/usr/src/linux-1.2.13/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:78: inconsistent operand constraints in an `asm'
/usr/src/linux-1.2.13/include/asm/io.h:82: inconsistent operand constraints in an `asm'
make: *** [init/main.o] Error 1

this happens with both the source pkg from stable and unstable tree, so
i suspect that it's a problem with the library. i have both libc4 and libc5
and libc5-dev from the unstable tree.  i can't really install the libc off the
stable tree because it conflicts with libc5-dev, on which the xdevel depends,
on which the xslib depends, etc... solutions? should i put the xslib off the
stable tree?  pls help

thanx

-- 
  \__/    Junebug | email: jun.ying@gtri.gatech.edu |                   \__/
  (o-)    URL: http://solo.gtri.gatech.edu/~jun                         (--) 
 //||\\   Imagination is more important than knowledge. -- Einstein    //||\\ 
   Bug    Rule #1: Don't sweat the small stuff.                         Bug
 winking  Rule #2: It's all small stuff!     -- Dr. Michael Mantell   sleeping


Reply to: