Build errors with current xfstests

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



I am getting the following build error with current xfstests on
Ubuntu.  Any thoughts?

Building src
    [CC]    iogen
iogen.c: In function 'create_file':
iogen.c:996:3: error: #error Dont know how to (pre)allocate space!
  996 | # error Dont know how to (pre)allocate space!
      |   ^~~~~
iogen.c: In function 'main':
iogen.c:280:9: warning: ignoring return value of 'write' declared with
attribute 'warn_unused_result' [-Wunused-result]
  280 |         write(outfd, (char *)&req, sizeof(req));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iogen.c: In function 'parse_cmdline':
iogen.c:1535:17: warning: ignoring return value of 'getcwd' declared
with attribute 'warn_unused_result' [-Wunused-result]
 1535 |                 getcwd(fptr->f_path,
      |                 ^~~~~~~~~~~~~~~~~~~~
 1536 |                        sizeof(fptr->f_path)-1);
      |                        ~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [Makefile:51: iogen] Error 1
gmake[1]: *** [include/buildrules:31: ltp] Error 2
make: *** [Makefile:51: default] Error 2



-- 
Thanks,

Steve




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux