Skip to content

CMake not able to find pthread lib on migrating to Yocto 2.2 (Morty) #54

@tdeva14

Description

@tdeva14

We are currently migrating to Yocto v2.2(Morty) in RDKB devices which runs gcc6 and we are seeing the below configuration error.

| -- Looking for pthread.h
| -- Looking for pthread.h - found
| -- Looking for pthread_create
| -- Looking for pthread_create - not found
| -- Looking for pthread_create in pthreads
| -- Looking for pthread_create in pthreads - not found
| -- Looking for pthread_create in pthread
| -- Looking for pthread_create in pthread - not found
| -- Check if compiler accepts -pthread
| -- Check if compiler accepts -pthread - no
| CMake Error at /mnt/home/dthiya418/Yocto-2.2/txb6morty/tchxb6-morty/tmp/sysroots/x86_64-linux/usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
| Could NOT find Threads (missing: Threads_FOUND)

Attached
CMakeError.log
CMakeOutput.log

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions