Bug 75542 - Cannot compile kernel if software suspend is enabled
Cannot compile kernel if software suspend is enabled
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-09 15:02 EDT by Radu Cornea
Modified: 2007-04-18 12:47 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-10-09 15:02:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Radu Cornea 2002-10-09 15:02:23 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021009
Phoenix/0.3

Description of problem:
If software suspend is enabled, the kernel cannot be compiled (the official
kernel shipped with RH 8.0). The errors are:

make[1]: Entering directory `/usr/src/linux-2.4.18-14'
ld -m elf_i386 -T /usr/src/linux-2.4.18-14/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
init/do_mounts.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o  drivers/char/char.o
drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/char/drm/drm.o drivers/ide/idedriver.o
drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o
drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o drivers/video/video.o
net/network.o crypto/crypto.o abi/abi.o
/usr/src/linux-2.4.18-14/arch/i386/lib/lib.a /usr/src/linux-2.4.18-14/lib/lib.a
/usr/src/linux-2.4.18-14/arch/i386/lib/lib.a --end-group  -o vmlinux
kernel/kernel.o: In function `drivers_suspend':
kernel/kernel.o(.text+0x138e4): undefined reference to `ide_disk_suspend'
kernel/kernel.o: In function `drivers_resume':
kernel/kernel.o(.text+0x139c1): undefined reference to `ide_disk_resume'
kernel/kernel.o: In function `drivers_unsuspend':
kernel/kernel.o(.text+0x138d1): undefined reference to `ide_disk_unsuspend'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18-14'
make: *** [vmlinux] Error 2


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


How reproducible:
Always

Steps to Reproduce:
1.run make menuconfig
2.enable software suspend in kernel hacking section
3.make dep; make bzImage
	

Actual Results:  Compilation error.

Expected Results:  Kernel should compile fine.

Additional info:
Comment 1 Arjan van de Ven 2002-10-09 15:04:55 EDT
please don't enable software suspend.

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