Jeff Groves wrote: > > 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 How much later? It looks like you are missing corresponding kernel headers. Did you get the kernel source RPM *and* the equivalent kernel header RPM? You can't build nothin' with the headers =) > 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) No job control? You must be missing more than just your kernel headers. Can you do this: # emacs -nw & # jobs [you will see the emacs process you just launched running in background] # fg [your emacs window should now appear] If none of the above work, then... well, you need to find out which package contains the job control tools. The name/nature of that package escapes me at the moment.. is it binutils? Somebody help me out here. -Stephen-
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
