Skip to content

Instantly share code, notes, and snippets.

@iler
Created April 12, 2016 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iler/f1e519168bace48545d494edb7b2baa6 to your computer and use it in GitHub Desktop.
Save iler/f1e519168bace48545d494edb7b2baa6 to your computer and use it in GitHub Desktop.
PSOL build error
In file included from third_party/icu/source/common/unicode/ptypes.h:25:0,
from third_party/icu/source/common/unicode/umachine.h:52,
from third_party/icu/source/common/unicode/utypes.h:36,
from third_party/icu/source/common/putil.c:60:
third_party/icu/source/common/putil.c: In function 'uprv_timezone_46':
third_party/icu/genfiles/arch/linux/common/include/unicode/platform.h:292:25: error: '__timezone' undeclared (first use in this function)
#define U_TIMEZONE __timezone
^
third_party/icu/source/common/putil.c:622:12: note: in expansion of macro 'U_TIMEZONE'
return U_TIMEZONE;
^
third_party/icu/genfiles/arch/linux/common/include/unicode/platform.h:292:25: note: each undeclared identifier is reported only once for each function it appears in
#define U_TIMEZONE __timezone
^
third_party/icu/source/common/putil.c:622:12: note: in expansion of macro 'U_TIMEZONE'
return U_TIMEZONE;
^
make: *** [out/Release/obj.target/icuuc/third_party/icu/source/common/putil.o] Error 1
third_party/icu/icuuc.target.mk:467: recipe for target 'out/Release/obj.target/icuuc/third_party/icu/source/common/putil.o' failed
The command '/bin/sh -c export PATH=$PATH:/tmp/src/depot_tools && cd /tmp/src/mod_pagespeed && gclient config https://github.com/pagespeed/mod_pagespeed.git --unmanaged --name=src && cd src/ && git checkout 1.11.33.0 && gclient sync --force --jobs=1 && wget https://github.com/pagespeed/ngx_pagespeed/files/195988/psol-chromium.stacktrace.patch.txt && patch third_party/chromium/src/base/debug/stack_trace_posix.cc < psol-chromium.stacktrace.patch.txt && make BUILDTYPE=Release CXXFLAGS=" -I/usr/include/apr-1 -I/tmp/src/libpng-1.2.56 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0" CFLAGS=" -I/usr/include/apr-1 -I/tmp/src/libpng-1.2.56 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0"' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment