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

r2tox install error don't know how to fix it #160

Open
mytts opened this issue May 29, 2018 · 0 comments
Open

r2tox install error don't know how to fix it #160

mytts opened this issue May 29, 2018 · 0 comments

Comments

@mytts
Copy link

mytts commented May 29, 2018

remote: Counting objects: 50, done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 50 (delta 31), reused 37 (delta 25), pack-reused 0
展开对象中: 100% (50/50), 完成.
来自 https://github.com/radare/radare2-extras
1e04d8b..d2137ab master -> origin/master

  • [新标签] 2.6.0 -> 2.6.0
    更新 1e04d8b..d2137ab
    Fast-forward
    configure | 10 +-
    configure.acr | 2 +-
    keystone/configure | 4 +-
    libr/Makefile | 10 ++
    libr/anal/Makefile | 4 +
    libr/anal/p/Makefile | 1 +
    libr/anal/p/anal_atombios.c | 952 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    libr/anal/p/atombios.mk | 10 ++
    libr/asm/Makefile | 5 +
    libr/asm/arch/atombios/atombios.c | 586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    libr/asm/arch/atombios/atombios.h | 94 +++++++++++
    libr/asm/p/Makefile | 1 +
    libr/asm/p/asm_atombios.c | 37 +++++
    libr/asm/p/atombios.mk | 9 +
    libr/bin/Makefile | 3 +
    libr/bin/p/Makefile | 1 +
    libr/bin/p/atombios.mk | 14 ++
    libr/bin/p/bin_atombios.c | 171 +++++++++++++++++++
    libr/plugs.mk | 2 +-
    r2k/linux/r2k.c | 3 +-
    r2k/linux/r2k.h | 1 +
    ssdeep/ssdeep-plugin/configure | 4 +-
    yara/yara/configure | 4 +-
    23 files changed, 1914 insertions(+), 14 deletions(-)
    create mode 100644 libr/anal/p/anal_atombios.c
    create mode 100644 libr/anal/p/atombios.mk
    create mode 100644 libr/asm/arch/atombios/atombios.c
    create mode 100644 libr/asm/arch/atombios/atombios.h
    create mode 100644 libr/asm/p/asm_atombios.c
    create mode 100644 libr/asm/p/atombios.mk
    create mode 100644 libr/bin/p/atombios.mk
    create mode 100644 libr/bin/p/bin_atombios.c
    Install Done For r2tox
    make: Entering directory '/root/.local/share/radare2/r2pm/git/radare2-extras/r2tox'
    cc -o client -g -I c-toxcore client.c c-toxcore/libtoxcore.a -lsodium
    client.c: In function ‘addfriend’:
    client.c:35:70: warning: passing argument 6 of ‘tox_friend_send_message’ from incompatible pointer type [-Wincompatible-pointer-types]
    tox_friend_send_message(t, child, TOX_MESSAGE_TYPE_NORMAL, "hi", 2, &err);
    ^
    In file included from client.c:2:0:
    c-toxcore/toxcore/tox.h:1731:10: note: expected ‘TOX_ERR_FRIEND_SEND_MESSAGE * {aka enum TOX_ERR_FRIEND_SEND_MESSAGE *}’ but argument is of type ‘TOX_ERR_FRIEND_ADD * {aka enum TOX_ERR_FRIEND_ADD *}’
    uint32_t tox_friend_send_message(Tox *tox, uint32_t friend_number, TOX_MESSAGE_TYPE type, const uint8_t message,
    ^~~~~~~~~~~~~~~~~~~~~~~
    client.c: In function ‘print_tox_my_address’:
    client.c:68:21: warning: passing argument 1 of ‘print_tox_address’ from incompatible pointer type [-Wincompatible-pointer-types]
    print_tox_address (&self);
    ^
    client.c:57:13: note: expected ‘uint8_t * {aka unsigned char }’ but argument is of type ‘uint8_t ()[38] {aka unsigned char (
    )[38]}’
    static void print_tox_address(uint8_t *self) {
    ^~~~~~~~~~~~~~~~~
    client.c: In function ‘main’:
    client.c:160:29: warning: implicit declaration of function ‘calloc’ [-Wimplicit-function-declaration]
    uint8_t *buf = (uint8_t *)calloc (sz, 1);
    ^~~~~~
    client.c:160:29: warning: incompatible implicit declaration of built-in function ‘calloc’
    client.c:160:29: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’
    client.c:172:34: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
    tox_self_set_name (t, username, strlen(username), NULL);
    ^~~~~~
    client.c:172:34: warning: incompatible implicit declaration of built-in function ‘strlen’
    client.c:172:34: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    client.c:188:3: warning: implicit declaration of function ‘sodium_hex2bin’ [-Wimplicit-function-declaration]
    sodium_hex2bin(nodes[i].key_bin, sizeof(nodes[i].key_bin),
    ^~~~~~~~~~~~~~
    client.c:200:3: warning: implicit declaration of function ‘usleep’; did you mean ‘fseek’? [-Wimplicit-function-declaration]
    usleep (1000 * tox_iteration_interval (t));
    ^~~~~~
    fseek
    /usr/bin/ld: c-toxcore/libtoxcore.a(util.c.o): undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libpthread.so.0: 无法添加符号: DSO missing from command line
    collect2: error: ld returned 1 exit status
    Makefile:13: recipe for target 'client' failed
    make: *** [client] Error 1
    make: Leaving directory '/root/.local/share/radare2/r2pm/git/radare2-extras/r2tox'

uname -a
Linux kali64 4.15.0-kali3-amd64 #1 SMP Debian 4.15.17-1kali1 (2018-04-25) x86_64 GNU/Linux

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