cc -Wall -I. -g -pipe -fPIC -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I./headers/jabber src/hfu_disco.c src/hfu_util.c src/jabber_http_file_upload.c -o jabber_http_file_upload.so -g -pipe -fPIC -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I./headers/jabber -lgio-2.0 -lgobject-2.0 -lpurple -lglib-2.0 -lxml2 -L/usr/lib/purple-2 -ldl -lm -ljabber -shared
src/jabber_http_file_upload.c: In function ‘jabber_hfu_http_send_connect_cb’:
src/jabber_http_file_upload.c:82:31: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat=]
headers = g_strdup_printf("PUT /%s HTTP/1.0\r\n"
^
src/jabber_http_file_upload.c: In function ‘jabber_hfu_send_request’:
src/jabber_http_file_upload.c:210:32: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat=]
filesize = g_strdup_printf("%lu", purple_xfer_get_size(xfer));
^
In file included from src/jabber_http_file_upload.c:7:0:
src/jabber_http_file_upload.c: In function ‘jabber_hfu_xfer_init’:
src/jabber_http_file_upload.c:339:40: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘gsize {aka unsigned int}’ [-Wformat=]
gchar *msg = g_strdup_printf(_("HTTP File Upload maximum file size is %lu bytes"), js_data->max_file_size);
^
/usr/include/glib-2.0/glib/gi18n.h:26:29: note: in definition of macro ‘_’
#define _(String) gettext (String)
^
mkdir -m 0755 -p /usr/lib/purple-2
install -m 0644 jabber_http_file_upload.so /usr/lib/purple-2/jabber_http_file_upload.so