Bug 19260

Summary: kernel fails compilation for NON-SMP due to undefined symbols
Product: [Retired] Red Hat Linux Reporter: Bassem Jamaleddine <redhat>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0CC: arjan, cognety, redhat
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-20 17:46:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bassem Jamaleddine 2000-10-17 15:07:51 UTC
The smp.h  header file defines symbols used during the 'make of the
kernel', if
not defined the Makefile exit due to an error. To remedy the problem, 
either define
the __SMP__ by passing it on the command line, or edit the smp.h file and
delete
the '#ifdef  __SMP__'  with its #endif.

Comment 1 Alan Cox 2000-10-17 15:45:44 UTC
*** Bug 19259 has been marked as a duplicate of this bug. ***

Comment 2 Arjan van de Ven 2000-10-17 16:38:51 UTC
Can you name some of the symbols, this souns like the famous "make mrproper"
bug.
(dupe of 18912 in that case)

Comment 3 Robert Dowling 2000-12-04 23:32:03 UTC
If it's what I had trouble with, the symbol "smp_num_cpus" is
undefined when kernel_stat.h is being parsed.  Removing the #define as
suggested gets me further, but then it blows up on line 26 of smp.h
when compiling i386_ksyms.c.  I finally gave up and did "make mrproper"
and life was good.

Comment 4 Need Real Name 2000-12-20 17:46:44 UTC
See also Bug #20677

Comment 5 Bill Nottingham 2000-12-20 19:48:42 UTC
You need to run 'make mrproper' first.