* Package: sys-fs/xfsdump-3.1.4  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking xfsdump-3.1.4.tar.gz to /var/tmp/portage/sys-fs/xfsdump-3.1.4/work >>> Source unpacked in /var/tmp/portage/sys-fs/xfsdump-3.1.4/work >>> Preparing source in /var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4 ... * Applying xfsdump-3.0.5-prompt-overflow.patch ...  [ ok ] * Applying xfsdump-3.0.4-no-symlink.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4 ... * econf: updating xfsdump-3.1.4/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xfsdump-3.1.4/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --libexecdir=/usr/lib64 --sbindir=/sbin checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking for gmake... /usr/bin/gmake checking for tar... /bin/tar checking for gzip... /bin/gzip checking whether gcc -MM is supported... yes checking for sort... /bin/sort checking whether ln -s works... yes checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for rpm... no checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for uuid_compare... no checking for uuid_compare in -luuid... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_mutex_init in -lpthread... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for initscr in -lncurses... yes checking for bad glibc/ncurses header interaction... ok checking xfs/xfs.h usability... yes checking xfs/xfs.h presence... yes checking for xfs/xfs.h... yes checking xfs/handle.h usability... yes checking xfs/handle.h presence... yes checking for xfs/handle.h... yes checking for open_by_fshandle in -lhandle... yes checking attr/attributes.h usability... yes checking attr/attributes.h presence... yes checking for attr/attributes.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking macros in attr/attributes.h... ok checking for attr_get in -lattr... yes configure: creating ./config.status config.status: creating include/builddefs config.status: creating include/config.h config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4 ... make -j5 Building include Building librmt Building common Building m4 Building inventory Building man Building doc [LTDEP] [LTDEP] Building po Building man8 x86_64-pc-linux-gnu-gcc: fatal error: no input files compilation terminated. [ZIP] CHANGES.gz Building debian [GETTXT] xfsdump.pot [MSGFMT] de.mo [MSGFMT] pl.mo 763 translated messages. 767 translated messages. [CC] isrmt.lo [CC] rmtclose.lo [CC] rmtdev.lo [CC] rmtread.lo [CC] rmtisatty.lo rmtclose.c: In function 'rmtclose': rmtclose.c:43:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] return (close (fildes));  ^ rmtread.c: In function 'rmtread': rmtread.c:45:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] return (read (fildes, buf, nbyte));  ^ [CC] rmtabort.lo [CC] rmtfstat.lo [CC] rmtcommand.lo [CC] rmtlseek.lo [CC] rmtstatus.lo rmtabort.c: In function '_rmt_abort': rmtabort.c:32:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(READ(fildes));  ^ rmtcommand.c: In function '_rmt_command': rmtcommand.c:45:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] blen = strlen(buf);  ^ rmtcommand.c:45:9: warning: incompatible implicit declaration of built-in function 'strlen' blen = strlen(buf);  ^ rmtcommand.c:46:2: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] if (write(WRITE(fildes), buf, blen) == blen)  ^ rmtfstat.c: In function '_rmt_fstat': rmtfstat.c:79:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] cnt = read(READ(fildes), arg, adj_rc);  ^ rmtstatus.c: In function '_rmt_status': rmtstatus.c:45:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if (read(READ(fildes), cp, 1) != 1)  ^ rmtstatus.c:75:3: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] setoserror( atoi(cp + 1) );  ^ rmtlseek.c: In function 'rmtlseek': rmtlseek.c:44:3: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] return (lseek (fildes, offset, whence));  ^ [CC] rmtaccess.lo [CC] rmtcreat.lo [CC] rmtioctl.lo [CC] rmtopen.lo [CC] rmtwrite.lo rmtioctl.c: In function '_rmt_ioctl': rmtioctl.c:192:3: warning: implicit declaration of function '_' [-Wimplicit-function-declaration] _("rmtioctl: remote host type not supported for MTIOCTOP\n"));  ^ rmtioctl.c:192:3: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast In file included from rmtioctl.c:26:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtioctl.c:247:3: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _("rmtioctl: remote host type not supported for MTIOCGET\n"));  ^ In file included from rmtioctl.c:26:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtioctl.c:253:5: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _("rmtioctl: IRIX mtget structure of wrong size"  ^ In file included from rmtioctl.c:26:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtioctl.c:269:4: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _("rmtioctl: Linux mtget structure of wrong size "  ^ In file included from rmtioctl.c:26:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtioctl.c:283:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] assert(RMTHOST(fildes)==UNAME_LINUX || RMTHOST(fildes)==UNAME_IRIX);  ^ rmtioctl.c:300:4: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] cnt = read(READ(fildes), p, ssize);  ^ rmtopen.c: In function '_rmt_open': rmtopen.c:102:2: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] if ((rsh_path = getenv("RSH")) == NULL) {  ^ rmtopen.c:102:16: warning: assignment makes pointer from integer without a cast if ((rsh_path = getenv("RSH")) == NULL) {  ^ rmtopen.c:106:16: warning: assignment makes pointer from integer without a cast if ((rmt_path = getenv("RMT")) == NULL) {  ^ rmtopen.c:175:3: warning: implicit declaration of function '_' [-Wimplicit-function-declaration] _rmt_msg(RMTWARN, _(  ^ rmtopen.c:175:21: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _rmt_msg(RMTWARN, _(  ^ In file included from rmtopen.c:34:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtopen.c:187:25: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _rmt_msg(RMTWARN, _(  ^ In file included from rmtopen.c:34:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtopen.c:204:21: warning: passing argument 2 of '_rmt_msg' makes pointer from integer without a cast _rmt_msg(RMTWARN, _(  ^ In file included from rmtopen.c:34:0: rmtlib.h:89:6: note: expected 'const char *' but argument is of type 'int' void _rmt_msg(int level, const char *msg, ...);  ^ rmtopen.c:259:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1);  ^ rmtopen.c:259:3: warning: incompatible implicit declaration of built-in function 'exit' rmtopen.c:228:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(_rmt_Ptc[i][0]);  ^ rmtopen.c:231:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(_rmt_Ctp[i][1]);  ^ rmtopen.c:233:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] (void) setuid (getuid ());  ^ rmtopen.c:234:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (void) setgid (getgid ());  ^ rmtwrite.c: In function 'rmtwrite': rmtwrite.c:45:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] return (write (fildes, buf, nbyte));  ^ [CC] rmtmsg.lo rmtmsg.c: In function '_rmt_turnonmsgsbyenv': rmtmsg.c:44:5: warning: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] char *rmt_debug_str = getenv("RMTDEBUG");  ^ rmtmsg.c:44:27: warning: initialization makes pointer from integer without a cast char *rmt_debug_str = getenv("RMTDEBUG");  ^ rmtmsg.c:47:9: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] rmt_debug_code = atoi(rmt_debug_str);  ^ rmtmsg.c: In function '_rmt_msg': rmtmsg.c:74:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration] va_start(arg, msg);  ^ rmtmsg.c:76:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration] va_end(arg);  ^ rmtmsg.c:78:2: warning: implicit declaration of function '_' [-Wimplicit-function-declaration] fprintf(stderr, "%s%s", level==RMTWARN ? _("WARNING: "):"", msg_str);  ^ rmtmsg.c:78:57: warning: pointer/integer type mismatch in conditional expression fprintf(stderr, "%s%s", level==RMTWARN ? _("WARNING: "):"", msg_str);  ^ [LD] librmt.la Building dump Building invutil Building restore [LN] global.h [LN] cldmgr.h [LN] arch_xlate.h [LN] mlog.h [LN] arch_xlate.h [LN] cldmgr.h [LN] timeutil.h [LN] content_common.h [LN] content.h [LN] content.h [LN] content_inode.h [LN] timeutil.c [LN] types.h [LN] dlog.h [LN] content_inode.h [LN] inv_priv.h [LN] inventory.h [LN] drive.h [LN] exit.h [LN] dlog.h [LN] inv_files.c [LN] fs.h [LN] drive.h [LN] global.h [LN] getdents.h [DEP] [LN] hsmapi.h [LN] exit.h [LN] fs.h [LN] lock.h [LN] media.h [LN] mlog.h [LN] getdents.h [LN] global.h [LN] hsmapi.h [LN] lock.h [LN] media.h [LN] openutil.h [LN] path.h [LN] qlock.h [LN] mlog.h [LN] openutil.h [LN] path.h [LN] ring.h [LN] rec_hdr.h [LN] qlock.h [LN] stream.h [LN] ring.h [LN] stream.h [LN] timeutil.h [LN] timeutil.h [LN] ts_mtio.h [LN] ts_mtio.h [LN] types.h [LN] util.h [LN] types.h [LN] util.h [LN] rec_hdr.h [LN] arch_xlate.c [LN] cldmgr.c [LN] arch_xlate.c [LN] cldmgr.c [LN] dlog.c [LN] content_common.c [LN] drive.c [LN] dlog.c [LN] drive_scsitape.c [LN] drive.c [LN] drive_scsitape.c [LN] drive_simple.c [LN] drive_simple.c [LN] drive_minrmt.c [LN] drive_minrmt.c [LN] fs.c [LN] getdents.c [LN] global.c [LN] hsmapi.c [LN] fs.c [LN] lock.c [LN] main.c [LN] getdents.c [LN] mlog.c [LN] global.c [LN] openutil.c [LN] hsmapi.c [LN] lock.c [LN] qlock.c [LN] path.c [LN] ring.c [LN] main.c [LN] mlog.c [CC] timeutil.o [LN] stream.c [LN] openutil.c [LN] timeutil.c [LN] util.c [LN] inventory.h [CC] inv_files.o [LN] inv_priv.h [LN] path.c [LN] inv_api.c [LN] qlock.c [LN] ring.c [CC] invutil.o [LN] inv_core.c [CC] cmenu.o [LN] stream.c [LN] timeutil.c [LN] inv_files.c inv_files.c: In function β€˜inv_setup_base’: inv_files.c:106:2: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy(inv_dirpathp, inv_base);  ^ inv_files.c:106:2: warning: incompatible implicit declaration of built-in function β€˜strcpy’ inv_files.c:107:2: warning: implicit declaration of function β€˜strcat’ [-Wimplicit-function-declaration] strcat(inv_dirpathp, MGR_DIRPATH);  ^ inv_files.c:107:2: warning: incompatible implicit declaration of built-in function β€˜strcat’ [LN] util.c [LN] inv_fstab.c cmenu.c: In function β€˜menu_import’: cmenu.c:129:6: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] put_error("Error: invalid input");  ^ cmenu.c:132:2: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] if(strlen(inv_path) == 0) {  ^ cmenu.c:132:5: warning: incompatible implicit declaration of built-in function β€˜strlen’ if(strlen(inv_path) == 0) {  ^ cmenu.c:145:6: warning: implicit declaration of function β€˜exit’ [-Wimplicit-function-declaration] exit(1);  ^ cmenu.c:145:6: warning: incompatible implicit declaration of built-in function β€˜exit’ cmenu.c: In function β€˜generate_menu’: cmenu.c:517:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ cmenu.c: In function β€˜create_windows’: cmenu.c:541:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ cmenu.c: In function β€˜invutil_interactive’: cmenu.c:577:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c: In function β€˜main’: invutil.c:71:5: warning: implicit declaration of function β€˜basename’ [-Wimplicit-function-declaration] g_programName = basename(argv[0]);  ^ invutil.c:71:19: warning: assignment makes pointer from integer without a cast g_programName = basename(argv[0]);  ^ invutil.c:246:9: warning: implicit declaration of function β€˜exit’ [-Wimplicit-function-declaration] exit(1);  ^ [CC] fstab.o invutil.c:246:9: warning: incompatible implicit declaration of built-in function β€˜exit’ invutil.c: In function β€˜get_mntpnt’: invutil.c:294:5: warning: implicit declaration of function β€˜strchr’ [-Wimplicit-function-declaration] p = strchr(txt, ':');  ^ invutil.c:294:9: warning: incompatible implicit declaration of built-in function β€˜strchr’ p = strchr(txt, ':');  ^ invutil.c: In function β€˜mntpnt_equal’: invutil.c:304:8: warning: incompatible implicit declaration of built-in function β€˜strchr’ if(strchr(s1, ':') == NULL || strchr(s2, ':') == NULL) {  ^ [LN] inv_idx.c invutil.c:309:5: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] return STREQL(s1, s2);  ^ invutil.c: In function β€˜ParseDate’: invutil.c:357:9: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset (&tm, 0, sizeof (struct tm)); /* ensure fields init'ed */  ^ invutil.c:357:9: warning: incompatible implicit declaration of built-in function β€˜memset’ invutil.c:375:9: warning: incompatible implicit declaration of built-in function β€˜memset’ memset (&tm, 0, sizeof (struct tm));  ^ invutil.c: In function β€˜GetNameOfStobj’: invutil.c:405:9: warning: assignment makes pointer from integer without a cast str = basename(filename);  ^ invutil.c:406:5: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] name = (char *) malloc( strlen( inv_path ) + 1 + strlen( str ) + 1);  ^ invutil.c:406:29: warning: incompatible implicit declaration of built-in function β€˜strlen’ name = (char *) malloc( strlen( inv_path ) + 1 + strlen( str ) + 1);  ^ invutil.c:407:5: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy( name, inv_path );  ^ invutil.c:407:5: warning: incompatible implicit declaration of built-in function β€˜strcpy’ invutil.c:408:5: warning: implicit declaration of function β€˜strcat’ [-Wimplicit-function-declaration] strcat( name, "/" );  ^ invutil.c:408:5: warning: incompatible implicit declaration of built-in function β€˜strcat’ invutil.c: In function β€˜GetNameOfInvIndex’: invutil.c:421:29: warning: incompatible implicit declaration of built-in function β€˜strlen’ name = (char *) malloc( strlen( inv_path ) + 1 + strlen( str )  ^ invutil.c:423:5: warning: incompatible implicit declaration of built-in function β€˜strcpy’ strcpy( name, inv_path );  ^ invutil.c:424:5: warning: incompatible implicit declaration of built-in function β€˜strcat’ strcat( name, "/" );  ^ invutil.c: In function β€˜GetFstabFullPath’: invutil.c:436:34: warning: incompatible implicit declaration of built-in function β€˜strlen’ fstabname = (char *) malloc( strlen(inv_path) + 1 /* one for the "/" */  ^ invutil.c:438:5: warning: incompatible implicit declaration of built-in function β€˜strcpy’ strcpy( fstabname, inv_path );  ^ invutil.c:439:5: warning: incompatible implicit declaration of built-in function β€˜strcat’ strcat( fstabname, "/" );  ^ invutil.c: In function β€˜CheckAndPruneFstab’: invutil.c:464:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c:473:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c:552:3: warning: implicit declaration of function β€˜bcopy’ [-Wimplicit-function-declaration] bcopy((void *)&fstabentry[i + 1],  ^ invutil.c:552:3: warning: incompatible implicit declaration of built-in function β€˜bcopy’ [LN] inventory.h invutil.c:575:2: warning: implicit declaration of function β€˜ftruncate’ [-Wimplicit-function-declaration] ftruncate(fd,  ^ invutil.c:579:5: warning: implicit declaration of function β€˜close’ [-Wimplicit-function-declaration] close(fd);  ^ invutil.c:586:2: warning: implicit declaration of function β€˜unlink’ [-Wimplicit-function-declaration] unlink( fstabname );  ^ invutil.c: In function β€˜CheckAndPruneInvIndexFile’: invutil.c:642:2: warning: implicit declaration of function β€˜access’ [-Wimplicit-function-declaration] if (( access( invIndexEntry[i].ie_filename, R_OK | W_OK ) == -1) &&  ^ invutil.c:659:10: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy((void *)&invIndexEntry[i + 1],  ^ invutil.c: In function β€˜CheckAndPruneStObjFile’: invutil.c:744:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c:866:13: warning: incompatible implicit declaration of built-in function β€˜strchr’ chp = strchr( response, '\n');  ^ invutil.c:869:7: warning: implicit declaration of function β€˜strcasecmp’ [-Wimplicit-function-declaration] if (strcasecmp( response, "Y" ) == 0) {  ^ invutil.c: In function β€˜uses_specified_mf_label’: invutil.c:942:6: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if (!strncmp(StObjmed->mf_label, r_mf_label,  ^ invutil.c: In function β€˜open_and_lock’: invutil.c:1043:2: warning: implicit declaration of function β€˜abort’ [-Wimplicit-function-declaration] abort();  ^ invutil.c:1043:2: warning: incompatible implicit declaration of built-in function β€˜abort’ invutil.c: In function β€˜read_n_bytes’: invutil.c:1104:5: warning: implicit declaration of function β€˜read’ [-Wimplicit-function-declaration] rc = read(fd, buf, count);  ^ invutil.c:1109:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit (2);  ^ invutil.c:1115:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit (2);  ^ invutil.c: In function β€˜write_n_bytes’: invutil.c:1124:5: warning: implicit declaration of function β€˜write’ [-Wimplicit-function-declaration] rc = write(fd, buf, count);  ^ invutil.c:1129:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit (2);  ^ invutil.c:1135:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit (2);  ^ invutil.c: In function β€˜mmap_n_bytes’: invutil.c:1144:5: warning: implicit declaration of function β€˜lseek’ [-Wimplicit-function-declaration] lseek( fd, 0, SEEK_SET );  ^ invutil.c:1154:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c: In function β€˜usage’: invutil.c:1175:5: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invutil.c: In function β€˜CheckAndPruneStObjFile’: invutil.c:865:7: warning: ignoring return value of β€˜fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets( response, GEN_STRLEN, stdin );  ^ [LN] inv_priv.h [LN] inv_mgr.c [LN] inv_stobj.c [LN] inv_api.c [DEP] fstab.c: In function β€˜fstab_commit’: fstab.c:83:6: warning: implicit declaration of function β€˜memmove’ [-Wimplicit-function-declaration] memmove(fstabentry,  ^ fstab.c:83:6: warning: incompatible implicit declaration of built-in function β€˜memmove’ fstab.c:117:2: warning: incompatible implicit declaration of built-in function β€˜memmove’ memmove(dest, fstabentry, sizeof(*fstabentry));  ^ fstab.c: In function β€˜add_fstab_data’: fstab.c:205:6: warning: implicit declaration of function β€˜exit’ [-Wimplicit-function-declaration] exit(1);  ^ fstab.c:205:6: warning: incompatible implicit declaration of built-in function β€˜exit’ fstab.c:214:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c: In function β€˜generate_fstab_menu’: fstab.c:242:2: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] len = strlen(fstab_entry[i].ft_mountpt) + strlen(fstab_entry[i].ft_devpath) + 40;  ^ fstab.c:242:8: warning: incompatible implicit declaration of built-in function β€˜strlen’ len = strlen(fstab_entry[i].ft_mountpt) + strlen(fstab_entry[i].ft_devpath) + 40;  ^ fstab.c:246:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c:266:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c: In function β€˜add_fstab’: fstab.c:287:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c:297:3: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c: In function β€˜fstab_equal’: fstab.c:318:5: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if(strcmp(f1->ft_mountpt, f2->ft_mountpt) != 0)  ^ fstab.c: In function β€˜remmap_fstab’: fstab.c:358:5: warning: implicit declaration of function β€˜lseek’ [-Wimplicit-function-declaration] lseek(fstab_file[fidx].fd, (num * sizeof(invt_fstab_t)) - 1, SEEK_END);  ^ fstab.c: In function β€˜open_fstab’: fstab.c:397:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c:400:5: warning: implicit declaration of function β€˜strdup’ [-Wimplicit-function-declaration] name = strdup(fstabname);  ^ fstab.c:400:12: warning: incompatible implicit declaration of built-in function β€˜strdup’ name = strdup(fstabname);  ^ fstab.c:403:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ fstab.c: In function β€˜close_fstab’: fstab.c:429:2: warning: implicit declaration of function β€˜ftruncate’ [-Wimplicit-function-declaration] ftruncate(fstab_file[fidx].fd,  ^ fstab.c:433:5: warning: implicit declaration of function β€˜close’ [-Wimplicit-function-declaration] close(fstab_file[fidx].fd);  ^ fstab.c:436:2: warning: implicit declaration of function β€˜unlink’ [-Wimplicit-function-declaration] unlink( fstab_file[fidx].name );  ^ [LN] inv_core.c [LN] inv_files.c [CC] invidx.o [LN] inv_fstab.c [CC] arch_xlate.o [LN] inv_idx.c invidx.c: In function β€˜invidx_commit’: invidx.c:92:6: warning: implicit declaration of function β€˜memmove’ [-Wimplicit-function-declaration] memmove(&inv_entry[idx],  ^ invidx.c:92:6: warning: incompatible implicit declaration of built-in function β€˜memmove’ invidx.c:114:2: warning: implicit declaration of function β€˜basename’ [-Wimplicit-function-declaration] snprintf(dst_idxfile, sizeof(dst_idxfile), "%s/%s", inventory_path, basename(invidx_file[fidx].name));  ^ invidx.c:114:2: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] invidx.c:114:2: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] invidx.c:211:7: warning: incompatible implicit declaration of built-in function β€˜memmove’ memmove(invidx_file[dst_fileidx].data[dst_invpos + 1],  ^ invidx.c:220:3: warning: incompatible implicit declaration of built-in function β€˜memmove’ memmove(dest, inv_entry, sizeof(*inv_entry));  ^ invidx.c:230:7: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] put_error("Error: unable to work out stobj filename");  ^ invidx.c:234:3: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] snprintf(dst_stobjfile, sizeof(dst_stobjfile), "%s/%s", inventory_path, basename(stobjfile));  ^ invidx.c:234:3: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] invidx.c:248:3: warning: implicit declaration of function β€˜system’ [-Wimplicit-function-declaration] if(system(cmd) != 0) {  ^ invidx.c:262:6: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset(&cnt, 0, sizeof(cnt));  ^ invidx.c:262:6: warning: incompatible implicit declaration of built-in function β€˜memset’ invidx.c:293:6: warning: implicit declaration of function β€˜close’ [-Wimplicit-function-declaration] close(new_fd);  ^ invidx.c:304:6: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] snprintf(dst_stobjfile, sizeof(dst_stobjfile), "%s/%s", inventory_path, basename(stobjfile));  ^ invidx.c:304:6: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 5 has type β€˜int’ [-Wformat=] invidx.c: In function β€˜read_stobj_info’: invidx.c:358:5: warning: implicit declaration of function β€˜lseek’ [-Wimplicit-function-declaration] lseek(fd, STOBJ_OFFSET(idx, 0), SEEK_SET);  ^ invidx.c: In function β€˜update_invidx_entry’: invidx.c:459:5: warning: incompatible implicit declaration of built-in function β€˜memset’ memset(&hdr, 0, sizeof(hdr));  ^ invidx.c:477:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if(strcmp(entry.ie_filename, filename) == 0) {  ^ invidx.c:488:5: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy(entry.ie_filename, filename);  ^ invidx.c:488:5: warning: incompatible implicit declaration of built-in function β€˜strcpy’ invidx.c: In function β€˜insert_stobj_into_stobjfile’: invidx.c:549:5: warning: incompatible implicit declaration of built-in function β€˜memmove’ memmove(buf, hdr, sizeof(invt_seshdr_t));  ^ invidx.c: In function β€˜stobj_create’: invidx.c:607:5: warning: incompatible implicit declaration of built-in function β€˜memset’ memset(&sescnt, 0, sizeof(sescnt));  ^ invidx.c: In function β€˜invidx_highlight’: invidx.c:703:5: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] txt[strlen(txt) - 1] = '\0';  ^ invidx.c:703:9: warning: incompatible implicit declaration of built-in function β€˜strlen’ txt[strlen(txt) - 1] = '\0';  ^ invidx.c: In function β€˜add_invidx_data’: invidx.c:879:6: warning: implicit declaration of function β€˜exit’ [-Wimplicit-function-declaration] exit(1);  ^ invidx.c:879:6: warning: incompatible implicit declaration of built-in function β€˜exit’ invidx.c:889:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c: In function β€˜generate_invidx_menu’: invidx.c:917:8: warning: incompatible implicit declaration of built-in function β€˜strlen’ len = strlen(invidx_entry[i].ie_filename) + 54;  ^ invidx.c:921:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c:923:2: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 4 has type β€˜int’ [-Wformat=] snprintf(txt, len, " inv file: %s ", basename(invidx_entry[i].ie_filename));  ^ invidx.c:923:2: warning: format β€˜%s’ expects argument of type β€˜char *’, but argument 4 has type β€˜int’ [-Wformat=] invidx.c:939:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c: In function β€˜add_invidx’: invidx.c:960:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c:970:3: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c: In function β€˜open_invidx’: invidx.c:1044:5: warning: implicit declaration of function β€˜strdup’ [-Wimplicit-function-declaration] name = strdup(idxFileName);  ^ invidx.c:1044:12: warning: incompatible implicit declaration of built-in function β€˜strdup’ name = strdup(idxFileName);  ^ invidx.c:1047:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ invidx.c: In function β€˜close_invidx’: invidx.c:1076:2: warning: implicit declaration of function β€˜ftruncate’ [-Wimplicit-function-declaration] ftruncate(invidx_file[idx].fd,  ^ invidx.c:1083:2: warning: implicit declaration of function β€˜unlink’ [-Wimplicit-function-declaration] unlink(invidx_file[idx].name);  ^ [LN] inv_mgr.c [CC] list.o [LN] inv_stobj.c arch_xlate.c: In function β€˜xlate_global_hdr’: arch_xlate.c:61:2: warning: implicit declaration of function β€˜bcopy’ [-Wimplicit-function-declaration] BXLATE(gh_magic);  ^ arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:61:2: note: in expansion of macro β€˜BXLATE’ BXLATE(gh_magic);  ^ arch_xlate.c: In function β€˜xlate_drive_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:123:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_pad1);  ^ arch_xlate.c: In function β€˜xlate_media_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:180:2: note: in expansion of macro β€˜BXLATE’ BXLATE(mh_medialabel);  ^ arch_xlate.c: In function β€˜xlate_content_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:210:2: note: in expansion of macro β€˜BXLATE’ BXLATE(ch_mntpnt);  ^ arch_xlate.c: In function β€˜xlate_content_inode_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:252:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad1);  ^ arch_xlate.c: In function β€˜xlate_hnk’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:304:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad);  ^ [DEP] arch_xlate.c: In function β€˜xlate_filehdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:328:2: note: in expansion of macro β€˜BXLATE’ BXLATE(fh_pad2);  ^ [CC] menu.o arch_xlate.c: In function β€˜xlate_bstat’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:390:2: note: in expansion of macro β€˜BXLATE’ BXLATE(bs_pad);  ^ [CC] screen.o arch_xlate.c: In function β€˜xlate_extenthdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:429:2: note: in expansion of macro β€˜BXLATE’ BXLATE(eh_pad);  ^ arch_xlate.c: In function β€˜xlate_direnthdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:451:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_name);  ^ arch_xlate.c: In function β€˜xlate_direnthdr_v1’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:497:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_name);  ^ arch_xlate.c: In function β€˜xlate_rec_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:566:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad1);  ^ arch_xlate.c: In function β€˜xlate_invt_seshdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:636:2: note: in expansion of macro β€˜BXLATE’ BXLATE(sh_level);  ^ arch_xlate.c: In function β€˜xlate_invt_session’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:657:2: note: in expansion of macro β€˜BXLATE’ BXLATE(s_sesid);  ^ arch_xlate.c: In function β€˜xlate_invt_stream’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:705:2: note: in expansion of macro β€˜BXLATE’ BXLATE(st_cmdarg);  ^ arch_xlate.c: In function β€˜xlate_invt_mediafile’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:730:2: note: in expansion of macro β€˜BXLATE’ BXLATE(mf_moid);  ^ screen.c: In function β€˜put_line’: screen.c:38:5: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] msglen = strlen(msg);  ^ screen.c:38:14: warning: incompatible implicit declaration of built-in function β€˜strlen’ msglen = strlen(msg);  ^ screen.c: In function β€˜get_string’: screen.c:78:30: warning: incompatible implicit declaration of built-in function β€˜strlen’ wmove(stdscr, LINES - 1, strlen(prompt));  ^ [CC] stobj.o [CC] cldmgr.o [CC] arch_xlate.o [CC] content_common.o cldmgr.c: In function β€˜cldmgr_init’: cldmgr.c:66:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] ( void )memset( ( void * )cld, 0, sizeof( cld ));  ^ cldmgr.c:66:10: warning: incompatible implicit declaration of built-in function β€˜memset’ ( void )memset( ( void * )cld, 0, sizeof( cld ));  ^ cldmgr.c: In function β€˜cldmgr_create’: cldmgr.c:86:3: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ cldmgr.c:86:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ In file included from cldmgr.c:34:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ cldmgr.c:105:9: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( rval ));  ^ cldmgr.c:101:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ In file included from cldmgr.c:34:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ cldmgr.c: In function β€˜cldmgr_join’: cldmgr.c:151:4: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )p, 0, sizeof( cld_t ));  ^ cldmgr.c: In function β€˜cldmgr_cleanup’: cldmgr.c:250:2: warning: implicit declaration of function β€˜getpid’ [-Wimplicit-function-declaration] kill( getpid( ), SIGUSR1 );  ^ stobj.c: In function β€˜stobjsess_highlight’: stobj.c:190:5: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] txt[strlen(txt)-1] = '\0';  ^ stobj.c:190:9: warning: incompatible implicit declaration of built-in function β€˜strlen’ txt[strlen(txt)-1] = '\0';  ^ stobj.c: In function β€˜add_stobj_data’: stobj.c:364:6: warning: implicit declaration of function β€˜exit’ [-Wimplicit-function-declaration] exit(1);  ^ stobj.c:364:6: warning: incompatible implicit declaration of built-in function β€˜exit’ stobj.c:374:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c: In function β€˜generate_stobj_menu’: stobj.c:416:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:421:11: warning: incompatible implicit declaration of built-in function β€˜strlen’ len = 60+strlen(session->session->s_label);  ^ stobj.c:425:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:444:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:460:3: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:477:3: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:493:7: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:510:7: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c: In function β€˜add_stobj’: stobj.c:537:6: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c:547:3: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c: In function β€˜open_stobj’: stobj.c:582:5: warning: implicit declaration of function β€˜lseek’ [-Wimplicit-function-declaration] lseek( fd, 0, SEEK_SET );  ^ stobj.c:587:2: warning: implicit declaration of function β€˜close’ [-Wimplicit-function-declaration] close(fd);  ^ stobj.c:593:5: warning: implicit declaration of function β€˜strdup’ [-Wimplicit-function-declaration] name = strdup(StObjFileName);  ^ stobj.c:593:12: warning: incompatible implicit declaration of built-in function β€˜strdup’ name = strdup(StObjFileName);  ^ stobj.c:596:2: warning: incompatible implicit declaration of built-in function β€˜exit’ exit(1);  ^ stobj.c: In function β€˜close_stobj_file’: stobj.c:613:2: warning: implicit declaration of function β€˜unlink’ [-Wimplicit-function-declaration] unlink(stobj_file[fidx].name);  ^ content_common.c: In function β€˜Media_prompt_change’: content_common.c:65:2: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] fold_init( fold, _("change media dialog"), '=' );  ^ content_common.c:65:19: warning: passing argument 2 of β€˜fold_init’ makes pointer from integer without a cast fold_init( fold, _("change media dialog"), '=' );  ^ In file included from content_common.c:29:0: util.h:150:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void fold_init( fold_t fold, char *infostr, char c );  ^ content_common.c:74:21: warning: passing argument 2 of β€˜sprintf’ makes pointer from integer without a cast sprintf( question, _(  ^ In file included from /usr/include/features.h:366:0, from /usr/include/sys/types.h:25, from /usr/include/uuid/uuid.h:38, from /usr/include/xfs/linux.h:20, from /usr/include/xfs/xfs.h:37, from content_common.c:19: /usr/include/bits/stdio2.h:31:1: note: expected β€˜const char * __restrict__’ but argument is of type β€˜int’ __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))  ^ content_common.c:83:27: warning: assignment makes pointer from integer without a cast choicestr[ choicecnt++ ] = _("media change declined");  ^ content_common.c:85:27: warning: assignment makes pointer from integer without a cast choicestr[ choicecnt++ ] = _("media changed");  ^ content_common.c:104:22: warning: assignment makes pointer from integer without a cast ackstr[ ackcnt++ ] = _("examining new media\n");  ^ content_common.c:106:22: warning: assignment makes pointer from integer without a cast ackstr[ ackcnt++ ] = _("media change aborted\n");  ^ content_common.c:109:22: warning: assignment makes pointer from integer without a cast ackstr[ ackcnt++ ] = _("keyboard interrupt\n");  ^ content_common.c:117:19: warning: passing argument 2 of β€˜fold_init’ makes pointer from integer without a cast fold_init( fold, _("end dialog"), '-' );  ^ In file included from content_common.c:29:0: util.h:150:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void fold_init( fold_t fold, char *infostr, char c );  ^ content_common.c:129:3: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] sleep( 1 ); /* to allow main thread to begin dialog */  ^ [CC] dlog.o [CC] drive.o arch_xlate.c: In function β€˜xlate_global_hdr’: arch_xlate.c:61:2: warning: implicit declaration of function β€˜bcopy’ [-Wimplicit-function-declaration] BXLATE(gh_magic);  ^ arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:61:2: note: in expansion of macro β€˜BXLATE’ BXLATE(gh_magic);  ^ arch_xlate.c: In function β€˜xlate_drive_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:123:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_pad1);  ^ arch_xlate.c: In function β€˜xlate_media_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:180:2: note: in expansion of macro β€˜BXLATE’ BXLATE(mh_medialabel);  ^ arch_xlate.c: In function β€˜xlate_content_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:210:2: note: in expansion of macro β€˜BXLATE’ BXLATE(ch_mntpnt);  ^ arch_xlate.c: In function β€˜xlate_content_inode_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:252:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad1);  ^ arch_xlate.c: In function β€˜xlate_hnk’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:304:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad);  ^ arch_xlate.c: In function β€˜xlate_filehdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:328:2: note: in expansion of macro β€˜BXLATE’ BXLATE(fh_pad2);  ^ dlog.c: In function β€˜dlog_multi_query’: arch_xlate.c: In function β€˜xlate_bstat’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:390:2: note: in expansion of macro β€˜BXLATE’ BXLATE(bs_pad);  ^ dlog.c:213:10: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] defaultstr ? defaultstr : _(" (default)") );  ^ dlog.c:213:35: warning: pointer/integer type mismatch in conditional expression defaultstr ? defaultstr : _(" (default)") );  ^ dlog.c:221:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _(" (timeout in %u sec)"),  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:251:4: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] if ( ! strlen( buf )) {  ^ dlog.c:251:11: warning: incompatible implicit declaration of built-in function β€˜strlen’ if ( ! strlen( buf )) {  ^ dlog.c:257:18: warning: assignment makes pointer from integer without a cast prepromptstr = _(  ^ dlog.c: In function β€˜dlog_string_query’: dlog.c:310:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _(" (timeout in %u sec)\n"),  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c: In function β€˜promptinput’: dlog.c:451:4: warning: implicit declaration of function β€˜read’ [-Wimplicit-function-declaration] nread = read( dlog_ttyfd, bufp, bufsz );  ^ dlog.c:486:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("timeout\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:490:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("keyboard interrupt\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:495:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("hangup\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:499:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("terminate\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:503:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("keyboard quit\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:508:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("abnormal dialog termination\n"));  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ arch_xlate.c: In function β€˜xlate_extenthdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:429:2: note: in expansion of macro β€˜BXLATE’ BXLATE(eh_pad);  ^ arch_xlate.c: In function β€˜xlate_direnthdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:451:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_name);  ^ arch_xlate.c: In function β€˜xlate_direnthdr_v1’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:497:2: note: in expansion of macro β€˜BXLATE’ BXLATE(dh_name);  ^ arch_xlate.c: In function β€˜xlate_rec_hdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:566:2: note: in expansion of macro β€˜BXLATE’ BXLATE(pad1);  ^ arch_xlate.c: In function β€˜xlate_invt_seshdr’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:636:2: note: in expansion of macro β€˜BXLATE’ BXLATE(sh_level);  ^ arch_xlate.c: In function β€˜xlate_invt_session’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:657:2: note: in expansion of macro β€˜BXLATE’ BXLATE(s_sesid);  ^ arch_xlate.c: In function β€˜xlate_invt_stream’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:705:2: note: in expansion of macro β€˜BXLATE’ BXLATE(st_cmdarg);  ^ arch_xlate.c: In function β€˜xlate_invt_mediafile’: arch_xlate.c:37:2: warning: incompatible implicit declaration of built-in function β€˜bcopy’ bcopy(&(ptr1)->MEMBER, &(ptr2)->MEMBER, sizeof((ptr1)->MEMBER))  ^ arch_xlate.c:730:2: note: in expansion of macro β€˜BXLATE’ BXLATE(mf_moid);  ^ drive.c: In function β€˜drive_init1’: drive.c:132:11: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive.c:132:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:151:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( optind < argc && ! strcmp( argv[ optind ], "-" )) {  ^ drive.c:155:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot specify source files and stdout together\n")  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:186:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no destination file(s) specified\n")  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:223:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("using %s strategy\n"),  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ [CC] drive_scsitape.o [CC] drive_simple.o [CC] drive_minrmt.o [LD] xfsinvutil drive_scsitape.c: In function β€˜is_scsi_driver’: drive_scsitape.c:457:2: warning: implicit declaration of function β€˜realpath’ [-Wimplicit-function-declaration] if (realpath(pathname, rp) == NULL) {  ^ drive_scsitape.c:457:29: warning: comparison between pointer and integer if (realpath(pathname, rp) == NULL) {  ^ drive_scsitape.c: In function β€˜ds_match’: drive_scsitape.c:517:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_scsitape.c:521:2: warning: implicit declaration of function β€˜strchr’ [-Wimplicit-function-declaration] if ( strchr( drivep->d_pathname, ':')) {  ^ drive_scsitape.c:521:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':')) {  ^ drive_scsitape.c: In function β€˜ds_instantiate’: drive_scsitape.c:568:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ drive_scsitape.c:568:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_scsitape.c:593:11: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive_scsitape.c:593:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:597:4: warning: implicit declaration of function β€˜atoi’ [-Wimplicit-function-declaration] contextp->dc_ringlen = ( size_t )atoi( optarg );  ^ drive_scsitape.c:602:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:626:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:639:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:647:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be a "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:693:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to allocate memory "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:697:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not enough physical memory "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:701:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not allowed "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:712:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_scsitape.c: In function β€˜do_read’: drive_scsitape.c:963:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, availcnt );  ^ drive_scsitape.c: In function β€˜do_return_read_buf’: drive_scsitape.c:993:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ drive_scsitape.c: In function β€˜do_seek_mark’: drive_scsitape.c:1280:12: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( saved_errno ));  ^ drive_scsitape.c:1275:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space %d "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1342:14: warning: variable β€˜recoff’ set but not used [-Wunused-but-set-variable] u_int32_t recoff;  ^ drive_scsitape.c: In function β€˜do_next_mark’: drive_scsitape.c:1522:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to locate next mark in media file\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1574:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1602:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("valid record %lld but no mark\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1628:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("resynchronized at record %lld offset %u\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1641:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space one tape block beyond "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1671:2: warning: implicit declaration of function β€˜memcpy’ [-Wimplicit-function-declaration] memcpy( ( void * )contextp->dc_recp,  ^ drive_scsitape.c:1671:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ drive_scsitape.c: In function β€˜do_begin_write’: drive_scsitape.c:1806:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )contextp->dc_recp, 0, tape_recsz );  ^ drive_scsitape.c: In function β€˜do_get_align_cnt’: drive_scsitape.c:2122:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_scsitape.c:2143:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_scsitape.c:2143:25: note: each undeclared identifier is reported only once for each function it appears in drive_scsitape.c:2143:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_scsitape.c:2146:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_scsitape.c: In function β€˜do_fsf’: drive_scsitape.c:2426:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("advancing tape to next media file\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2453:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("FSF tape command failed\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜do_display_metrics’: drive_scsitape.c:2727:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("drive %u "),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜read_label’: drive_scsitape.c:2867:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("file mark missing from tape (hit EOD)\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2870:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("writing file mark at EOD\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2874:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to write file mark at eod: %s (%d)\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2891:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("file mark missing from tape\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2930:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not read from drive: %s (%d)\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2940:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpectedly encountered EOD at BOT: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2990:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpectedly encountered a file mark: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜validate_media_file_hdr’: drive_scsitape.c:3026:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( tmpbuf, contextp->dc_recp, GLOBAL_HDR_SZ );  ^ drive_scsitape.c:3070:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC,GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_scsitape.c: In function β€˜set_fixed_blksz’: drive_scsitape.c:3196:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to set block size to %d\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜set_recommended_sizes’: drive_scsitape.c:3289:24: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_WARNING, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜ds_match’: drive_simple.c:193:2: warning: implicit declaration of function β€˜strchr’ [-Wimplicit-function-declaration] if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:193:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:205:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_scsitape.c: In function β€˜determine_write_error’: drive_simple.c: In function β€˜ds_instantiate’: drive_scsitape.c:3566:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape is write protected\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3576:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape media error on write operation\n"));  ^ drive_simple.c:239:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3579:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no more data can be written to this tape\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:239:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_simple.c:243:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:276:10: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("unable to open %s: %s\n"),  ^ drive_simple.c:278:10: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( errno ));  ^ drive_simple.c:276:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to open %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:290:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("stat of %s failed: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:320:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot dump to %s "  ^ drive_scsitape.c: In function β€˜display_access_failed_message’: drive_scsitape.c:3743:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to access/open remote "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3750:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to access/open device %s failed: %d (%s)\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜status_failed_message’: drive_scsitape.c:3779:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to get status of remote "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3786:5: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to get status of "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜prepare_drive’: drive_scsitape.c:3870:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("preparing drive\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3877:2: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] for ( try = 1 ; ; sleep( 10 ), try++ ) {  ^ drive_scsitape.c:3919:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape is write protected\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3954:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("giving up waiting for drive "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3962:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape drive %s is not ready (0x%x): "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3983:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4062:51: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4122:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace/rewind media\n") );  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4148:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace/rewind media\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:361:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to open %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4446:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4478:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("likely problem is that the block size, %d, "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4482:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("either try using a smaller block size with "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4497:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header version (%d) "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4508:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("may be an EFS dump at BOT\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4511:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("bad media file header at BOT "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4553:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4557:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("will rewind and try again\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4563:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4581:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4592:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4596:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("will rewind and try again\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4602:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4622:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜quick_backup’: drive_scsitape.c:4778:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace tape: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜record_hdr_validate’: drive_scsitape.c:4806:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad record checksum\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4816:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad magic number\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4824:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: null dump id\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4832:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: dump id mismatch\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4838:50: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4846:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: record offset in header "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4858:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4869:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4875:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy(tmprh, rechdrp, sizeof(*rechdrp));  ^ drive_scsitape.c: In function β€˜read_record’: drive_scsitape.c:4957:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜write_record’: drive_scsitape.c:5042:3: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( &rechdr, bufp, sizeof(rechdr) );  ^ drive_scsitape.c: In function β€˜display_ring_metrics’: drive_scsitape.c:5154:49: warning: pointer/integer type mismatch in conditional expression contextp->dc_ringpinnedpr ? _("pinned ") : "",  ^ drive_scsitape.c:5146:20: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( mlog_flags, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_begin_read’: drive_simple.c:509:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header checksum error\n") );  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:525:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC, GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_simple.c:527:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header magic number mismatch: %s, %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:537:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unrecognized media file header version (%d)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:546:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unrecognized drive strategy ID "  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_read’: drive_simple.c:650:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, remainingcnt );  ^ drive_simple.c: In function β€˜do_return_read_buf’: drive_simple.c:676:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ drive_simple.c: In function β€˜do_seek_mark’: drive_simple.c:739:11: warning: variable β€˜nread’ set but not used [-Wunused-but-set-variable] intgen_t nread;  ^ drive_simple.c: In function β€˜do_begin_write’: drive_simple.c:904:3: warning: implicit declaration of function β€˜ftruncate’ [-Wimplicit-function-declaration] rval = ftruncate( contextp->dc_fd, 0 );  ^ drive_simple.c:907:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to truncate %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:920:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset(tmphdr, 0, GLOBAL_HDR_SZ);  ^ drive_simple.c:957:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header checksum error\n") );  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_set_mark’: drive_simple.c:1066:4: warning: implicit declaration of function β€˜lseek64’ [-Wimplicit-function-declaration] newoff = lseek64( contextp->dc_fd, ( off64_t )0, SEEK_SET );  ^ drive_simple.c:1069:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not save first mark: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1050:14: warning: variable β€˜nwritten’ set but not used [-Wunused-but-set-variable] intgen_t nwritten;  ^ drive_simple.c: In function β€˜do_write’: drive_minrmt.c: In function β€˜ds_match’: drive_minrmt.c:416:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_minrmt.c:433:6: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive_minrmt.c:433:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:437:8: warning: implicit declaration of function β€˜atoi’ [-Wimplicit-function-declaration] cmdlineblksize = ( u_int32_t )atoi( optarg );  ^ drive_minrmt.c:455:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("Minimal rmt cannot be used without specifying blocksize. Use -%c\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜ds_instantiate’: drive_minrmt.c:488:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ drive_minrmt.c:488:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_minrmt.c:511:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:520:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:545:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("Overwrite command line option\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:550:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1273:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("write to %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_get_align_cnt’: drive_simple.c:1297:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_simple.c:1314:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_simple.c:1314:25: note: each undeclared identifier is reported only once for each function it appears in drive_simple.c:1314:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_simple.c:1317:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_minrmt.c:557:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be a "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_end_write’: drive_simple.c:1367:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("write to %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:603:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to allocate memory "  ^ drive_simple.c: In function β€˜do_rewind’: drive_simple.c:1421:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not rewind %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_erase’: drive_simple.c:1457:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not rewind %s in prep for erase: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1465:2: warning: implicit declaration of function β€˜ftruncate64’ [-Wimplicit-function-declaration] rval = ftruncate64( contextp->dc_fd, ( off64_t )0 );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1468:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not erase %s: %s (%d)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:607:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not enough physical memory "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:611:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not allowed "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜do_read’: drive_minrmt.c:850:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, availcnt );  ^ drive_minrmt.c: In function β€˜do_return_read_buf’: drive_minrmt.c:880:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ drive_minrmt.c: In function β€˜do_seek_mark’: drive_minrmt.c:1167:12: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( saved_errno ));  ^ drive_minrmt.c:1162:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space %d "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1229:14: warning: variable β€˜recoff’ set but not used [-Wunused-but-set-variable] u_int32_t recoff;  ^ ../include/buildrules:46: recipe for target 'drive_scsitape.o' failed gmake[2]: *** [drive_scsitape.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... drive_minrmt.c: In function β€˜do_next_mark’: drive_minrmt.c:1407:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to locate next mark in media file\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1431:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected error attempting to read record: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1458:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("valid record %lld but no mark\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1484:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("resynchronized at record %lld "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1498:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space one tape block beyond "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1528:2: warning: implicit declaration of function β€˜memcpy’ [-Wimplicit-function-declaration] memcpy( ( void * )contextp->dc_recp,  ^ drive_minrmt.c:1528:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ drive_minrmt.c: In function β€˜do_begin_write’: drive_minrmt.c:1656:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )contextp->dc_recp, 0, tape_recsz );  ^ [CC] cldmgr.o drive_minrmt.c: In function β€˜do_get_align_cnt’: drive_minrmt.c:1972:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_minrmt.c:1993:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_minrmt.c:1993:25: note: each undeclared identifier is reported only once for each function it appears in drive_minrmt.c:1993:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_minrmt.c:1996:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_minrmt.c: In function β€˜do_fsf’: ../include/buildrules:46: recipe for target 'drive_simple.o' failed gmake[2]: *** [drive_simple.o] Error 1 drive_minrmt.c:2243:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("advancing tape to next media file\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2265:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("FSF tape command failed\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜do_display_metrics’: drive_minrmt.c:2489:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("drive %u "),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜read_label’: drive_minrmt.c:2573:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not read from drive: %s (%d)\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2586:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("encountered EOD : assuming blank media\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜validate_media_file_hdr’: drive_minrmt.c:2631:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( tmpbuf, contextp->dc_recp, GLOBAL_HDR_SZ );  ^ drive_minrmt.c:2643:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape record checksum error\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2659:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC,GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_minrmt.c: In function β€˜set_recommended_sizes’: drive_minrmt.c:2757:24: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_WARNING, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜determine_write_error’: drive_minrmt.c:2878:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape is write protected\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2890:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape media error on write operation\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2893:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no more data can be written to this tape\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ [CC] dlog.o drive_minrmt.c: In function β€˜display_access_failed_message’: drive_minrmt.c:3042:34: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜prepare_drive’: drive_minrmt.c:3080:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("preparing drive\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3086:2: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] for ( try = 1 ; ; sleep( 10 ), try++ ) {  ^ drive_minrmt.c:3167:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("giving up attempt to determining "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3281:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3304:37: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3316:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("may be an EFS dump at BOT\n"));  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3321:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("This tape was erased earlier "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3327:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("bad media file header at BOT "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3354:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3357:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3375:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜record_hdr_validate’: drive_minrmt.c:3526:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad record checksum\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3536:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad magic number\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3544:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: null dump id\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3552:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: dump id mismatch\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3577:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: record offset in header "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3589:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3600:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3606:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy(tmprh, rechdrp, sizeof(*rechdrp));  ^ drive_minrmt.c: In function β€˜read_record’: drive_minrmt.c:3637:3: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("read_record encountered EOD : assuming blank media\n")  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3655:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected EIO error attempting to read record\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3678:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected error attempting to read record %lld: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜write_record’: drive_minrmt.c:3762:3: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( &rechdr, bufp, sizeof(rechdr) );  ^ drive_minrmt.c: In function β€˜display_ring_metrics’: drive_minrmt.c:3851:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("KB");  ^ drive_minrmt.c:3856:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("MB");  ^ drive_minrmt.c:3859:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("KB");  ^ drive_minrmt.c:3870:49: warning: pointer/integer type mismatch in conditional expression contextp->dc_ringpinnedpr ? _("pinned ") : "",  ^ drive_minrmt.c:3862:20: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( mlog_flags, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜erase_and_verify’: drive_minrmt.c:3934:2: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy( tempbufp, ERASE_MAGIC );  ^ drive_minrmt.c:3934:2: warning: incompatible implicit declaration of built-in function β€˜strcpy’ ../include/buildrules:46: recipe for target 'drive_minrmt.o' failed gmake[2]: *** [drive_minrmt.o] Error 1 include/buildrules:22: recipe for target 'dump' failed gmake[1]: *** [dump] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [CC] drive.o cldmgr.c: In function β€˜cldmgr_init’: cldmgr.c:66:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] ( void )memset( ( void * )cld, 0, sizeof( cld ));  ^ cldmgr.c:66:10: warning: incompatible implicit declaration of built-in function β€˜memset’ ( void )memset( ( void * )cld, 0, sizeof( cld ));  ^ cldmgr.c: In function β€˜cldmgr_create’: cldmgr.c:86:3: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ cldmgr.c:86:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ In file included from cldmgr.c:34:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ cldmgr.c:105:9: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( rval ));  ^ cldmgr.c:101:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_PROC, _(  ^ In file included from cldmgr.c:34:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ cldmgr.c: In function β€˜cldmgr_join’: cldmgr.c:151:4: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )p, 0, sizeof( cld_t ));  ^ cldmgr.c: In function β€˜cldmgr_cleanup’: cldmgr.c:250:2: warning: implicit declaration of function β€˜getpid’ [-Wimplicit-function-declaration] kill( getpid( ), SIGUSR1 );  ^ dlog.c: In function β€˜dlog_init’: dlog.c:90:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( optind < argc && ! strcmp( argv[ optind ], "-" )) {  ^ dlog.c: In function β€˜dlog_multi_query’: dlog.c:213:10: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] defaultstr ? defaultstr : _(" (default)") );  ^ dlog.c:213:35: warning: pointer/integer type mismatch in conditional expression defaultstr ? defaultstr : _(" (default)") );  ^ dlog.c:221:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _(" (timeout in %u sec)"),  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:251:4: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] if ( ! strlen( buf )) {  ^ dlog.c:251:11: warning: incompatible implicit declaration of built-in function β€˜strlen’ if ( ! strlen( buf )) {  ^ dlog.c:257:18: warning: assignment makes pointer from integer without a cast prepromptstr = _(  ^ dlog.c: In function β€˜dlog_string_query’: dlog.c:310:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _(" (timeout in %u sec)\n"),  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c: In function β€˜promptinput’: dlog.c:451:4: warning: implicit declaration of function β€˜read’ [-Wimplicit-function-declaration] nread = read( dlog_ttyfd, bufp, bufsz );  ^ dlog.c:486:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("timeout\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:490:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("keyboard interrupt\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:495:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("hangup\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:499:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("terminate\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:503:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("keyboard quit\n") );  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ dlog.c:508:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("abnormal dialog termination\n"));  ^ In file included from dlog.c:31:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c: In function β€˜drive_init1’: drive.c:132:11: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive.c:132:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:151:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( optind < argc && ! strcmp( argv[ optind ], "-" )) {  ^ drive.c:158:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot specify source files and stdin together\n")  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:189:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no source file(s) specified\n")  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive.c:223:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("using %s strategy\n"),  ^ In file included from drive.c:27:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ [CC] drive_scsitape.o [CC] drive_simple.o drive_scsitape.c: In function β€˜is_scsi_driver’: drive_scsitape.c:457:2: warning: implicit declaration of function β€˜realpath’ [-Wimplicit-function-declaration] if (realpath(pathname, rp) == NULL) {  ^ drive_scsitape.c:457:29: warning: comparison between pointer and integer if (realpath(pathname, rp) == NULL) {  ^ drive_scsitape.c: In function β€˜ds_match’: drive_scsitape.c:517:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_scsitape.c:521:2: warning: implicit declaration of function β€˜strchr’ [-Wimplicit-function-declaration] if ( strchr( drivep->d_pathname, ':')) {  ^ drive_scsitape.c:521:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':')) {  ^ drive_scsitape.c: In function β€˜ds_instantiate’: drive_scsitape.c:568:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ drive_scsitape.c:568:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_scsitape.c:593:11: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive_scsitape.c:593:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:597:4: warning: implicit declaration of function β€˜atoi’ [-Wimplicit-function-declaration] contextp->dc_ringlen = ( size_t )atoi( optarg );  ^ drive_scsitape.c:602:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:626:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:693:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to allocate memory "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:697:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not enough physical memory "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:701:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not allowed "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:712:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_scsitape.c: In function β€˜do_read’: drive_scsitape.c:963:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, availcnt );  ^ drive_scsitape.c: In function β€˜do_return_read_buf’: drive_scsitape.c:993:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ drive_scsitape.c: In function β€˜do_seek_mark’: drive_scsitape.c:1280:12: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( saved_errno ));  ^ drive_scsitape.c:1275:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space %d "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1342:14: warning: variable β€˜recoff’ set but not used [-Wunused-but-set-variable] u_int32_t recoff;  ^ drive_scsitape.c: In function β€˜do_next_mark’: drive_scsitape.c:1522:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to locate next mark in media file\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1574:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1602:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("valid record %lld but no mark\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1628:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("resynchronized at record %lld offset %u\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1641:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space one tape block beyond "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:1671:2: warning: implicit declaration of function β€˜memcpy’ [-Wimplicit-function-declaration] memcpy( ( void * )contextp->dc_recp,  ^ drive_scsitape.c:1671:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ drive_scsitape.c: In function β€˜do_begin_write’: drive_scsitape.c:1806:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )contextp->dc_recp, 0, tape_recsz );  ^ drive_scsitape.c: In function β€˜do_get_align_cnt’: drive_scsitape.c:2122:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_scsitape.c:2143:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_scsitape.c:2143:25: note: each undeclared identifier is reported only once for each function it appears in drive_scsitape.c:2143:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_scsitape.c:2146:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_scsitape.c: In function β€˜do_fsf’: drive_scsitape.c:2426:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("advancing tape to next media file\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2453:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("FSF tape command failed\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜do_display_metrics’: drive_scsitape.c:2727:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("drive %u "),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜read_label’: drive_scsitape.c:2867:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("file mark missing from tape (hit EOD)\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2891:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("file mark missing from tape\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2930:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not read from drive: %s (%d)\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2940:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpectedly encountered EOD at BOT: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:2990:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpectedly encountered a file mark: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜validate_media_file_hdr’: drive_scsitape.c:3026:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( tmpbuf, contextp->dc_recp, GLOBAL_HDR_SZ );  ^ drive_scsitape.c:3070:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC,GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_scsitape.c: In function β€˜set_fixed_blksz’: drive_scsitape.c:3196:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to set block size to %d\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜determine_write_error’: drive_scsitape.c:3566:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape is write protected\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3576:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape media error on write operation\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3579:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no more data can be written to this tape\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜display_access_failed_message’: drive_scsitape.c:3743:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to access/open remote "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3750:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to access/open device %s failed: %d (%s)\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜status_failed_message’: drive_scsitape.c:3779:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to get status of remote "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3786:5: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to get status of "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜prepare_drive’: drive_scsitape.c:3870:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("preparing drive\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3877:2: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] for ( try = 1 ; ; sleep( 10 ), try++ ) {  ^ drive_scsitape.c:3954:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("giving up waiting for drive "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3962:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape drive %s is not ready (0x%x): "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:3983:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4062:51: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4122:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace/rewind media\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4148:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace/rewind media\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4446:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4478:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("likely problem is that the block size, %d, "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4482:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("either try using a smaller block size with "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4497:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header version (%d) "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4508:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("may be an EFS dump at BOT\n"));  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4511:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("bad media file header at BOT "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4553:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4557:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("will rewind and try again\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4563:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4581:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4592:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4596:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("will rewind and try again\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4602:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4622:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜quick_backup’: drive_scsitape.c:4778:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to backspace tape: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜record_hdr_validate’: drive_scsitape.c:4806:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad record checksum\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4816:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad magic number\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4824:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: null dump id\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4832:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: dump id mismatch\n"),  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4838:50: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4846:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: record offset in header "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4858:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4869:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c:4875:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy(tmprh, rechdrp, sizeof(*rechdrp));  ^ drive_scsitape.c: In function β€˜read_record’: drive_scsitape.c:4957:47: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_scsitape.c: In function β€˜write_record’: drive_scsitape.c:5042:3: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( &rechdr, bufp, sizeof(rechdr) );  ^ drive_scsitape.c: In function β€˜display_ring_metrics’: drive_scsitape.c:5154:49: warning: pointer/integer type mismatch in conditional expression contextp->dc_ringpinnedpr ? _("pinned ") : "",  ^ drive_scsitape.c:5146:20: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( mlog_flags, _(  ^ In file included from drive_scsitape.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ [CC] drive_minrmt.o [CC] fs.o [CC] getdents.o drive_simple.c: In function β€˜ds_match’: drive_simple.c:193:2: warning: implicit declaration of function β€˜strchr’ [-Wimplicit-function-declaration] if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:193:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:205:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_simple.c: In function β€˜ds_instantiate’: drive_simple.c:239:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ drive_simple.c:239:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_simple.c:243:7: warning: incompatible implicit declaration of built-in function β€˜strchr’ if ( strchr( drivep->d_pathname, ':') ) {  ^ drive_simple.c:276:10: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("unable to open %s: %s\n"),  ^ drive_simple.c:278:10: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( errno ));  ^ drive_simple.c:276:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to open %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:331:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("stat of %s failed: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:350:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot restore from %s file type %x\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:361:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to open %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_begin_read’: drive_simple.c:509:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header checksum error\n") );  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:525:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC, GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_simple.c:527:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header magic number mismatch: %s, %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:537:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unrecognized media file header version (%d)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:546:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unrecognized drive strategy ID "  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_read’: drive_simple.c:650:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, remainingcnt );  ^ drive_simple.c: In function β€˜do_return_read_buf’: drive_simple.c:676:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ drive_simple.c: In function β€˜do_seek_mark’: drive_simple.c:739:11: warning: variable β€˜nread’ set but not used [-Wunused-but-set-variable] intgen_t nread;  ^ drive_simple.c: In function β€˜do_begin_write’: drive_simple.c:904:3: warning: implicit declaration of function β€˜ftruncate’ [-Wimplicit-function-declaration] rval = ftruncate( contextp->dc_fd, 0 );  ^ drive_simple.c:907:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("attempt to truncate %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:920:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset(tmphdr, 0, GLOBAL_HDR_SZ);  ^ drive_simple.c:957:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("media file header checksum error\n") );  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ ../include/buildrules:46: recipe for target 'drive_scsitape.o' failed gmake[2]: *** [drive_scsitape.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... drive_simple.c: In function β€˜do_set_mark’: drive_simple.c:1066:4: warning: implicit declaration of function β€˜lseek64’ [-Wimplicit-function-declaration] newoff = lseek64( contextp->dc_fd, ( off64_t )0, SEEK_SET );  ^ drive_simple.c:1069:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not save first mark: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1050:14: warning: variable β€˜nwritten’ set but not used [-Wunused-but-set-variable] intgen_t nwritten;  ^ drive_simple.c: In function β€˜do_write’: drive_simple.c:1273:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("write to %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_get_align_cnt’: drive_simple.c:1297:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_simple.c:1314:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_simple.c:1314:25: note: each undeclared identifier is reported only once for each function it appears in drive_simple.c:1314:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_simple.c:1317:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_simple.c: In function β€˜do_end_write’: drive_simple.c:1367:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("write to %s failed: %d (%s)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_rewind’: drive_simple.c:1421:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not rewind %s: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c: In function β€˜do_erase’: drive_simple.c:1457:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not rewind %s in prep for erase: %s\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_simple.c:1465:2: warning: implicit declaration of function β€˜ftruncate64’ [-Wimplicit-function-declaration] rval = ftruncate64( contextp->dc_fd, ( off64_t )0 );  ^ drive_simple.c:1468:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not erase %s: %s (%d)\n"),  ^ In file included from drive_simple.c:32:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ ../include/buildrules:46: recipe for target 'drive_simple.o' failed gmake[2]: *** [drive_simple.o] Error 1 fs.c: In function β€˜fs_info’: fs.c:131:4: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy( blkb, blks );  ^ fs.c:131:4: warning: incompatible implicit declaration of built-in function β€˜strcpy’ fs.c:151:3: warning: incompatible implicit declaration of built-in function β€˜strcpy’ strcpy( blkb, blks );  ^ fs.c:173:10: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( errno ));  ^ fs.c: In function β€˜fs_mounted’: fs.c:196:2: warning: implicit declaration of function β€˜strlen’ [-Wimplicit-function-declaration] return strlen( mnts ) > 0 ? BOOL_TRUE : BOOL_FALSE;  ^ fs.c:196:9: warning: incompatible implicit declaration of built-in function β€˜strlen’ return strlen( mnts ) > 0 ? BOOL_TRUE : BOOL_FALSE;  ^ drive_minrmt.c: In function β€˜ds_match’: drive_minrmt.c:416:2: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( drivep->d_pathname, "stdio" )) {  ^ drive_minrmt.c:433:6: warning: implicit declaration of function β€˜_’ [-Wimplicit-function-declaration] _("-%c argument missing\n"),  ^ drive_minrmt.c:433:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:437:8: warning: implicit declaration of function β€˜atoi’ [-Wimplicit-function-declaration] cmdlineblksize = ( u_int32_t )atoi( optarg );  ^ drive_minrmt.c:455:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("Minimal rmt cannot be used without specifying blocksize. Use -%c\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜ds_instantiate’: drive_minrmt.c:488:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )contextp, 0, sizeof( *contextp ));  ^ drive_minrmt.c:488:2: warning: incompatible implicit declaration of built-in function β€˜memset’ drive_minrmt.c:511:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument missing\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:520:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("-%c argument must be "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:603:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to allocate memory "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:607:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not enough physical memory "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:611:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("not allowed "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ fs.c: In function β€˜fs_getid’: fs.c:212:3: warning: implicit declaration of function β€˜close’ [-Wimplicit-function-declaration] close(fd);  ^ drive_minrmt.c: In function β€˜do_read’: drive_minrmt.c:850:2: warning: implicit declaration of function β€˜min’ [-Wimplicit-function-declaration] actualcnt = min( wantedcnt, availcnt );  ^ fs.c: In function β€˜fs_tab_ent_build’: fs.c:287:19: warning: incompatible implicit declaration of built-in function β€˜strlen’ cp = calloc( 1, strlen( mntentp->mnt_dir ) + 1 );  ^ fs.c:289:11: warning: incompatible implicit declaration of built-in function β€˜strcpy’ ( void )strcpy( cp, mntentp->mnt_dir );  ^ fs.c:296:19: warning: incompatible implicit declaration of built-in function β€˜strlen’ cp = calloc( 1, strlen( mntentp->mnt_type ) + 1 );  ^ fs.c:298:11: warning: incompatible implicit declaration of built-in function β€˜strcpy’ ( void )strcpy( cp, mntentp->mnt_type );  ^ fs.c:305:19: warning: incompatible implicit declaration of built-in function β€˜strlen’ cp = calloc( 1, strlen( mntentp->mnt_fsname ) + 1 );  ^ fs.c:307:11: warning: incompatible implicit declaration of built-in function β€˜strcpy’ ( void )strcpy( cp, mntentp->mnt_fsname );  ^ drive_minrmt.c: In function β€˜do_return_read_buf’: drive_minrmt.c:880:9: warning: variable β€˜ownedcnt’ set but not used [-Wunused-but-set-variable] size_t ownedcnt;  ^ fs.c: In function β€˜fs_tab_ent_free’: fs.c:322:2: warning: implicit declaration of function β€˜memset’ [-Wimplicit-function-declaration] memset( ( void * )tep, 0, sizeof( *tep )); /* bug catcher */  ^ fs.c:322:2: warning: incompatible implicit declaration of built-in function β€˜memset’ fs.c: In function β€˜fs_tab_lookup_blk’: fs.c:341:3: warning: implicit declaration of function β€˜strcmp’ [-Wimplicit-function-declaration] if ( ! strcmp( tep->fte_blks, blks )) {  ^ drive_minrmt.c: In function β€˜do_seek_mark’: drive_minrmt.c:1167:12: warning: implicit declaration of function β€˜strerror’ [-Wimplicit-function-declaration] strerror( saved_errno ));  ^ drive_minrmt.c:1162:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space %d "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1229:14: warning: variable β€˜recoff’ set but not used [-Wunused-but-set-variable] u_int32_t recoff;  ^ drive_minrmt.c: In function β€˜do_next_mark’: drive_minrmt.c:1407:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unable to locate next mark in media file\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1431:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected error attempting to read record: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1458:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("valid record %lld but no mark\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1484:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("resynchronized at record %lld "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1498:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not forward space one tape block beyond "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:1528:2: warning: implicit declaration of function β€˜memcpy’ [-Wimplicit-function-declaration] memcpy( ( void * )contextp->dc_recp,  ^ drive_minrmt.c:1528:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ drive_minrmt.c: In function β€˜do_begin_write’: drive_minrmt.c:1656:2: warning: incompatible implicit declaration of built-in function β€˜memset’ memset( ( void * )contextp->dc_recp, 0, tape_recsz );  ^ drive_minrmt.c: In function β€˜do_get_align_cnt’: drive_minrmt.c:1972:2: error: unknown type name β€˜__psint_t’ __psint_t next_alignment_off;  ^ drive_minrmt.c:1993:25: error: β€˜__psint_t’ undeclared (first use in this function) next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_minrmt.c:1993:25: note: each undeclared identifier is reported only once for each function it appears in drive_minrmt.c:1993:36: error: expected β€˜;’ before β€˜contextp’ next_alignment_off = ( __psint_t )contextp->dc_nextp;  ^ drive_minrmt.c:1996:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] next_alignment_point = ( char * )next_alignment_off;  ^ drive_minrmt.c: In function β€˜do_fsf’: drive_minrmt.c:2243:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("advancing tape to next media file\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2265:6: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("FSF tape command failed\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜do_display_metrics’: drive_minrmt.c:2489:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("drive %u "),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜read_label’: drive_minrmt.c:2573:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("could not read from drive: %s (%d)\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2589:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("encountered EOD : end of data\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜validate_media_file_hdr’: drive_minrmt.c:2631:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( tmpbuf, contextp->dc_recp, GLOBAL_HDR_SZ );  ^ drive_minrmt.c:2643:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape record checksum error\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2659:2: warning: implicit declaration of function β€˜strncmp’ [-Wimplicit-function-declaration] if ( strncmp( grhdrp->gh_magic, GLOBAL_HDR_MAGIC,GLOBAL_HDR_MAGIC_SZ)) {  ^ drive_minrmt.c: In function β€˜determine_write_error’: drive_minrmt.c:2878:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape is write protected\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2890:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("tape media error on write operation\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:2893:4: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("no more data can be written to this tape\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜display_access_failed_message’: drive_minrmt.c:3042:34: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜prepare_drive’: drive_minrmt.c:3080:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("preparing drive\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3086:2: warning: implicit declaration of function β€˜sleep’ [-Wimplicit-function-declaration] for ( try = 1 ; ; sleep( 10 ), try++ ) {  ^ drive_minrmt.c:3167:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("giving up attempt to determining "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3281:48: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3304:37: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( MLOG_NORMAL | MLOG_DRIVE, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3316:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("may be an EFS dump at BOT\n"));  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3321:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("This tape was erased earlier "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3327:12: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("bad media file header at BOT "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3354:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3357:11: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("assuming media is corrupt "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3375:10: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("cannot determine tape block size\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜record_hdr_validate’: drive_minrmt.c:3526:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad record checksum\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3536:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: bad magic number\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3544:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: null dump id\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3552:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: dump id mismatch\n"),  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3577:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: record offset in header "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3589:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3600:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("record %lld corrupt: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3606:2: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy(tmprh, rechdrp, sizeof(*rechdrp));  ^ drive_minrmt.c: In function β€˜read_record’: drive_minrmt.c:3640:3: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("read_record encountered EOD : end of data\n")  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3655:9: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected EIO error attempting to read record\n") );  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c:3678:8: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast _("unexpected error attempting to read record %lld: "  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜write_record’: drive_minrmt.c:3762:3: warning: incompatible implicit declaration of built-in function β€˜memcpy’ memcpy( &rechdr, bufp, sizeof(rechdr) );  ^ drive_minrmt.c: In function β€˜display_ring_metrics’: drive_minrmt.c:3851:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("KB");  ^ drive_minrmt.c:3856:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("MB");  ^ drive_minrmt.c:3859:13: warning: assignment makes pointer from integer without a cast bufszsfxp = _("KB");  ^ drive_minrmt.c:3870:49: warning: pointer/integer type mismatch in conditional expression contextp->dc_ringpinnedpr ? _("pinned ") : "",  ^ drive_minrmt.c:3862:20: warning: passing argument 2 of β€˜mlog’ makes pointer from integer without a cast mlog( mlog_flags, _(  ^ In file included from drive_minrmt.c:37:0: mlog.h:112:13: note: expected β€˜char *’ but argument is of type β€˜int’ extern void mlog( intgen_t level, char *fmt, ... );  ^ drive_minrmt.c: In function β€˜erase_and_verify’: drive_minrmt.c:3934:2: warning: implicit declaration of function β€˜strcpy’ [-Wimplicit-function-declaration] strcpy( tempbufp, ERASE_MAGIC );  ^ drive_minrmt.c:3934:2: warning: incompatible implicit declaration of built-in function β€˜strcpy’ ../include/buildrules:46: recipe for target 'drive_minrmt.o' failed gmake[2]: *** [drive_minrmt.o] Error 1 include/buildrules:22: recipe for target 'restore' failed gmake[1]: *** [restore] Error 2 Makefile:53: recipe for target 'default' failed make: *** [default] Error 2 * ERROR: sys-fs/xfsdump-3.1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/xfsdump-3.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/xfsdump-3.1.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/xfsdump-3.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/xfsdump-3.1.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4' * S: '/var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4'