Bug 23243 - make modules breaks after touching a file
Summary: make modules breaks after touching a file
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel   
(Show other bugs)
Version: 7.0
Hardware: i686 Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2001-01-03 20:03 UTC by Cormac McGaughey
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-03 20:03:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Cormac McGaughey 2001-01-03 20:03:43 UTC
This is on a custom install of redhat 7.0, installing everything
the best way to make this bug happen is to do this:
cd /usr/src/linux
make xconfig (set up as needed for your machine)
make depend bzImage
make modules

up to this point everything works perfectly. Now, without changing any 
code do the following (remember I've not updated any code or installed 
anything else at this point - its a pure install):

cd /usr/src/linux/drivers/block
touch DAC960.c
touch DAC960.h
make modules

the compile will break with the following error text:
In file included from ide-cd.c:293:
/usr/src/linux/include/linux/module.h:145: `get_module_symbol_R_ver_str' 
declared as function returning a function
/usr/src/linux/include/linux/module.h:145: warning: parameter names 
(without types) in function declaration
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes 
for .modinfo
make[2]: *** [ide-cd.o] Error 1
make[1]: *** [_modsubdir_block] Error 2
make: *** [_mod_drivers] Error 2

Why does it break this way when nothing has been changed, and it compiled 
perfectly seconds before the touch DAC960.c? and why does touching an 
unrelated file break ide-cd?

The only way I can see to fix it is to do a make mrproper every time, 
which is a total pain. Is there a simpler way to make the modules without 
having to recompile everything, every time?

Other modules cause the same error.

Comment 1 Cormac McGaughey 2001-08-07 23:40:08 UTC
The problem does not appear in RedHat 7.1, so it looks like it was specific to 

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