Skip to contentSkip to conversation

x265: needs threads

PATCH New Peter Seiderer 3 participants 3 messages Oct 31, 2015 – Nov 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x265: needs threads

Fixes [1]:

build/x265-1.8/source/common/threading.h:34:21: fatal error: pthread.h: No such file or directory

[1] http://autobuild.buildroot.net/results/261/26134a234be5a67914cde0fb81601f6860d943d2

---
 package/x265/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/x265/Config.in +3 -2
index 4d202a9..15ae933 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_X265
 	bool "x265"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  x265 is an open source free software and library for encoding video
 	  using the High Efficiency Video Coding (HEVC/H.265) standard. x265 is
@@ -19,5 +20,5 @@ config BR2_PACKAGE_X265_CLI
 
 endif
 
-comment "x265 needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "x265 needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 x265: needs threads

Peter, All,

On 2015-10-31 23:23 +0100, Peter Seiderer spake thusly:

Quoted 7 lines

Fixes [1]:

build/x265-1.8/source/common/threading.h:34:21: fatal error: pthread.h: No such file or directory

[1] http://autobuild.buildroot.net/results/261/26134a234be5a67914cde0fb81601f6860d943d2

Regards,
Yann E. MORIN.

Quoted 31 lines
---
 package/x265/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/x265/Config.in +3 -2
index 4d202a9..15ae933 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_X265
 	bool "x265"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  x265 is an open source free software and library for encoding video
 	  using the High Efficiency Video Coding (HEVC/H.265) standard. x265 is
@@ -19,5 +20,5 @@ config BR2_PACKAGE_X265_CLI
 
 endif
 
-comment "x265 needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "x265 needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.1.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 x265: needs threads

In reply to Peter Seiderer

Dear Peter Seiderer,

Quoted 10 lines · Peter Seiderer

Fixes [1]:

build/x265-1.8/source/common/threading.h:34:21: fatal error: pthread.h: No such file or directory

[1] http://autobuild.buildroot.net/results/261/26134a234be5a67914cde0fb81601f6860d943d2

---
 package/x265/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied, thanks.

Thomas

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