Click to See Complete Forum and Search --> : kernel make error


lastsmoke
02-03-2001, 02:57 PM
I installed win2000 and redhat 7.0 on my 20G HD, linux can't access NTFS files, due to my winmodem, I can do nothing at all.
It looks like linux can access NTFS by rebuilding kernel, I do it by
make dep; make clean; make zImage, but when run make zImage, make quit due to comiling error when compile a file in kernel directory(displayed Error 2 and Error 1, I can't remember the details), reinstall kernel-source-2.2.16.i386.rpm doesn't work. Any clue? thanks a lot!

Have spend much time on install, lilo and other boring things, Linux is more like a nightmare than a legend. :confused:

X_console
02-03-2001, 03:05 PM
First, try http://www.linmodems.org and see if you can do something about getting your winmodem to work.

As for the kernel problems, did you install all your development libraries and tools? Try downloading the kernel from the official kernel source tree: http://www.kernel.org You might also consider installing kernel 2.2.18 instead of 2.2.16

lastsmoke
02-03-2001, 03:16 PM
X_console: thank you very much, because I can't access windows files and Internet, Linux can only use files in cdrom or floppy disk.
How do I know if all development libs and tools are installed? error message didn't show any things like this.

BlvdKing
02-03-2001, 03:21 PM
Go to the RPMS folder on the first disk and look for RPM's that say:
MAKE
Kernel source
Kernel headers
g++ or gcc

Also install the dependencies that go with those. You shouldn't have any problems with compiling the kernel after that.

The King Ant
02-03-2001, 05:55 PM
Have you tried "make bzImage" rather than "make zImage"? I'm not sure if that could be the source of the error, but making a bzImage is better anyway (it's compressed, so it's smaller).

lastsmoke
02-04-2001, 07:15 AM
Thanks for all the help, I think the reason is missing some dependance of make, gcc, kernel-source or kernel-headers. It's difficult to check all the dependance for me, so I reinstalled linux, altough it's time-consumed, everything is ok now.