You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build fuse-ext2 v0.10 from sources on my Linux XUbuntu. Initially I've got error that make and c++ are not installed. So I did # apt install make g++. Then during make I've got the following error:
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -DHAVE_CONFIG_H -I/usr/local/include -g -O2 -MT fuse_ext2-op_create.o -MD -MP -MF .deps/fuse_ext2-op_create.Tpo -c -o fuse_ext2-op_create.o ''test -f 'op_create.c' || echo './'''op_create.c
op_create.c: In function ‘old_valid_dev’:
op_create.c:45:9: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration]
45 | return major(dev) < 256 && minor(dev) < 256;
| ^~~~~
op_create.c:45:29: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration]
45 | return major(dev) < 256 && minor(dev) < 256;
| ^~~~~
op_create.c: In function ‘new_encode_dev’:
op_create.c:55:19: error: called object ‘major’ is not a function or function pointer
55 | unsigned major = major(dev);
| ^~~~~
op_create.c:55:11: note: declared here
55 | unsigned major = major(dev);
| ^~~~~
op_create.c:56:19: error: called object ‘minor’ is not a function or function pointer
56 | unsigned minor = minor(dev);
| ^~~~~
op_create.c:56:11: note: declared here
56 | unsigned minor = minor(dev);
| ^~~~~
make[2]: *** [Makefile:1413: fuse_ext2-op_create.o] Error 1
Hello
I tried to build fuse-ext2 v0.10 from sources on my Linux XUbuntu. Initially I've got error that make and c++ are not installed. So I did
# apt install make g++
. Then during make I've got the following error:Attaching appropriate logs: lsb_release, uname, ./configure, make, list of installed packages
autogen.log
configure.log
make.log
uname -a
Linux pc-intel 5.11.0-16-generic #17-Ubuntu SMP Wed Apr 14 20:12:43 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lsb_release.log
installed_packages.log
config.log
config.h + config.status config.zip
Workaround:
By some reason
sys/sysmacros.h
was not included. So I fixed it by including it manually intofuse-ext2.h
The text was updated successfully, but these errors were encountered: