Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to build CURL #1

Open
lihehub opened this issue Dec 26, 2016 · 0 comments
Open

Fail to build CURL #1

lihehub opened this issue Dec 26, 2016 · 0 comments

Comments

@lihehub
Copy link

lihehub commented Dec 26, 2016

Fail to build CURL using NACL_SDK pepper_49

Webports git:(master) ./make_all.sh curl

  • set -e
  • TARGETS=curl
  • TARGETS=curl
  • BUILD_FLAGS=--ignore-disabled
  • export TOOLCHAIN
  • export NACL_ARCH
  • export BUILD_FLAGS
  • NACL_ARCH=x86_64
  • TOOLCHAIN=clang-newlib
  • make curl
    bin/naclports install curl --ignore-disabled
    Building 'glibc-compat' [x86_64/clang-newlib/release]
    Skipping extract; No upstream archive: 'glibc-compat' [x86_64/clang-newlib/release]
    chdir /Users/lihe/Project/Webports/out/build/glibc-compat/glibc-compat-0.1
    ######################################################################
    Configuring glibc-compat
    ######################################################################
    chdir /Users/lihe/Project/Webports/out/build/glibc-compat/glibc-compat-0.1
    cp -rf /Users/lihe/Project/Webports/ports/glibc-compat/Makefile /Users/lihe/Project/Webports/ports/glibc-compat/README /Users/lihe/Project/Webports/ports/glibc-compat/build.sh /Users/lihe/Project/Webports/ports/glibc-compat/include /Users/lihe/Project/Webports/ports/glibc-compat/pkg_info /Users/lihe/Project/Webports/ports/glibc-compat/src .
    rm -rf out
    ######################################################################
    Building glibc-compat
    ######################################################################
    chdir /Users/lihe/Project/Webports/out/build/glibc-compat/glibc-compat-0.1
    make -j4
    CC out/alarm.o
    CC out/getprotobyname_r.o
    CC out/getservbyname_r.o
    CC out/herrno.o
    CC out/herror.o
    CC out/in6_addr.o
    CC out/inet_addr.o
    CC out/inet_pton.o
    CC out/lockf.o
    CC out/mktemp.o
    CC out/ns_name.o
    CC out/ns_netint.o
    CC out/ns_samedomain.o
    CC out/qsort_r.o
    CC out/random.o
    CC out/realpath.o
    CC out/res_comp.o
    CC out/res_data.o
    CC out/res_debug.o
    CC out/res_init.o
    CC out/res_libc.o
    CC out/res_mkquery.o
    CC out/res_query.o
    CC out/res_send.o
    AR out/libglibc-compat.a
    CXX out/glibc_compat_test
    src/test.cc:17:10: fatal error: 'gtest/gtest.h' file not found
    #include "gtest/gtest.h"
    ^
    1 error generated.
    make[1]: *** [out/glibc_compat_test] Error 1
    naclports: Building glibc-compat: failed.
    make: *** [curl] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant