Skip to content

Instantly share code, notes, and snippets.

@lordastley
Created October 22, 2015 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lordastley/4a01abdc83abe22a26ba to your computer and use it in GitHub Desktop.
Save lordastley/4a01abdc83abe22a26ba to your computer and use it in GitHub Desktop.
rm -f src/gitversion.h.in
echo "#ifndef PROF_GIT_BRANCH" >> src/gitversion.h.in
echo "#define PROF_GIT_BRANCH \"master\"" >> src/gitversion.h.in
echo "#endif" >> src/gitversion.h.in
echo "#ifndef PROF_GIT_REVISION" >> src/gitversion.h.in
echo "#define PROF_GIT_REVISION \"4966162\"" >> src/gitversion.h.in
echo "#endif" >> src/gitversion.h.in
cp src/gitversion.h.in src/gitversion.h
make all-am
make[1]: Entering directory '/home/orz/sauce/zzz_not_dev/profanity'
depbase=`echo src/contact.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/contact.o -MD -MP -MF $depbase.Tpo -c -o src/contact.o src/contact.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/log.o -MD -MP -MF $depbase.Tpo -c -o src/log.o src/log.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/common.o -MD -MP -MF $depbase.Tpo -c -o src/common.o src/common.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/profanity.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/profanity.o -MD -MP -MF $depbase.Tpo -c -o src/profanity.o src/profanity.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/chat_session.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/chat_session.o -MD -MP -MF $depbase.Tpo -c -o src/chat_session.o src/chat_session.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/muc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/muc.o -MD -MP -MF $depbase.Tpo -c -o src/muc.o src/muc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/jid.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/jid.o -MD -MP -MF $depbase.Tpo -c -o src/jid.o src/jid.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/chat_state.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/chat_state.o -MD -MP -MF $depbase.Tpo -c -o src/chat_state.o src/chat_state.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/resource.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/resource.o -MD -MP -MF $depbase.Tpo -c -o src/resource.o src/resource.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/roster_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/roster_list.o -MD -MP -MF $depbase.Tpo -c -o src/roster_list.o src/roster_list.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/xmpp/capabilities.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/xmpp/capabilities.o -MD -MP -MF $depbase.Tpo -c -o src/xmpp/capabilities.o src/xmpp/capabilities.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/xmpp/connection.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./src -D_GNU_SOURCE -I/usr/include/ncursesw -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DTHEMES_PATH="\"/usr/local/share/profanity/themes\"" -Wall -Wno-deprecated-declarations -Wunused -Werror -g -O2 -MT src/xmpp/connection.o -MD -MP -MF $depbase.Tpo -c -o src/xmpp/connection.o src/xmpp/connection.c &&\
mv -f $depbase.Tpo $depbase.Po
src/xmpp/connection.c: In function ‘jabber_create_uuid’:
src/xmpp/connection.c:325:12: error: implicit declaration of function ‘xmpp_uuid_gen’ [-Werror=implicit-function-declaration]
return xmpp_uuid_gen(jabber_conn.ctx);
^
src/xmpp/connection.c:325:12: error: return makes pointer from integer without a cast [-Werror=int-conversion]
src/xmpp/connection.c: In function ‘_jabber_connect’:
src/xmpp/connection.c:445:9: error: implicit declaration of function ‘xmpp_conn_set_flags’ [-Werror=implicit-function-declaration]
xmpp_conn_set_flags(jabber_conn.conn, XMPP_CONN_FLAG_MANDATORY_TLS);
^
src/xmpp/connection.c:445:47: error: ‘XMPP_CONN_FLAG_MANDATORY_TLS’ undeclared (first use in this function)
xmpp_conn_set_flags(jabber_conn.conn, XMPP_CONN_FLAG_MANDATORY_TLS);
^
src/xmpp/connection.c:445:47: note: each undeclared identifier is reported only once for each function it appears in
src/xmpp/connection.c:447:47: error: ‘XMPP_CONN_FLAG_DISABLE_TLS’ undeclared (first use in this function)
xmpp_conn_set_flags(jabber_conn.conn, XMPP_CONN_FLAG_DISABLE_TLS);
^
src/xmpp/connection.c: In function ‘_connection_handler’:
src/xmpp/connection.c:500:23: error: implicit declaration of function ‘xmpp_conn_is_secured’ [-Werror=implicit-function-declaration]
int secured = xmpp_conn_is_secured(jabber_conn.conn);
^
cc1: all warnings being treated as errors
Makefile:1561: recipe for target 'src/xmpp/connection.o' failed
make[1]: *** [src/xmpp/connection.o] Error 1
make[1]: Leaving directory '/home/orz/sauce/zzz_not_dev/profanity'
Makefile:924: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment