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

there is error while building #3

Open
saifacker opened this issue May 12, 2024 · 1 comment
Open

there is error while building #3

saifacker opened this issue May 12, 2024 · 1 comment

Comments

@saifacker
Copy link

─(root㉿kali)-[/home/saifacker/Downloads/FileRecovery-master/foremost-1.5.7]
└─# make
gcc -Wall -O2 -DVERSION="1.5.7" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 main.o state.o helpers.o config.o cli.o engine.o dir.o extract.o api.o -o foremost
/usr/bin/ld: state.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here /usr/bin/ld: state.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: state.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here /usr/bin/ld: helpers.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: helpers.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here /usr/bin/ld: helpers.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: config.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here /usr/bin/ld: config.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here
/usr/bin/ld: config.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here /usr/bin/ld: cli.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: cli.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here /usr/bin/ld: cli.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here
/usr/bin/ld: engine.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here /usr/bin/ld: engine.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: engine.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here /usr/bin/ld: dir.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: dir.o:(.bss+0x0): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here /usr/bin/ld: dir.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here
/usr/bin/ld: extract.o:(.bss+0x10): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here /usr/bin/ld: extract.o:(.bss+0x20): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here
/usr/bin/ld: extract.o:(.bss+0xbd760): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here /usr/bin/ld: api.o:(.bss+0x448): multiple definition of dirlist'; extract.o:(.bss+0x8): first defined here
/usr/bin/ld: api.o:(.bss+0x440): multiple definition of dl'; extract.o:(.bss+0x0): first defined here /usr/bin/ld: api.o:(.bss+0x450): multiple definition of signal_caught'; main.o:(.bss+0x0): first defined here
/usr/bin/ld: api.o:(.bss+0x460): multiple definition of search_spec'; main.o:(.bss+0x20): first defined here /usr/bin/ld: api.o:(.bss+0xbdba0): multiple definition of wildcard'; main.o:(.bss+0xbd760): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:113: foremost] Error 1

please help me

@dev-coco
Copy link
Owner

FileRecovery is a software that only encapsulates the foremost executable file. The root cause of this problem is the foremost command, so please give feedback to foremost. This project doesn't do anything.

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

2 participants