Skip to content

there is error while building #3

@saifacker

Description

@saifacker

─(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions