Skip to content

Instantly share code, notes, and snippets.

@waghanza
Created November 6, 2019 15:44
Show Gist options
  • Save waghanza/bedc4fb00ab91574fb91b53958214ba5 to your computer and use it in GitHub Desktop.
Save waghanza/bedc4fb00ab91574fb91b53958214ba5 to your computer and use it in GitHub Desktop.
current directory: /usr/local/bundle/gems/agoo-2.11.3/ext/agoo
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20191106-6-17efabn.rb extconf.rb
checking for stdatomic.h... yes
checking for openssl/ssl.h... no
checking for -lssl... no
creating Makefile
>>>>> Created Makefile for ruby version 2.6.5 on x86_64-linux-musl <<<<<
current directory: /usr/local/bundle/gems/agoo-2.11.3/ext/agoo
make "DESTDIR=" clean
current directory: /usr/local/bundle/gems/agoo-2.11.3/ext/agoo
make "DESTDIR="
compiling agoo.c
compiling base64.c
compiling bind.c
In file included from bind.c:13:
bind.c: In function 'agoo_bind_port':
debug.h:39:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
#define AGOO_STRDUP(str) strdup(str)
^~~~~~
bind.c:27:23: note: in expansion of macro 'AGOO_STRDUP'
if (NULL == (b->id = AGOO_STRDUP(id))) {
^~~~~~~~~~~
bind.c:27:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->id = AGOO_STRDUP(id))) {
^
bind.c: In function 'url_tcp':
bind.c:42:20: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration]
char *colon = index(url, ':');
^~~~~
bind.c:42:20: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
bind.c:72:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->id = AGOO_STRDUP(id))) {
^
bind.c: In function 'url_tcp6':
bind.c:92:18: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
char *end = index(url, ']');
^~~~~
bind.c:114:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->id = AGOO_STRDUP(buf))) {
^
bind.c: In function 'url_named':
bind.c:143:27: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->name = AGOO_STRDUP(url))) {
^
bind.c:149:25: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->id = AGOO_STRDUP(id))) {
^
bind.c: In function 'url_ssl':
bind.c:168:20: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
char *colon = index(url, ':');
^~~~~
bind.c:207:21: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (b->id = AGOO_STRDUP(id))) {
^
bind.c: In function 'agoo_bind_url':
bind.c:249:16: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
char *colon = index(url, ':');
^~~~~
bind.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
compiling con.c
con.c: In function 'should_close':
con.c:224:28: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
return (5 == vlen && 0 == strncasecmp("Close", v, 5));
^~~~~~~~~~~
strncmp
con.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
compiling debug.c
compiling doc.c
compiling domain.c
In file included from domain.c:7:
domain.c: In function 'agoo_domain_add':
debug.h:39:26: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration]
#define AGOO_STRDUP(str) strdup(str)
^~~~~~
domain.c:33:28: note: in expansion of macro 'AGOO_STRDUP'
if (NULL == (d->host = AGOO_STRDUP(host))) {
^~~~~~~~~~~
domain.c:33:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (d->host = AGOO_STRDUP(host))) {
^
domain.c:36:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (d->path = AGOO_STRDUP(path))) {
^
domain.c: In function 'agoo_domain_add_regex':
domain.c:61:26: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
if (NULL == (d->path = AGOO_STRDUP(path))) {
^
domain.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
compiling dtime.c
dtime.c: In function 'dtime':
dtime.c:18:5: warning: implicit declaration of function 'clock_gettime'; did you mean 'localtime'? [-Wimplicit-function-declaration]
clock_gettime(CLOCK_REALTIME_COURSE, &ts);
^~~~~~~~~~~~~
localtime
dtime.c:11:31: error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean 'CLOCK_REALTIME_COURSE'?
#define CLOCK_REALTIME_COURSE CLOCK_REALTIME
^~~~~~~~~~~~~~
dtime.c:18:19: note: in expansion of macro 'CLOCK_REALTIME_COURSE'
clock_gettime(CLOCK_REALTIME_COURSE, &ts);
^~~~~~~~~~~~~~~~~~~~~
dtime.c:11:31: note: each undeclared identifier is reported only once for each function it appears in
#define CLOCK_REALTIME_COURSE CLOCK_REALTIME
^~~~~~~~~~~~~~
dtime.c:18:19: note: in expansion of macro 'CLOCK_REALTIME_COURSE'
clock_gettime(CLOCK_REALTIME_COURSE, &ts);
^~~~~~~~~~~~~~~~~~~~~
dtime.c: In function 'dsleep':
dtime.c:32:9: warning: implicit declaration of function 'nanosleep'; did you mean 'dsleep'? [-Wimplicit-function-declaration]
if (nanosleep(&req, &rem) == -1 && EINTR == errno) {
^~~~~~~~~
dsleep
dtime.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
make: *** [Makefile:245: dtime.o] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment