Skip to contentSkip to conversation

wiringpi: needs threads

PATCH New Peter Seiderer 2 participants 2 messages Jun 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wiringpi: needs threads

Fixes [1]:

wiringPi.c:66:21: fatal error: pthread.h: No such file or directory

[1] http://autobuild.buildroot.net/results/4e1/4e17697c1116b418d8d9c07a202f3c89186e463f

---
 package/wiringpi/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/wiringpi/Config.in +5 -0
index a292b3f..2062a62 100644
@@ -1,7 +1,12 @@
 config BR2_PACKAGE_WIRINGPI
 	bool "wiringpi"
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  wiringPi libraries (and gpio command)
 
 	  http://wiringpi.com/
+
+comment "wiringpi needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 wiringpi: needs threads

Hello,

Quoted 10 lines · Peter Seiderer

Fixes [1]:

wiringPi.c:66:21: fatal error: pthread.h: No such file or directory

[1] http://autobuild.buildroot.net/results/4e1/4e17697c1116b418d8d9c07a202f3c89186e463f

---
 package/wiringpi/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com