Bug 58660 - kernel modules compilation fails.
kernel modules compilation fails.
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.2
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-22 09:32 EST by Chip Nayak
Modified: 2007-04-18 12:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-01-22 09:36:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chip Nayak 2002-01-22 09:32:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011014

Description of problem:
on RH 7.2 (2.4.9-13), rebuilding kernel modules fail for abi/svr4 module.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install kernel sources and do "make mrproper"
2."make menuconfig" 
3."make deps"
4." make modules"	

Actual Results:  make -C svr4 modules
make[2]: Entering directory /usr/src/linux-2.4.9-13/abi/svr4'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-13/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.9-13/include/linux/modversions.h   -c -o
sysinfo.o sysinfo.c
sysinfo.c:11:27: linux/compile.h: No such file or directory
sysinfo.c: In function svr4_sysinfo':
sysinfo.c:86: UTS_VERSION' undeclared (first use in this function)
sysinfo.c:86: (Each undeclared identifier is reported only once
sysinfo.c:86: for each function it appears in.)
make[2]: *** [sysinfo.o] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.9-13/abi/svr4'
make[1]: *** [_modsubdir_svr4] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.9-13/abi'
make: *** [_mod_abi] Error 2


Expected Results:  Successfull build

Additional info:

Output from "make modules"

make -C svr4 modules
make[2]: Entering directory /usr/src/linux-2.4.9-13/abi/svr4'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-13/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.4.9-13/include/linux/modversions.h   -c -o
sysinfo.o sysinfo.c
sysinfo.c:11:27: linux/compile.h: No such file or directory
sysinfo.c: In function svr4_sysinfo':
sysinfo.c:86: UTS_VERSION' undeclared (first use in this function)
sysinfo.c:86: (Each undeclared identifier is reported only once
sysinfo.c:86: for each function it appears in.)
make[2]: *** [sysinfo.o] Error 1
make[2]: Leaving directory /usr/src/linux-2.4.9-13/abi/svr4'
make[1]: *** [_modsubdir_svr4] Error 2
make[1]: Leaving directory /usr/src/linux-2.4.9-13/abi'
make: *** [_mod_abi] Error 2
Comment 1 Phil Knirsch 2002-01-22 09:36:05 EST
Reasigning to kernel package (kernelcfg was a tool to edit modules.conf ;-).

Read ya, Phil
Comment 2 Arjan van de Ven 2002-01-22 09:47:05 EST
yep this won't work; you need to at least do "make bzImage" first.
It doesn't have to finish, but the first file needs to have been processed...

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