Bug 75542 - Cannot compile kernel if software suspend is enabled
Summary: Cannot compile kernel if software suspend is enabled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-09 19:02 UTC by Radu Cornea
Modified: 2007-04-18 16:47 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-10-09 19:02:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Radu Cornea 2002-10-09 19:02:23 UTC
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 19:04:55 UTC
please don't enable software suspend.


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