Skip to content

Instantly share code, notes, and snippets.

@glajchs
Created October 29, 2017 18:58
Show Gist options
  • Select an option

  • Save glajchs/cb3b34bf565488493bdd8c508795bd64 to your computer and use it in GitHub Desktop.

Select an option

Save glajchs/cb3b34bf565488493bdd8c508795bd64 to your computer and use it in GitHub Desktop.
make fail slack-purple
make
Makefile:74: Makefile.dep: No such file or directory
pkg-config --modversion purple json-parser
2.10.12
1.1
gcc -MM -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include slack.c slack-message.c slack-channel.c slack-im.c slack-user.c slack-rtm.c slack-blist.c slack-api.c slack-object.c slack-json.c purple-websocket.c > Makefile.dep
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack.o slack.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-message.o slack-message.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-channel.o slack-channel.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-im.o slack-im.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-user.o slack-user.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-rtm.o slack-rtm.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-blist.o slack-blist.c
gcc -c -g -O2 -Wall -Werror -fPIC -D_DEFAULT_SOURCE=1 -std=c99 -I/usr/local/include/json-parser -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -o slack-api.o slack-api.c
slack-api.c: In function ‘slack_api_call’:
slack-api.c:75:16: error: implicit declaration of function ‘purple_util_fetch_url_request_data_len_with_account’ [-Werror=implicit-function-declaration]
call->fetch = purple_util_fetch_url_request_data_len_with_account(sa->account,
^
slack-api.c:75:14: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
call->fetch = purple_util_fetch_url_request_data_len_with_account(sa->account,
^
cc1: all warnings being treated as errors
Makefile:43: recipe for target 'slack-api.o' failed
make: *** [slack-api.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment