Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `backtrace_symbols' #67

Open
Marietto2008 opened this issue Sep 15, 2021 · 0 comments
Open

undefined reference to `backtrace_symbols' #67

Marietto2008 opened this issue Sep 15, 2021 · 0 comments

Comments

@Marietto2008
Copy link

Marietto2008 commented Sep 15, 2021

Trying to compile it on NetBSD...

netbsd-marietto# gmake

cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o fuse-main.o fuse-main.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o logging.o logging.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o extents.o extents.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o disk.o disk.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o super.o super.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o inode.o inode.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o dcache.o dcache.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_read.o op_read.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_readdir.o op_readdir.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_readlink.o op_readlink.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_init.o op_init.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_getattr.o op_getattr.c
cc -I/usr/pkg/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -std=gnu99 -g3 -Wall -Wextra -DEXT4FUSE_VERSION="v0.1.3-20-g6b23d8d" -c -o op_open.o op_open.c
cc -o ext4fuse fuse-main.o logging.o extents.o disk.o super.o inode.o dcache.o op_read.o op_readdir.o op_readlink.o op_init.o op_getattr.o op_open.o -L/usr/pkg/lib -lfuse -pthread
ld: fuse-main.o: in function `signal_handle_sigsegv':

/home/mario/Desktop/Dati-NetBSD/ext4fuse/fuse-main.c:88: undefined reference to backtrace' ld: /home/mario/Desktop/Dati-NetBSD/ext4fuse/fuse-main.c:89: undefined reference to backtrace_symbols'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant