=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Building for mt-daapd-0.2.4.2nb4
/usr/pkg/bin/gmake all-recursive
gmake[1]: Entering directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2'
Making all in src
gmake[2]: Entering directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src'
/usr/pkg/bin/gmake all-am
gmake[3]: Entering directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src'
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
main.c:510:5: warning: implicit declaration of function 'setpgrp' is invalid in C99 [-Wimplicit-function-declaration]
setpgrp(0,0);
^
main.c:679:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) {
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:679:13: note: place parentheses around the assignment to silence this warning
if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) {
^
( )
main.c:679:13: note: use '==' to turn this assignment into an equality comparison
if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) {
^
==
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT uici.o -MD -MP -MF ".deps/uici.Tpo" -c -o uici.o uici.c; \
then mv -f ".deps/uici.Tpo" ".deps/uici.Po"; else rm -f ".deps/uici.Tpo"; exit 1; fi
uici.c:143:56: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
accept(fd, (struct sockaddr *)(&netclient), &len)) == -1) &&
^~~~
/usr/include/sys/socket.h:644:69: note: passing argument to parameter here
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
^
1 warning generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT webserver.o -MD -MP -MF ".deps/webserver.Tpo" -c -o webserver.o webserver.c; \
then mv -f ".deps/webserver.Tpo" ".deps/webserver.Po"; else rm -f ".deps/webserver.Tpo"; exit 1; fi
webserver.c:467:5: warning: implicit declaration of function 'config_set_status' is invalid in C99 [-Wimplicit-function-declaration]
config_set_status(pwsc, 0, NULL);
^
webserver.c:1436:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pin=base64;
^~~~~~~
webserver.c:1483:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
*username = decodebuffer;
^ ~~~~~~~~~~~~
3 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi
configfile.c:821:38: warning: implicit declaration of function 'db_get_song_count' is invalid in C99 [-Wimplicit-function-declaration]
ws_writefd(pwsc,"
%d | \n",db_get_song_count());
^
configfile.c:832:35: warning: implicit declaration of function 'db_version' is invalid in C99 [-Wimplicit-function-declaration]
ws_writefd(pwsc," %d | \n",db_version());
^
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT err.o -MD -MP -MF ".deps/err.Tpo" -c -o err.o err.c; \
then mv -f ".deps/err.Tpo" ".deps/err.Po"; else rm -f ".deps/err.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT restart.o -MD -MP -MF ".deps/restart.Tpo" -c -o restart.o restart.c; \
then mv -f ".deps/restart.Tpo" ".deps/restart.Po"; else rm -f ".deps/restart.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT daap-proto.o -MD -MP -MF ".deps/daap-proto.Tpo" -c -o daap-proto.o daap-proto.c; \
then mv -f ".deps/daap-proto.Tpo" ".deps/daap-proto.Po"; else rm -f ".deps/daap-proto.Tpo"; exit 1; fi
daap-proto.c:107:18: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strm.next_in = gz->in;
^ ~~~~~~
daap-proto.c:109:19: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strm.next_out = gz->out;
^ ~~~~~~~
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT daap.o -MD -MP -MF ".deps/daap.Tpo" -c -o daap.o daap.c; \
then mv -f ".deps/daap.Tpo" ".deps/daap.Po"; else rm -f ".deps/daap.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT db-gdbm.o -MD -MP -MF ".deps/db-gdbm.Tpo" -c -o db-gdbm.o db-gdbm.c; \
then mv -f ".deps/db-gdbm.Tpo" ".deps/db-gdbm.Po"; else rm -f ".deps/db-gdbm.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT mp3-scanner.o -MD -MP -MF ".deps/mp3-scanner.Tpo" -c -o mp3-scanner.o mp3-scanner.c; \
then mv -f ".deps/mp3-scanner.Tpo" ".deps/mp3-scanner.Po"; else rm -f ".deps/mp3-scanner.Tpo"; exit 1; fi
mp3-scanner.c:629:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
atom_offset = aac_drilltoatom(fin, "moov:udta:meta:ilst", &atom_length);
^~~~~~~~~~~~
./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here
extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length);
^
mp3-scanner.c:799:12: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
utf8_text=id3_ucs4_utf8duplicate(native_text);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3-scanner.c:804:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->title = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:808:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->artist = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:812:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->album = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:816:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->composer = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:820:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->grouping = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:824:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->orchestra = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:828:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->conductor = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:832:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->genre = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:856:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->comment = utf8_text;
^ ~~~~~~~~~
mp3-scanner.c:875:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->year = atoi(utf8_text);
^~~~~~~~~
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int atoi(const char *);
^
mp3-scanner.c:878:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->song_length = atoi(utf8_text); /* now in ms */
^~~~~~~~~
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int atoi(const char *);
^
mp3-scanner.c:881:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->bpm = atoi(utf8_text);
^~~~~~~~~
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int atoi(const char *);
^
mp3-scanner.c:884:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->compilation = (char)atoi(utf8_text);
^~~~~~~~~
/usr/include/stdlib.h:101:23: note: passing argument to parameter here
int atoi(const char *);
^
mp3-scanner.c:907:12: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
utf8_text=id3_ucs4_utf8duplicate(native_text);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3-scanner.c:908:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if((utf8_text) && (strncasecmp(utf8_text,"iTun",4) != 0)) {
^~~~~~~~~
/usr/include/strings.h:64:30: note: passing argument to parameter here
int strncasecmp(const char *, const char *, size_t);
^
mp3-scanner.c:917:13: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign]
utf8_text=id3_ucs4_utf8duplicate(native_text);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mp3-scanner.c:919:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pmp3->comment=utf8_text;
^~~~~~~~~~
mp3-scanner.c:1030:68: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
atom_offset = scan_aac_findatom(aac_fp, file_size, atom_name, atom_length);
^~~~~~~~~~~
mp3-scanner.c:575:75: note: passing argument to parameter 'atom_size' here
long scan_aac_findatom(FILE *fin, long max_offset, char *which_atom, int *atom_size) {
^
mp3-scanner.c:1141:56: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
atom_offset = aac_drilltoatom(infile, "moov:mvhd", &atom_length);
^~~~~~~~~~~~
mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here
off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length)
^
mp3-scanner.c:1175:81: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
atom_offset = aac_drilltoatom(infile, "moov:trak:mdia:minf:stbl:stsd:mp4a", &atom_length);
^~~~~~~~~~~~
mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here
off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length)
^
mp3-scanner.c:1212:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
atom_offset=aac_drilltoatom(infile,"mdat",&atom_length);
^~~~~~~~~~~~
mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here
off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length)
^
mp3-scanner.c:1557:16: warning: passing 'unsigned char [3]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if(strncmp(pid3->id,"ID3",3)==0) {
^~~~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
mp3-scanner.c:1613:30: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if(!scan_decode_mp3_frame(frame_buffer,&fi)) {
^~~~~~~~~~~~
mp3-scanner.c:1233:42: note: passing argument to parameter 'frame' here
int scan_decode_mp3_frame(unsigned char *frame, SCAN_FRAMEINFO *pfi) {
^
25 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT playlist.o -MD -MP -MF ".deps/playlist.Tpo" -c -o playlist.o playlist.c; \
then mv -f ".deps/playlist.Tpo" ".deps/playlist.Po"; else rm -f ".deps/playlist.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT lexer.o -MD -MP -MF ".deps/lexer.Tpo" -c -o lexer.o lexer.c; \
then mv -f ".deps/lexer.Tpo" ".deps/lexer.Po"; else rm -f ".deps/lexer.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi
parser.c:1394:16: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration]
yychar = YYLEX;
^
parser.c:750:16: note: expanded from macro 'YYLEX'
# define YYLEX yylex ()
^
parser.y:154:22: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
{ (yyval.ival) = time(NULL) - (yyvsp[(1) - (2)].ival); }
^
2 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT strcasestr.o -MD -MP -MF ".deps/strcasestr.Tpo" -c -o strcasestr.o strcasestr.c; \
then mv -f ".deps/strcasestr.Tpo" ".deps/strcasestr.Po"; else rm -f ".deps/strcasestr.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT strsep.o -MD -MP -MF ".deps/strsep.Tpo" -c -o strsep.o strsep.c; \
then mv -f ".deps/strsep.Tpo" ".deps/strsep.Po"; else rm -f ".deps/strsep.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT redblack.o -MD -MP -MF ".deps/redblack.Tpo" -c -o redblack.o redblack.c; \
then mv -f ".deps/redblack.Tpo" ".deps/redblack.Po"; else rm -f ".deps/redblack.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT dynamic-art.o -MD -MP -MF ".deps/dynamic-art.Tpo" -c -o dynamic-art.o dynamic-art.c; \
then mv -f ".deps/dynamic-art.Tpo" ".deps/dynamic-art.Po"; else rm -f ".deps/dynamic-art.Tpo"; exit 1; fi
dynamic-art.c:84:13: warning: passing 'unsigned char [255]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(buffer,filename,255);
^~~~~~
/usr/include/string.h:64:32: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
dynamic-art.c:85:24: warning: passing 'unsigned char [255]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
path_end = strrchr(buffer,'/');
^~~~~~
/usr/include/string.h:66:27: note: passing argument to parameter here
char *strrchr(const char *, int);
^
dynamic-art.c:87:15: warning: passing 'unsigned char [255]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
fd = open(buffer,O_RDONLY);
^~~~~~
/usr/include/fcntl.h:309:22: note: passing argument to parameter here
int open(const char *, int, ...);
^
dynamic-art.c:108:18: warning: passing 'unsigned char [10]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ( strncmp(buffer,"ID3", 3) == 0 ) {
^~~~~~
/usr/include/string.h:63:26: note: passing argument to parameter here
int strncmp(const char *, const char *, size_t);
^
dynamic-art.c:225:7: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&atom_length);
^~~~~~~~~~~~
./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here
extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length);
^
dynamic-art.c:235:2: warning: implicit declaration of function 'fcopyblock' is invalid in C99 [-Wimplicit-function-declaration]
fcopyblock(aac_fp, out_fd, cur_pos - old_pos);
^
dynamic-art.c:302:19: warning: implicit declaration of function 'scan_aac_findatom' is invalid in C99 [-Wimplicit-function-declaration]
atom_offset = scan_aac_findatom(aac_fp, file_size, "moov", &atom_length);
^
dynamic-art.c:470:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&atom_length);
^~~~~~~~~~~~
./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here
extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length);
^
dynamic-art.c:472:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
&atom_length);
^~~~~~~~~~~~
./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here
extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length);
^
dynamic-art.c:473:48: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
last_pos = aac_drilltoatom(aac_fp, "mdat", &atom_length);
^~~~~~~~~~~~
./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here
extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length);
^
10 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT query.o -MD -MP -MF ".deps/query.Tpo" -c -o query.o query.c; \
then mv -f ".deps/query.Tpo" ".deps/query.Po"; else rm -f ".deps/query.Tpo"; exit 1; fi
query.c:250:9: warning: implicit declaration of function 'isalpha' is invalid in C99 [-Wimplicit-function-declaration]
if(!isalpha(*cursor))
^
query.c:295:12: warning: 16 enumeration values not handled in switch: 'qot_empty', 'qot_and', 'qot_or'... [-Wswitch]
switch(field->type)
^
query.c:389:12: warning: 4 enumeration values not handled in switch: 'qot_empty', 'qft_i32', 'qft_i64'... [-Wswitch]
switch(query->type)
^
query.c:425:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
query.c:642:31: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier]
fprintf(fp, "%*s(%s %s %q)\n",
~~^
query.c:614:12: warning: 4 enumeration values not handled in switch: 'qot_empty', 'qft_i32', 'qft_i64'... [-Wswitch]
switch(query->type)
^
query.c:678:6: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
if(isdigit(*src))
^
query.c:681:24: warning: implicit declaration of function 'tolower' is invalid in C99 [-Wimplicit-function-declaration]
val = val * 16 + tolower(*src) - 'a' + 10;
^
8 warnings generated.
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT mDNS.o -MD -MP -MF ".deps/mDNS.Tpo" -c -o mDNS.o mDNS.c; \
then mv -f ".deps/mDNS.Tpo" ".deps/mDNS.Po"; else rm -f ".deps/mDNS.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/include -g -DHOST='"i386-elf32-minix"' -O2 -march=i586 -I/usr/pkg/include -I/usr/include -MT mDNSPosix.o -MD -MP -MF ".deps/mDNSPosix.Tpo" -c -o mDNSPosix.o mDNSPosix.c; \
then mv -f ".deps/mDNSPosix.Tpo" ".deps/mDNSPosix.Po"; else rm -f ".deps/mDNSPosix.Tpo"; exit 1; fi
mDNSPosix.c:708:32: warning: implicit declaration of function 'if_nametoindex' is invalid in C99 [-Wimplicit-function-declaration]
intf->index = if_nametoindex(intf->intfName);
^
mDNSPosix.c:784:55: error: use of undeclared identifier 'IFF_POINTOPOINT'
) && (i->ifi_flags & IFF_UP) && !(i->ifi_flags & IFF_POINTOPOINT) )
^
mDNSPosix.c:786:24: error: use of undeclared identifier 'IFF_LOOPBACK'
if (i->ifi_flags & IFF_LOOPBACK)
^
1 warning and 2 errors generated.
Makefile:330: recipe for target 'mDNSPosix.o' failed
gmake[3]: *** [mDNSPosix.o] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src'
Makefile:230: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src'
Makefile:251: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/work/audio/mt-daapd/work/mt-daapd-0.2.4.2'
Makefile:189: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake[1]: stopped in /usr/pkgsrc/audio/mt-daapd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/audio/mt-daapd