I still have not figured out how to build the kernel from source.

I installed a fresh version of Mandrake 7.1 (Developer option) with all the 
standard defaults.  The only unusual thing I did was to create ReiserFS 
filesystems (except for /boot).

Now I have a "virgin" system, so I installed the latest source kernel RPM 
(kernel-2.2.17-6mdk.src.rpm) from Cooker.  I am trying to get the DPT I2O 
driver working and it appears that this kernel already has the patches to 
support it.

Next, I started the build:
   rpm -ba --target=i586 kernel-2.2.spec

A while later it failed, and I noticed several errors similar to the following:
   newport.c:11: asm/gfx.h: No such file
   newport.c:12: asm/ng1.h: No such file
   newport.c:14: asm/newport.h: No such file

The last error lines were:
   + %make bZImage
   /var/tmp/rpm-tmp.6671: fg: no job control
   Bad exit status from /var/tmp/rpm-tmp.6671 (%build)

Frankly, I don't think it is possible to build a kernel on a "stock" 
install.  The people who build kernels must have some other files installed 
that are not present on my system.

How can I figure out what is missing?

Thanks,

Jeff



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to