.
.
.
toxic-0.3.0.1/src/windows.c
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:9: run info '(automake)Extending aclocal'
/usr/share/aclocal/imlib.m4:9: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.ac:94: installing configure_aux/compile' configure.ac:80: installing
configure_aux/config.guess'
configure.ac:80: installing configure_aux/config.sub' configure.ac:9: installing
configure_aux/install-sh'
configure.ac:9: installing configure_aux/missing' build/Makefile.am: installing
configure_aux/depcomp'
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: Will search for libtoxcore header files in /usr/include/tox
configure: Will search for libtoxcore libraries in /usr/lib64
configure: Will search for libsodium header files in /usr/include/sodium
configure: Will search for libsodium libraries in /usr/lib64
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for stdbool.h that conforms to C99... yes
checking for Bool... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for iswprint... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strchr... yes
checking for strdup... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NCURSES... yes
checking for LIBTOXCORE... yes
checking for OPENAL... yes
checking for LIBTOXAV... yes
checking tox/toxav.h usability... yes
checking tox/toxav.h presence... yes
checking for tox/toxav.h... yes
configure: Building with audio support
checking for git... /usr/bin/git
configure: creating ./config.status
config.status: creating Makefile
config.status: creating misc/Makefile
config.status: creating build/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory /tmp/SBo/toxic-0.3.0.1' Making all in build make[2]: Entering directory
/tmp/SBo/toxic-0.3.0.1/build'
CC toxic-main.o
../src/main.c: In function ‘init_tox’:
../src/main.c:141:5: warning: passing argument 2 of ‘tox_callback_typing_change’ from incompatible pointer type [enabled by default]
tox_callback_typing_change(m, on_typing_change, NULL);
^
In file included from ../src/main.c:54:0:
/usr/include/tox/tox.h:350:6: note: expected ‘void ()(struct Tox *, int32_t, uint8_t, void *)’ but argument is of type ‘void (_)(struct Tox _, int, int, void *)’
void tox_callback_typing_change(Tox *tox, void (_function)(Tox tox, int32_t, uint8_t, void *), void *userdata);
^
../src/main.c:142:5: warning: passing argument 2 of ‘tox_callback_friend_request’ from incompatible pointer type [enabled by default]
tox_callback_friend_request(m, on_request, NULL);
^
In file included from ../src/main.c:54:0:
/usr/include/tox/tox.h:313:6: note: expected ‘void ()(struct Tox , uint8_t *, uint8_t *, uint16_t, void *)’ but argument is of type ‘void ()(uint8_t _, uint8_t *, uint16_t, void *)’
void tox_callback_friend_request(Tox *tox, void (_function)(Tox tox, uint8_t *, uint8_t *, uint16_t, void *),
^
../src/main.c:145:5: warning: passing argument 2 of ‘tox_callback_user_status’ from incompatible pointer type [enabled by default]
tox_callback_user_status(m, on_statuschange, NULL);
^
In file included from ../src/main.c:54:0:
/usr/include/tox/tox.h:345:6: note: expected ‘void ()(struct Tox , int32_t, uint8_t, void *)’ but argument is of type ‘void ()(struct Tox _, int, enum TOX_USERSTATUS, void *)’
void tox_callback_user_status(Tox *tox, void (_function)(Tox tox, int32_t, uint8_t, void *), void *userdata);
^
CC toxic-chat.o
../src/chat.c: In function ‘send_action’:
../src/chat.c:465:5: error: too many arguments to function ‘tox_get_self_name’
tox_get_self_name(m, selfname, TOX_MAX_NAME_LENGTH);
^
In file included from ../src/toxic_windows.h:34:0,
from ../src/chat.c:31:
/usr/include/tox/tox.h:219:10: note: declared here
uint16_t tox_get_self_name(Tox *tox, uint8_t *name);
^
../src/chat.c: In function ‘chat_onKey’:
../src/chat.c:649:13: error: too many arguments to function ‘tox_get_self_name’
tox_get_self_name(m, selfname, TOX_MAX_NAME_LENGTH);
^
In file included from ../src/toxic_windows.h:34:0,
from ../src/chat.c:31:
/usr/include/tox/tox.h:219:10: note: declared here
uint16_t tox_get_self_name(Tox *tox, uint8_t *name);
^
make[2]: ** [toxic-chat.o] Error 1
make[2]: Leaving directory /tmp/SBo/toxic-0.3.0.1/build' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/tmp/SBo/toxic-0.3.0.1'
make: *** [all] Error 2