Skip to content

Instantly share code, notes, and snippets.

@hasufell
Created September 10, 2013 23:01
Show Gist options
  • Save hasufell/46aa2b38052955452a86 to your computer and use it in GitHub Desktop.
Save hasufell/46aa2b38052955452a86 to your computer and use it in GitHub Desktop.
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/bin/install -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
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NCURSES... yes
checking for LIBTOXCORE... yes
checking for git... /usr/bin/git
checking that generated files are newer than configure... done
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
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-im/toxic-9999/work/toxic-9999 ...
make -j8
make all-recursive
make[1]: Entering directory `/var/tmp/portage/net-im/toxic-9999/work/toxic-9999'
Making all in build
make[2]: Entering directory `/var/tmp/portage/net-im/toxic-9999/work/toxic-9999/build'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-main.o `test -f '../src/main.c' || echo './'`../src/main.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-chat.o `test -f '../src/chat.c' || echo './'`../src/chat.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-configdir.o `test -f '../src/configdir.c' || echo './'`../src/configdir.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-prompt.o `test -f '../src/prompt.c' || echo './'`../src/prompt.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-friendlist.o `test -f '../src/friendlist.c' || echo './'`../src/friendlist.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. '-DTOXICVER="0.2.0_r332"' -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -c -o toxic-windows.o `test -f '../src/windows.c' || echo './'`../src/windows.c
../src/chat.c: In function ‘chat_onStatusMessageChange’:
../src/chat.c:124:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->statusmsg, sizeof(statusbar->statusmsg), "%s", st
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/chat.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/chat.c: In function ‘chat_onKey’:
../src/chat.c:218:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (close_win = !strncmp(line, "/close", strlen("/close"))) {
^
../src/windows.c: In function ‘on_connectionchange’:
../src/windows.c:37:9: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(nick, sizeof(nick), "%s", UNKNOWN_NAME);
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/windows.c:5:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/chat.c: In function ‘execute’:
../src/chat.c:354:9: warning: implicit declaration of function ‘prompt_update_status’ [-Wimplicit-function-declaration]
prompt_update_status(self->prompt, status_kind);
^
../src/chat.c:359:13: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_set_statusmessage(m, msg, strlen(msg) + 1);
^
In file included from ../src/chat.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/chat.c:360:13: warning: implicit declaration of function ‘prompt_update_statusmessage’ [-Wimplicit-function-declaration]
prompt_update_statusmessage(self->prompt, msg);
^
../src/chat.c:368:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_set_statusmessage(m, msg, strlen(msg) + 1);
^
In file included from ../src/chat.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/chat.c:382:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_setname(m, nick, strlen(nick) + 1);
^
In file included from ../src/chat.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/chat.c:383:9: warning: implicit declaration of function ‘prompt_update_nick’ [-Wimplicit-function-declaration]
prompt_update_nick(self->prompt, nick);
^
../src/chat.c: In function ‘chat_onDraw’:
../src/chat.c:425:9: warning: enumeration value ‘TOX_USERSTATUS_INVALID’ not handled in switch [-Wswitch]
switch(status) {
^
../src/prompt.c: In function ‘prompt_update_nick’:
../src/prompt.c:63:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->nick, sizeof(statusbar->nick), "%s", nick);
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/prompt.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/prompt.c: In function ‘prompt_update_statusmessage’:
../src/prompt.c:70:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->statusmsg, sizeof(statusbar->statusmsg), "%s", st
^
../src/chat.c:410:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x, y;
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/prompt.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/chat.c: In function ‘chat_onInit’:
../src/chat.c:478:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->statusmsg, sizeof(statusbar->statusmsg), "%s", st
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/chat.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/prompt.c: In function ‘cmd_add’:
../src/prompt.c:176:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = argv[2];
^
../src/prompt.c:188:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
msg[strlen(++msg)-1] = L'\0';
^
../src/friendlist.c: In function ‘friendlist_onDraw’:
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/friendlist.c:203:17: warning: enumeration value ‘TOX_USERSTATUS_INVALID’ not handled in switch [-Wswitch]
switch(status) {
^
../src/prompt.c:188:20: warning: operation on ‘msg’ may be undefined [-Wsequence-point]
msg[strlen(++msg)-1] = L'\0';
^
../src/prompt.c:191:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = "Let's tox.";
^
../src/prompt.c:215:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
num = tox_addfriend(m, id_bin, msg, strlen(msg) + 1);
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c: In function ‘cmd_connect’:
../src/prompt.c:282:5: warning: implicit declaration of function ‘htons’ [-Wimplicit-function-declaration]
dht.port = htons(atoi(port));
^
../src/prompt.c:283:5: warning: implicit declaration of function ‘resolve_addr’ [-Wimplicit-function-declaration]
uint32_t resolved_address = resolve_addr(ip);
^
../src/prompt.c: In function ‘cmd_msg’:
../src/prompt.c:339:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
uint8_t *msg = argv[2];
^
../src/prompt.c:346:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
msg[strlen(++msg)-1] = L'\0';
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c:346:16: warning: operation on ‘msg’ may be undefined [-Wsequence-point]
msg[strlen(++msg)-1] = L'\0';
^
../src/prompt.c:348:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (tox_sendmessage(m, atoi(id), msg, strlen(msg) + 1) == 0)
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/main.c: In function ‘do_tox’:
../src/main.c:242:9: warning: implicit declaration of function ‘prompt_update_connectionstatus’ [-Wimplicit-function-declaration]
prompt_update_connectionstatus(prompt, dht_on);
^
../src/prompt.c: In function ‘cmd_nick’:
../src/prompt.c:379:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
uint8_t *nick = argv[1];
^
../src/prompt.c:387:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
nick[strlen(++nick)-1] = L'\0';
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c:387:21: warning: operation on ‘nick’ may be undefined [-Wsequence-point]
nick[strlen(++nick)-1] = L'\0';
^
../src/prompt.c:389:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_setname(m, nick, strlen(nick) + 1);
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c: In function ‘cmd_status’:
../src/prompt.c:406:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg = argv[2];
^
../src/prompt.c:444:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
msg[strlen(++msg)-1] = L'\0'; /* remove opening and closing quo
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c:444:20: warning: operation on ‘msg’ may be undefined [-Wsequence-point]
msg[strlen(++msg)-1] = L'\0'; /* remove opening and closing quo
^
../src/prompt.c:445:9: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_set_statusmessage(m, msg, strlen(msg) + 1);
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c: In function ‘cmd_note’:
../src/prompt.c:457:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
uint8_t *msg = argv[1];
^
../src/prompt.c:469:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
msg[strlen(++msg)-1] = L'\0';
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c:469:16: warning: operation on ‘msg’ may be undefined [-Wsequence-point]
msg[strlen(++msg)-1] = L'\0';
^
../src/prompt.c:471:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
tox_set_statusmessage(m, msg, strlen(msg) + 1);
^
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c: In function ‘prompt_onDraw’:
../src/prompt.c:613:9: warning: enumeration value ‘TOX_USERSTATUS_INVALID’ not handled in switch [-Wswitch]
switch(statusbar->status) {
^
../src/prompt.c:596:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int x, y;
^
../src/prompt.c: In function ‘prompt_init_statusbar’:
../src/prompt.c:676:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->nick, sizeof(statusbar->nick), "%s", nick);
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/prompt.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/prompt.c:679:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
uint8_t *statusmsg = "Toxing on Toxic v0.2.0";
^
../src/prompt.c:680:5: warning: implicit declaration of function ‘m_set_statusmessage’ [-Wimplicit-function-declaration]
m_set_statusmessage(m, statusmsg, strlen(statusmsg) + 1);
^
../src/prompt.c:680:5: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
In file included from ../src/prompt.c:10:0:
/usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘uint8_t *’
extern size_t strlen (__const char *__s)
^
../src/prompt.c:681:5: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness [-Wpointer-sign]
snprintf(statusbar->statusmsg, sizeof(statusbar->statusmsg), "%s", st
^
In file included from /usr/include/features.h:358:0,
from /usr/include/stdlib.h:25,
from ../src/prompt.c:9:
/usr/include/bits/stdio2.h:62:1: note: expected ‘char * __restrict__’ but argument is of type ‘uint8_t *’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
../src/prompt.c:665:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int x, y;
^
../src/prompt.c: In function ‘cmd_status’:
../src/prompt.c:77:23: warning: ‘status_kind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
statusbar->status = status;
^
../src/prompt.c:426:20: note: ‘status_kind’ was declared here
TOX_USERSTATUS status_kind;
^
x86_64-pc-linux-gnu-gcc -I.. -I/usr/include/ncursesw -march=core-avx2 -O2 -pipe -Wall -g -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o toxic toxic-main.o toxic-chat.o toxic-configdir.o toxic-prompt.o toxic-friendlist.o toxic-windows.o -lncursesw -ltoxcore
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libtoxcore.so: undefined reference to `crypto_box_curve25519xsalsa20poly1305_ref_open_afternm'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libtoxcore.so: undefined reference to `crypto_box_curve25519xsalsa20poly1305_ref_afternm'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libtoxcore.so: undefined reference to `crypto_box_curve25519xsalsa20poly1305_ref_beforenm'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../lib64/libtoxcore.so: undefined reference to `crypto_box_curve25519xsalsa20poly1305_ref_keypair'
collect2: error: ld returned 1 exit status
make[2]: *** [toxic] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-im/toxic-9999/work/toxic-9999/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/toxic-9999/work/toxic-9999'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment