diff mbox

stress: needs mmu

Message ID 1380087846.2156.1.camel@phoenix
State Accepted
Commit 77a2607fa3fe840427cbb088ddddc8c592a4976d
Headers show

Commit Message

Axel Lin Sept. 25, 2013, 5:44 a.m. UTC
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Fix below build error:

stress.o: In function `main':
stress.c:(.text+0x20b0): undefined reference to `fork'
stress.c:(.text+0x21d0): undefined reference to `fork'
stress.c:(.text+0x22f0): undefined reference to `fork'
stress.c:(.text+0x2434): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [stress] Error 1

 package/stress/Config.in | 1 +
 1 file changed, 1 insertion(+)


Peter Korsgaard Sept. 25, 2013, 9:21 a.m. UTC | #1
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:

 Axel> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Committed, thanks.
diff mbox


diff --git a/package/stress/Config.in b/package/stress/Config.in
index b092b03..37f8946 100644
--- a/package/stress/Config.in
+++ b/package/stress/Config.in
@@ -1,5 +1,6 @@ 
 	bool "stress"
+	depends on BR2_USE_MMU # fork()
 	  A deliberately simple workload generator for POSIX systems.
 	  It imposes a configurable amount of CPU, memory, I/O, and