Skip to contentSkip to conversation

stress: needs mmu

PATCH New Axel Lin 2 participants 2 messages Sep 25, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 stress: needs mmu

---
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(+)
package/stress/Config.in +1 -0
index b092b03..37f8946 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_STRESS
 	bool "stress"
+	depends on BR2_USE_MMU # fork()
 	help
 	  A deliberately simple workload generator for POSIX systems.
 	  It imposes a configurable amount of CPU, memory, I/O, and
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 stress: needs mmu

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Axel" == Axel Lin <[email protected]> writes:

Axel> Signed-off-by: Axel Lin <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard