FAQ
Hi,

When building Impala on Ubuntu 13.04 I get the following error:

src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
src/base/linuxthreads.cc:312:24: error: invalid conversion from ‘void
(*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’
[-fpermissive]
make: *** [libtcmalloc_la-linuxthreads.lo] Error 1

Can someone please tell me how to solve this?

Thanks,
Diddy

Search Discussions

  • Diddy at May 18, 2013 at 7:06 am
    Anyone?
    On Wednesday, 15 May 2013 15:39:47 UTC+1, Diddy wrote:

    Hi,

    When building Impala on Ubuntu 13.04 I get the following error:

    src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
    src/base/linuxthreads.cc:312:24: error: invalid conversion from ‘void
    (*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’
    [-fpermissive]
    make: *** [libtcmalloc_la-linuxthreads.lo] Error 1

    Can someone please tell me how to solve this?

    Thanks,
    Diddy
  • Matteo Bertozzi at May 18, 2013 at 3:19 pm
    this is a compilation failure in gperftools (one of the dependencies) due
    to glibc-2.16+
    https://code.google.com/p/gperftools/issues/detail?id=485

    if you want a quick fix you can edit src/base/linuxthreads.cc at line 196
    changing
    from: static void SignalHandler(int signum, siginfo_t *si, void *data) {
    to: static void SignalHandler(int signum, siginfo *si, void *data) {

    On Sat, May 18, 2013 at 12:06 AM, Diddy wrote:

    Anyone?

    On Wednesday, 15 May 2013 15:39:47 UTC+1, Diddy wrote:

    Hi,

    When building Impala on Ubuntu 13.04 I get the following error:

    src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
    src/base/linuxthreads.cc:312:**24: error: invalid conversion from ‘void
    (*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’
    [-fpermissive]
    make: *** [libtcmalloc_la-linuxthreads.**lo] Error 1

    Can someone please tell me how to solve this?

    Thanks,
    Diddy
  • Diddy at May 19, 2013 at 7:30 am
    Thanks a lot Matteo! This seemed to help, although now I get another error:

    Linking CXX static library ../../build/debug/common/libCommon.a
    [ 3%] Built target Common
    [ 3%] Building CXX object
    be/src/codegen/CMakeFiles/CodeGen.dir/subexpr-elimination.cc.o
    In file included from impala-ir.cc:21:
    In file included from
    /opt/hadoop/impala/be/src/exec/aggregation-node-ir.cc:15:
    In file included from /opt/hadoop/impala/be/src/exec/aggregation-node.h:19:
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/functional:48:10:In
    file included from impala-ir.cc fatal error:
           'bits/c++config.h' file not: found
    21:
    #include <bits/c++config.h>In file included from
              ^/opt/hadoop/impala/be/src/exec/aggregation-node-ir.cc
    :15:
    In file included from /opt/hadoop/impala/be/src/exec/aggregation-node.h:19:
    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/functional:48:10:
    fatal error:
           'bits/c++config.h' file not found
    #include <bits/c++config.h>
              ^
    1 error generated.
    1 error generated.
    make[2]: *** [llvm-ir/impala-sse.ll] Error 1
    make[1]: *** [be/src/codegen/CMakeFiles/compile_to_ir_sse.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make[2]: *** [llvm-ir/impala-no-sse.ll] Error 1
    make[1]: *** [be/src/codegen/CMakeFiles/compile_to_ir_no_sse.dir/all] Error
    2
    Linking CXX static library ../../build/debug/codegen/libCodeGen.a
    [ 3%] Built target CodeGen
    make: *** [all] Error 2

    Do you have any suggestions on how to solve this one?
    On Saturday, 18 May 2013 16:19:25 UTC+1, Matteo Bertozzi wrote:

    this is a compilation failure in gperftools (one of the dependencies) due
    to glibc-2.16+
    https://code.google.com/p/gperftools/issues/detail?id=485

    if you want a quick fix you can edit src/base/linuxthreads.cc at line 196
    changing
    from: static void SignalHandler(int signum, siginfo_t *si, void *data) {
    to: static void SignalHandler(int signum, siginfo *si, void *data) {


    On Sat, May 18, 2013 at 12:06 AM, Diddy <diethard...@gmail.com<javascript:>
    wrote:
    Anyone?

    On Wednesday, 15 May 2013 15:39:47 UTC+1, Diddy wrote:

    Hi,

    When building Impala on Ubuntu 13.04 I get the following error:

    src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
    src/base/linuxthreads.cc:312:**24: error: invalid conversion from ‘void
    (*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’
    [-fpermissive]
    make: *** [libtcmalloc_la-linuxthreads.**lo] Error 1

    Can someone please tell me how to solve this?

    Thanks,
    Diddy
  • Diddy at May 22, 2013 at 7:53 pm
    Anyone?
    On Wednesday, 15 May 2013 15:39:47 UTC+1, Diddy wrote:

    Hi,

    When building Impala on Ubuntu 13.04 I get the following error:

    src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
    src/base/linuxthreads.cc:312:24: error: invalid conversion from ‘void
    (*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’
    [-fpermissive]
    make: *** [libtcmalloc_la-linuxthreads.lo] Error 1

    Can someone please tell me how to solve this?

    Thanks,
    Diddy

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupimpala-user @
categorieshadoop
postedMay 15, '13 at 2:39p
activeMay 22, '13 at 7:53p
posts5
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Diddy: 4 posts Matteo Bertozzi: 1 post

People

Translate

site design / logo © 2022 Grokbase