From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507 Description of problem: When I load the shipped configs/kernel-2.4.21-i686.config, save&exit and "make dep bzImage", the kernel compile fails. It seems to be related to the IPSec options under networking config. The error is: /usr/src/linux-2.4.21-1.1931.2.423.ent/include/net/esp.h:49: 'crypto_hmac_update' undeclared (first use in this function) make[3]: *** [xfrm_algo.o] Error 1 Version-Release number of selected component (if applicable): kernel-source-2.4.21-1.1931.2.423.ent How reproducible: Always Steps to Reproduce: 1.make mrproper 2.make xconfig 3.load the kernel-2.4.21-i686.config 4. save and exit 5. make dep 6. make bzImage Additional info:
does it work if you do make oldconfig after make xconfig ? (if so, make xconfig gets some dependency resolution wrong)
I did: - make mrproper - make xconfig - loaded the config - save & exit - make oldconfig (here it prompted me for a few items, which I just used the default for) - make dep make bzImage completed successfully this time.
Hi, Stephen. The correct build-from-source procedure is as follows: 1) make mrproper 2) cp configs/kernel-2.4.21-i686-smp.config .config [or some other config] 3) make oldconfig 4) make dep 5) make bzImage 6) make modules Using "make xconfig" is not supported. Cheers. -ernie