Skip to content

Compiling with Samsung NaCl Pepper 42 #2

Description

@mrrunner

I'm not able to compile Samsung fork of webports with current Samsung NaCl SDK.
I switched to master_42 branch after having the following error:

naclports: This version of naclports requires at least version 46 of
the NaCl SDK. The version in $NACL_SDK_ROOT is 42. If you want
to use naclports with an older version of the SDK please checkout
one of the pepper_XX branches (or run with
--skip-sdk-version-check).

Now, I get the following error when building boost lib for instance:

_$ TOOLCHAIN=pnacl ./make_all.sh boost

  • set -e
  • TARGETS=boost
  • TARGETS=boost
  • BUILD_FLAGS=--ignore-disabled
  • export TOOLCHAIN
  • export NACL_ARCH
  • export BUILD_FLAGS
  • NACL_ARCH=x86_64
  • TOOLCHAIN=clang-newlib
  • make boost
    bin/naclports install boost --ignore-disabled
    naclports: boost: cannot be built with clang-newlib
  • TOOLCHAIN=glibc
  • make boost
    bin/naclports install boost --ignore-disabled
    Building 'glibc-compat' [x86_64/glibc/release]
    Skipping extract; No upstream archive: 'glibc-compat' [x86_64/glibc/release]
    Toolchain not found: /Users/xxx/Documents/work/SamsungSmartTV/nacl_sdk/pepper_42/toolchain/mac_x86_glibc
    naclports: Building glibc-compat: failed.
    make: *** [boost] Error 1_

Am i missing something? Could someone shed some light on this?

Metadata

Metadata

Assignees

No one assigned

    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