tar -xf ushare-1.1a.tar.bz2 Checking for compiler available... Checking for locales ... Checking for ifaddrs ... Checking for langinfo ... Checking for iconv ... Checking for libixml ... Checking for libthreadutil ... Checking for libupnp >= 1.4.2 ... uShare: configure is OK version 1.1a using libupnp 1.6.17 configuration: install prefix /usr configuration dir /etc locales dir ${PREFIX}/share/locale NLS support yes DLNA support no C compiler gcc STRIP strip make make CPU armv4l () debug symbols no strip symbols yes optimize yes CFLAGS -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp LDFLAGS extralibs -lixml -lthreadutil -lpthread -lupnp -pthread Creating config.mak ... Creating config.h ... for subdir in po scripts src ; do \ make -C $subdir all; \ done make[1]: Entering directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/po' make fr.gmo de.gmo make[2]: Entering directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/po' make[2]: `fr.gmo' is up to date. make[2]: `de.gmo' is up to date. make[2]: Leaving directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/po' touch stamp-po make[1]: Leaving directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/po' make[1]: Entering directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/scripts' make[1]: Entering directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/src' gcc -I.. -MM -O2 -march=armv5te cds.c cms.c msr.c http.c presentation.c metadata.c mime.c services.c buffer.c util_iconv.c content.c cfgparser.c trace.c redblack.c osdep.c ctrl_telnet.c ushare.c 1>.depend gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o cds.o cds.c cds.c: In function 'filter_has_val': cds.c:182:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cds.c:182:13: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] cds.c:185:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] cds.c:188:3: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] cds.c:188:7: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] cds.c:195:7: warning: implicit declaration of function 'strtok_r' [-Wimplicit-function-declaration] cds.c:195:13: warning: assignment makes pointer from integer without a cast [enabled by default] cds.c:199:11: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] cds.c:199:19: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] cds.c:200:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] cds.c:205:15: warning: assignment makes pointer from integer without a cast [enabled by default] cds.c: In function 'cds_browse_directchildren': cds.c:470:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] cds.c:470:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] cds.c: In function 'cds_browse': cds.c:483:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] cds.c: In function 'matches_search': cds.c:589:17: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] cds.c:591:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] cds.c:591:5: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] cds.c:593:20: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] cds.c:602:5: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] cds.c:604:20: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] cds.c:613:5: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] cds.c:615:20: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] cds.c:624:3: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] cds.c:624:33: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default] cds.c: In function 'cds_search_directchildren': cds.c:790:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] cds.c: In function 'cds_search': cds.c:803:43: warning: variable 'sort_criteria' set but not used [-Wunused-but-set-variable] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o cms.o cms.c cms.c: In function 'cms_get_protocol_info': cms.c:100:5: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cms.c:100:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] cms.c:114:11: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] cms.c:115:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] cms.c:115:5: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] cms.c:120:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] cms.c:120:7: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o msr.o msr.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o http.o http.c http.c: In function 'http_get_info': http.c:95:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] http.c:97:5: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] http.c:97:26: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] http.c:103:26: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] http.c:109:26: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] http.c:122:3: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] http.c:122:63: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] http.c:131:3: warning: implicit declaration of function 'strrchr' [-Wimplicit-function-declaration] http.c:131:19: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] http.c:168:5: warning: implicit declaration of function 'strndup' [-Wimplicit-function-declaration] http.c:168:5: warning: incompatible implicit declaration of built-in function 'strndup' [enabled by default] http.c: In function 'get_file_memory': http.c:191:3: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] http.c:191:20: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] http.c: In function 'http_open': http.c:217:60: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] http.c:230:19: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] http.c:245:20: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] http.c: In function 'http_read': http.c:274:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] http.c:274:5: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] http.c: In function 'http_seek': http.c:331:9: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] http.c:331:9: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat] http.c:348:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat] http.c:356:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat] http.c:363:7: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o presentation.o presentation.c presentation.c: In function 'process_cgi': presentation.c:51:3: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] presentation.c:51:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] presentation.c:51:37: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] presentation.c:74:5: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] presentation.c:74:14: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] presentation.c:79:7: warning: implicit declaration of function 'strtok_r' [-Wimplicit-function-declaration] presentation.c:79:18: warning: assignment makes pointer from integer without a cast [enabled by default] presentation.c:80:18: warning: assignment makes pointer from integer without a cast [enabled by default] presentation.c:82:9: warning: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] presentation.c:82:13: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o metadata.o metadata.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o mime.o mime.c mime.c: In function 'mime_get_protocol': mime.c:147:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] mime.c:147:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o services.o services.c services.c: In function 'find_service_action': services.c:76:5: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] services.c: In function 'upnp_add_response': services.c:102:3: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] services.c:102:9: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] services.c: In function 'upnp_get_string': services.c:148:16: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o buffer.o buffer.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o util_iconv.o util_iconv.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o content.o content.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o cfgparser.o cfgparser.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o trace.o trace.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o redblack.o redblack.c redblack.c: In function 'rbinit': redblack.c:143:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o osdep.o osdep.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o ctrl_telnet.o ctrl_telnet.c gcc -c -O2 -march=armv5te -O2 -march=armv5te -I.. -W -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -O3 -DHAVE_LOCALE_H -DHAVE_SETLOCALE -DHAVE_IFADDRS_H -DHAVE_LANGINFO_H -DHAVE_LANGINFO_CODESET -DHAVE_ICONV -pthread -I/usr/include/upnp -o ushare.o ushare.c ushare.c: In function 'handle_action_request': ushare.c:191:29: error: 'struct sockaddr_storage' has no member named 's_addr' make[1]: *** [ushare.o] Error 1 make[1]: Leaving directory `/srv/builds/salix/ap/ushare/src/ushare-1.1a/src' make: *** [all] Error 2 build() failed.