impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Armstrong <tarmstr...@cloudera.com>
Subject Re: New link errors. undefined reference to _Ux86_64*
Date Wed, 30 Mar 2016 22:33:55 GMT
It looks like you are picking up your system's version of glog rather than
one of the versions distributed with Impala.

I'm not sure why it would be doing this, but I'd suggest doing a full clean
and build first to see if that resolves it.

If you are doing a toolchain build, it should be linking against the
toolchain glog, or if you're not it should be linking against the one in
thirdparty/.


On Wed, Mar 30, 2016 at 3:16 PM, Randy Hammon <younglv@gmail.com> wrote:

> Hi all,
> rebased my local repository and got the following build errors.
>
> Haven't changed anything on ubuntu 14.04.3 vmware image.
> googling suggests maybe something related to  missing dependency.
> Thanks
> Randy
>
> [100%] Building CXX object
> be/src/service/CMakeFiles/impalad.dir/daemon-main.cc.o
> Linking CXX executable ../../build/debug/service/impalad
> ../../../toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o): In function
> `ldap_int_poll':
> os-ip.c:(.text+0x2a6): warning: `sys_errlist' is deprecated; use
> `strerror' or `strerror_r' instead
> os-ip.c:(.text+0x29a): warning: `sys_nerr' is deprecated; use `strerror'
> or `strerror_r' instead
> ../../build/debug/common/libCommon.a(logging.cc.o): In function
> `impala::InitGoogleLoggingSafe(char const*)':
> /home/osboxes/impala/be/src/common/logging.cc:101: undefined reference to
> `google::InstallLogMessageListenerFunction(void (*)(std::string*, bool*))'
> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function
> `google::GetStackTrace(void**, int, int)':
> (.text+0x7b1): undefined reference to `_Ux86_64_getcontext'
> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function
> `google::GetStackTrace(void**, int, int)':
> (.text+0x7ca): undefined reference to `_ULx86_64_init_local'
> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function
> `google::GetStackTrace(void**, int, int)':
> (.text+0x823): undefined reference to `_ULx86_64_get_reg'
> /usr/lib/x86_64-linux-gnu/libglog.a(libglog_la-utilities.o): In function
> `google::GetStackTrace(void**, int, int)':
> (.text+0x882): undefined reference to `_ULx86_64_step'
> collect2: error: ld returned 1 exit status
> make[3]: *** [be/build/debug/service/impalad] Error 1
> make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2
> make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2
> make: *** [impalad] Error 2
> Error in /home/osboxes/impala/bin/make_impala.sh at line 123: make
> -j${IMPALA_BUILD_THREADS:-4} impalad
> Error in ./buildall.sh at line 269: $IMPALA_HOME/bin/make_impala.sh
> ${MAKE_IMPALA_ARGS}
>
> --
> You received this message because you are subscribed to the Google Groups
> "Impala Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to impala-dev+unsubscribe@cloudera.org.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message