koenkooi / meta-kodi

The official OpenEmbedded/Yocto Project layer for Kodi
11 stars 27 forks source link

kodi_git: simplify mips overrides, fix CMake linking error #31

Closed andrea-adami closed 3 years ago

andrea-adami commented 3 years ago

This happens with kodi 18.9 on vuduo2 using bfd or gold:

CMakeError.log ... [2/2] Linking C executable cmTC_1ac7c FAILED: cmTC_1ac7c ... ld.gold: error: cannot find -lpthreads ... error: undefined reference to 'pthread_create' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

As seen in OpenPLi as of commit-id dc55339

Signed-off-by: Andrea Adami andrea.adami@gmail.com

dev-0x7C6 commented 3 years ago

@andrea-adami as we can see above github generated a lot of verbose output. devel branch was rebased (this was postponed a while ago). I also merged (push-forced) recent changes into devel and changed it into master-next (to match common branch naming practice for oe layers), so devel branch no longer exists.

I applied your change in recent commits with mention of that pull request in commit message.