Bug 104676 - Unable to compile kernel with shipped config file
Summary: Unable to compile kernel with shipped config file
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ernie Petrides
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-18 19:52 UTC by Stephen Drye
Modified: 2007-11-30 22:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-06-04 00:07:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stephen Drye 2003-09-18 19:52:24 UTC
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:

Comment 1 Arjan van de Ven 2003-09-18 20:06:26 UTC
does it work if you do make oldconfig after make xconfig ?
(if so, make xconfig gets some dependency resolution wrong)

Comment 2 Stephen Drye 2003-09-18 20:50:44 UTC
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.


Comment 3 Ernie Petrides 2005-06-04 00:07:31 UTC
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



Note You need to log in before you can comment on or make changes to this bug.