sleuthkit / scalpel

Scalpel is an open source data carving tool. It is not being actively maintained.
627 stars 99 forks source link

`make` on Manjaro fails #50

Open noyannus opened 1 year ago

noyannus commented 1 year ago

As in title.

# 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