nevermind - was on the wrong branch. Now on updated master branch I get a different error, will retry on current for-next branch Building shared gmake[3]: *** No targets specified and no makefile found. Stop. gmake[3]: *** No targets specified and no makefile found. Stop. gmake[2]: *** [../include/buildrules:31: shared] Error 2 gmake[1]: *** [include/buildrules:31: tests] Error 2 make: *** [Makefile:65: default] Error 2 On Tue, Jul 1, 2025 at 2:23 PM Steve French <smfrench@xxxxxxxxx> wrote: > > I haven't had a problem building it before on Ubuntu, but perhaps due > to upgrade to Ubuntu 24.04 this line in acinclude.m4 breaks (which is > supposed to set HAVE_FALLOCATE but won't if this line fails). Any > thoughts? > > #include <fcntl.h> > #include <linux/falloc.h> ]], [[ fallocate(0, 0, 0, 0); ]])],[ > have_fallocate=true; AC_MSG_RESULT(yes) ],[ have_fallocate=false; > AC_MSG_RESULT(no) ]) > > On Tue, Jul 1, 2025 at 2:15 PM Steve French <smfrench@xxxxxxxxx> wrote: > > > > 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 > > > > -- > Thanks, > > Steve -- Thanks, Steve