Click to See Complete Forum and Search --> : Help recompiling?


kuber
12-01-2000, 03:21 PM
Ok, I am trying to recompile to get my linksys ethernet card working. I followed the NHF carefully but when I try to make bzImage I get the following message:

gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__ -traditional
-c checksum.S -o checksum.o
checksum.S:231: badly punctuated parameter in list in #define
checksum.S:237: badly punctuated parameter in list in #define
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory '/usr/src/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory '/usr/src/linux/arch.i386/lib'
make: *** [_dir_arch/i386/lib] Error 2

I have tried a few different stable versions of the kernel and I ALWAYS get this. What do I need to do?
Thanks!

kuber

Gweedo
12-01-2000, 03:47 PM
Have you tried downloading a totally new Kernel not a patch and installed it?

If you have not, I would try this first before anything else; otherwise, hmm, I do not know why you would get such an error other than a corrupt file possibly.

------------------
Dubbie..Dubbie..Do..
Watch out.. or the Penguin will get You ;)

kuber
12-01-2000, 04:00 PM
I think I am using a complete kernel and not a patch... hmm....

kuber
12-01-2000, 05:45 PM
Damn.. this is really frustrating..

Gweedo
12-01-2000, 06:00 PM
Okay, so you are just trying to recompile the current kernel on the machine.

Try the following steps to compile the kernel, they have not failed me yet.

cd /usr/src/linux
make mrproper
make xconfig
make dep
make bzImage
(before doing the next delete the modules out of /lib/modules that is for the kernel.)
make modules
make modules_install

next

del your /boot/System.map and then
copy /usr/src/linux/System.map to /boot

copy /usr/src/arch/i386/boot/bzImage to /boot
rename bzImage to something like vmlinuz-2.2.17

Then add the new image to lilo or grub.

Try the above and see if you can get it to fly.

PLBlaze
12-01-2000, 06:32 PM
Do you have multiprocessor setup (dual cpu)?
If not then try to deselect multiproc option under gerneral setup when doing make xconfig for your kernel.Hope this helps.

kuber
12-01-2000, 07:01 PM
Tried both... Still getting the same message. WTF?

Gweedo
12-01-2000, 07:05 PM
Damn....The only other thing I would try is to go to www.kernel.org (http://www.kernel.org) and download the 2.2.17 kernel and reinstall the entire kernel.