* [Bug 604] New: CONFIG_SOFTWARE_SUSPEND should depend on CONFIG_SWAP
@ 2003-04-20 3:06 Martin J. Bligh
0 siblings, 0 replies; only message in thread
From: Martin J. Bligh @ 2003-04-20 3:06 UTC (permalink / raw)
To: linux-kernel
http://bugme.osdl.org/show_bug.cgi?id=604
Summary: CONFIG_SOFTWARE_SUSPEND should depend on CONFIG_SWAP
Kernel Version: 2.5.67 proper
Status: NEW
Severity: normal
Owner: akpm@digeo.com
Submitter: andi@lisas.de
Distribution:
Hardware Environment:
Software Environment:
See #603
Problem Description:
Compiling CONFIG_SOFTWARE_SUSPEND without CONFIG_SWAP set leads to:
gcc -Wp,-MD,kernel/.suspend.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototyp
es -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-b
oundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix
include -DKBUILD_BASENAME=suspend -DKBUILD_MODNAME=suspend -c -o kernel/susp
end.o kernel/suspend.c
kernel/suspend.c: In function `freeze_processes':
kernel/suspend.c:228: warning: comparison of distinct pointer types lacks a cast
kernel/suspend.c:293:2: warning: #warning This might be broken. We need to someh
ow wait for data to reach the disk
kernel/suspend.c: In function `mark_swapfiles':
kernel/suspend.c:321: warning: implicit declaration of function `rw_swap_page_sy
nc'
kernel/suspend.c: In function `read_swapfiles':
kernel/suspend.c:350: warning: implicit declaration of function `swap_list_lock'
kernel/suspend.c:352: `swap_info' undeclared (first use in this function)
kernel/suspend.c:352: (Each undeclared identifier is reported only once
kernel/suspend.c:352: for each function it appears in.)
kernel/suspend.c:377: warning: implicit declaration of function `swap_list_unloc
k'
kernel/suspend.c: In function `lock_swapdevices':
kernel/suspend.c:388: `swap_info' undeclared (first use in this function)
make[2]: *** [kernel/suspend.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.67'
make: *** [stamp-build] Error 2
I'm not sure whether CONFIG_SOFTWARE_SUSPEND should simply not be displayed if
CONFIG_SWAP is not set or whether CONFIG_SOFTWARE_SUSPEND should mention
CONFIG_SWAP requirement...
Whatever should be done, it shouldn't fail with such a compile error...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-20 3:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-20 3:06 [Bug 604] New: CONFIG_SOFTWARE_SUSPEND should depend on CONFIG_SWAP Martin J. Bligh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®