/usr/bin/x86_64-w64-mingw32-ld: win32/lib.a(statfs.o):statfs.c:(.text$statfs+0x46): undefined reference to `find_mount_point'
collect2: error: ld returned 1 exit status
Note: if build needs additional libraries, put them in CONFIG_EXTRA_LDLIBS.
Example: CONFIG_EXTRA_LDLIBS="pthread dl tirpc audit pam"
stat relies on statfs(), whose function calls find_mount_point() which requires df to be open.
stat
relies onstatfs()
, whose function callsfind_mount_point()
which requiresdf
to be open.