=> Bootstrap dependency digest>=20010302: found digest-20111104 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 ===> Building for minidlna-1.0.25 => Substituting "confdir" in minidlna.c --- albumart.o --- --- daemonize.o --- --- getifaddr.o --- --- image_utils.o --- --- log.o --- --- albumart.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c albumart.c --- daemonize.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c daemonize.c --- getifaddr.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c getifaddr.c --- image_utils.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c image_utils.c --- log.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c log.c --- image_utils.o --- image_utils.c:184:1: warning: no previous prototype for 'jpeg_memory_src' image_utils.c:220:1: warning: no previous prototype for 'get_pix' image_utils.c:234:1: warning: no previous prototype for 'put_pix_alpha_replace' image_utils.c:410:1: warning: no previous prototype for 'image_new' image_utils.c: In function 'image_new': image_utils.c:416:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:416:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:423:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:423:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c: In function 'image_new_from_jpeg': image_utils.c:495:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:495:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:508:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:508:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c: At top level: image_utils.c:575:1: warning: no previous prototype for 'image_upsize' image_utils.c:638:1: warning: no previous prototype for 'image_downsize' image_utils.c: In function 'image_save_to_jpeg_buf': image_utils.c:822:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' image_utils.c:822:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- daemonize.o --- daemonize.c: In function 'writepidfile': daemonize.c:101:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' daemonize.c:101:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' daemonize.c:108:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' daemonize.c:108:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' daemonize.c:116:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' daemonize.c:116:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- log.o --- log.c:34:2: warning: initialization discards qualifiers from pointer target type log.c:35:2: warning: initialization discards qualifiers from pointer target type log.c:36:2: warning: initialization discards qualifiers from pointer target type log.c:37:2: warning: initialization discards qualifiers from pointer target type log.c:38:2: warning: initialization discards qualifiers from pointer target type log.c:39:2: warning: initialization discards qualifiers from pointer target type log.c:40:2: warning: initialization discards qualifiers from pointer target type log.c:41:2: warning: initialization discards qualifiers from pointer target type log.c:42:2: warning: initialization discards qualifiers from pointer target type log.c:47:2: warning: initialization discards qualifiers from pointer target type log.c:48:2: warning: initialization discards qualifiers from pointer target type log.c:49:2: warning: initialization discards qualifiers from pointer target type log.c:50:2: warning: initialization discards qualifiers from pointer target type log.c:51:2: warning: initialization discards qualifiers from pointer target type log.c:52:2: warning: initialization discards qualifiers from pointer target type log.c: In function 'log_err': log.c:139:2: warning: implicit declaration of function 'vasprintf' --- metadata.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c metadata.c --- minidlna.o --- gcc -O3 -pipe -fstack-protector -I/usr/pkg/include -I/usr/include -I/tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 -I/usr/pkg/include -DPREFIX='"/usr/pkg"' -DOS='"Linux"' -DOSVERSION='"3.2.7-altar"' -Wformat -Wunused -Wall -Wno-deprecated-declarations -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/usr/pkg/include -I/usr/include -c minidlna.c --- albumart.o --- albumart.c: In function 'art_cache_exists': albumart.c:41:2: warning: implicit declaration of function 'asprintf' albumart.c: In function 'update_if_album_art': albumart.c:149:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:149:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:153:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:153:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c: At top level: albumart.c:160:1: warning: no previous prototype for 'check_embedded_art' albumart.c: In function 'check_embedded_art': albumart.c:198:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:198:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:233:3: warning: cast discards qualifiers from pointer target type albumart.c:237:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:237:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:248:3: warning: cast discards qualifiers from pointer target type albumart.c:248:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:248:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:252:2: warning: cast discards qualifiers from pointer target type albumart.c:252:2: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' albumart.c:252:2: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- getifaddr.o --- getifaddr.c:58:23: fatal error: net/if_dl.h: No such file or directory compilation terminated. *** [getifaddr.o] Error code 1 bmake: stopped in /tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 --- metadata.o --- metadata.c:134:1: warning: no previous prototype for 'dlna_timestamp_is_present' metadata.c:227:1: warning: no previous prototype for 'parse_nfo' metadata.c: In function 'parse_nfo': metadata.c:239:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:239:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:242:2: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:242:2: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:256:4: warning: implicit declaration of function 'asprintf' metadata.c: At top level: metadata.c:278:1: warning: no previous prototype for 'free_metadata' metadata.c: In function 'GetAudioMetadata': metadata.c:394:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:394:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:406:2: warning: cast discards qualifiers from pointer target type metadata.c:408:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:408:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- In file included from minidlna.c:88:0: minissdp.h:35:1: warning: function declaration isn't a prototype In file included from minidlna.c:92:0: scanner.h:84:1: warning: function declaration isn't a prototype In file included from minidlna.c:94:0: inotify.h:6:1: warning: function declaration isn't a prototype --- metadata.o --- metadata.c: In function 'GetImageMetadata': metadata.c:601:4: warning: implicit declaration of function 'strcasestr' --- minidlna.o --- minidlna.c: In function 'OpenAndConfHTTPSocket': minidlna.c:121:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:121:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:125:31: error: 'SO_REUSEPORT' undeclared (first use in this function) minidlna.c:125:31: note: each undeclared identifier is reported only once for each function it appears in minidlna.c:127:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:127:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:137:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:137:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:144:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:144:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c: In function 'sigterm': minidlna.c:160:2: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:160:2: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c: In function 'parselanaddr': minidlna.c:180:34: warning: declaration of 'lan_addr' shadows a global declaration upnpglobalvars.h:221:26: warning: shadowed declaration is here minidlna.c:197:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:197:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:204:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:204:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c: In function 'GetVideoMetadata': metadata.c:742:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:742:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:768:4: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:768:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:768:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:802:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:802:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c: In function 'open_db': minidlna.c:325:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:325:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:818:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:818:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c: In function 'init': minidlna.c:361:8: warning: declaration of 'log_level' shadows a global declaration log.h:45:12: warning: shadowed declaration is here --- metadata.o --- metadata.c:830:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:830:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:835:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:835:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:868:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:868:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:884:3: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:884:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:884:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:378:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:378:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:396:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:396:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:418:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:418:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:432:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:432:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:481:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:481:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:501:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:501:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:537:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:537:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:549:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:549:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:944:6: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:944:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:944:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:577:34: warning: assignment discards qualifiers from pointer target type minidlna.c:581:34: warning: assignment discards qualifiers from pointer target type minidlna.c:585:34: warning: assignment discards qualifiers from pointer target type minidlna.c:589:34: warning: assignment discards qualifiers from pointer target type minidlna.c:592:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:592:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type --- metadata.o --- metadata.c:970:7: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:970:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:970:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:601:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:601:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:621:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:621:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:992:6: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:992:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:992:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:634:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:634:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type --- metadata.o --- metadata.c:1004:6: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1004:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1004:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:640:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:640:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:646:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:646:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:652:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:652:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:658:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:658:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:672:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:672:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1081:9: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1081:9: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1081:9: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:696:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:696:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:701:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:701:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1098:9: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:711:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:711:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1098:9: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1098:9: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1115:9: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1115:9: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1115:9: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1139:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1139:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1139:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1157:7: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1157:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1157:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:730:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:730:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:735:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:735:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:746:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:746:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:770:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:770:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:786:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:786:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:835:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:835:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:852:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:852:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:856:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:856:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:860:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:860:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1285:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1285:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1285:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c: In function 'main': minidlna.c:915:2: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:915:2: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:918:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:918:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1301:7: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1301:7: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1301:7: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- minidlna.c:924:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:924:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1313:5: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1313:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- minidlna.c:938:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1313:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- minidlna.c:938:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:942:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:942:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:946:3: warning: implicit declaration of function 'asprintf' --- metadata.o --- metadata.c:1320:5: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:953:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:953:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:959:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1320:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- minidlna.c:959:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1320:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:998:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:998:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1003:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1003:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1011:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1011:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1013:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1013:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1021:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1021:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1023:2: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1023:2: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1028:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1028:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1067:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1067:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1345:9: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1345:9: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1345:9: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1368:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1368:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:1178:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1178:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1179:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1179:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1226:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1226:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1390:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1390:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1395:5: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1395:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type --- minidlna.o --- minidlna.c:1231:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1231:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1395:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:1247:6: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1247:6: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1411:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1411:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1411:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:1287:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1287:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1433:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1433:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1433:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- minidlna.c:1319:3: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' minidlna.c:1319:3: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' --- metadata.o --- metadata.c:1457:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1457:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1457:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1478:8: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1478:8: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1478:8: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1489:5: warning: passing argument 1 of '__xpg_basename' discards qualifiers from pointer target type /usr/include/libgen.h:35:14: note: expected 'char *' but argument is of type 'const char *' metadata.c:1489:5: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1489:5: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1512:4: warning: passing argument 3 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1512:4: warning: passing argument 5 of 'log_err' discards qualifiers from pointer target type log.h:47:13: note: expected 'char *' but argument is of type 'const char *' metadata.c:1517:3: warning: cast discards qualifiers from pointer target type metadata.c:1517:3: warning: passing argument 4 of 'readtags' discards qualifiers from pointer target type tagutils/tagutils.h:115:12: note: expected 'char *' but argument is of type 'const char *' metadata.c:1517:3: warning: passing argument 5 of 'readtags' discards qualifiers from pointer target type tagutils/tagutils.h:115:12: note: expected 'char *' but argument is of type 'const char *' --- minidlna.o --- *** [minidlna.o] Error code 1 bmake: stopped in /tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 2 errors bmake: stopped in /tmp/pkgsrc/multimedia/minidlna/work/minidlna-1.0.25 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/multimedia/minidlna *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/multimedia/minidlna