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 just downloaded md5deep 1.12 source. I can build the standard "mac" version. "macg5" fails. This is on a Dual 2GHz G5 with Mac OS X 10.4.8 and XCode 2.4.1.
A "make macg5" results in this:
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o main.o main.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o match.o match.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o helpers.o helpers.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o dig.o dig.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o cycles.o cycles.c
cycles.c: In function 'done_processing_dir':
cycles.c:38: warning: unused parameter 'mode'
cycles.c: In function 'processing_dir':
cycles.c:83: warning: unused parameter 'mode'
cycles.c: In function 'have_processed_dir':
cycles.c:122: warning: unused parameter 'mode'
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o hashTable.o hashTable.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c files.c -o files-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c hash.c -o hash-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c -o md5.o md5.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast main.o match.o helpers.o dig.o cycles.o hashTable.o files-md5.o hash-md5.o md5.o -o md5deep -lm
/usr/bin/ld: multiple definitions of symbol ___progname
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of ___progname in section (__DATA,__data)
main.o definition of ___progname in section (__DATA,__common)
match.o definition of ___progname in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _piecewise_block
main.o definition of _piecewise_block in section (__DATA,__common)
match.o definition of _piecewise_block in section (__DATA,__common)
helpers.o definition of ___progname in section (__DATA,__common)
helpers.o definition of _piecewise_block in section (__DATA,__common)
dig.o definition of ___progname in section (__DATA,__common)
dig.o definition of _piecewise_block in section (__DATA,__common)
cycles.o definition of ___progname in section (__DATA,__common)
cycles.o definition of _piecewise_block in section (__DATA,__common)
hashTable.o definition of ___progname in section (__DATA,__common)
hashTable.o definition of _piecewise_block in section (__DATA,__common)
files-md5.o definition of ___progname in section (__DATA,__common)
files-md5.o definition of _piecewise_block in section (__DATA,__common)
hash-md5.o definition of ___progname in section (__DATA,__common)
hash-md5.o definition of _piecewise_block in section (__DATA,__common)
md5.o definition of ___progname in section (__DATA,__common)
md5.o definition of _piecewise_block in section (__DATA,__common)
collect2: ld returned 1 exit status
make: *** [md5deep] Error 1
Converted from SourceForge issue 1673027, submitted by janx2
I just downloaded md5deep 1.12 source. I can build the standard "mac" version. "macg5" fails. This is on a Dual 2GHz G5 with Mac OS X 10.4.8 and XCode 2.4.1.
A "make macg5" results in this:
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o main.o main.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o match.o match.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o helpers.o helpers.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o dig.o dig.c
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o cycles.o cycles.c
cycles.c: In function 'done_processing_dir':
cycles.c:38: warning: unused parameter 'mode'
cycles.c: In function 'processing_dir':
cycles.c:83: warning: unused parameter 'mode'
cycles.c: In function 'have_processed_dir':
cycles.c:122: warning: unused parameter 'mode'
gcc -Wall -W -O3 -D VERSION="1.12" -fast -c -o hashTable.o hashTable.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c files.c -o files-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c hash.c -o hash-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast -c -o md5.o md5.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -fast main.o match.o helpers.o dig.o cycles.o hashTable.o files-md5.o hash-md5.o md5.o -o md5deep -lm
/usr/bin/ld: multiple definitions of symbol ___progname
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o definition of ___progname in section (__DATA,__data)
main.o definition of ___progname in section (__DATA,__common)
match.o definition of ___progname in section (__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _piecewise_block
main.o definition of _piecewise_block in section (__DATA,__common)
match.o definition of _piecewise_block in section (__DATA,__common)
helpers.o definition of ___progname in section (__DATA,__common)
helpers.o definition of _piecewise_block in section (__DATA,__common)
dig.o definition of ___progname in section (__DATA,__common)
dig.o definition of _piecewise_block in section (__DATA,__common)
cycles.o definition of ___progname in section (__DATA,__common)
cycles.o definition of _piecewise_block in section (__DATA,__common)
hashTable.o definition of ___progname in section (__DATA,__common)
hashTable.o definition of _piecewise_block in section (__DATA,__common)
files-md5.o definition of ___progname in section (__DATA,__common)
files-md5.o definition of _piecewise_block in section (__DATA,__common)
hash-md5.o definition of ___progname in section (__DATA,__common)
hash-md5.o definition of _piecewise_block in section (__DATA,__common)
md5.o definition of ___progname in section (__DATA,__common)
md5.o definition of _piecewise_block in section (__DATA,__common)
collect2: ld returned 1 exit status
make: *** [md5deep] Error 1
a "make mac" in this:
gcc -Wall -W -O3 -D VERSION="1.12" -c -o main.o main.c
gcc -Wall -W -O3 -D VERSION="1.12" -c -o match.o match.c
gcc -Wall -W -O3 -D VERSION="1.12" -c -o helpers.o helpers.c
gcc -Wall -W -O3 -D VERSION="1.12" -c -o dig.o dig.c
gcc -Wall -W -O3 -D VERSION="1.12" -c -o cycles.o cycles.c
cycles.c: In function 'done_processing_dir':
cycles.c:38: warning: unused parameter 'mode'
cycles.c: In function 'processing_dir':
cycles.c:83: warning: unused parameter 'mode'
cycles.c: In function 'have_processed_dir':
cycles.c:122: warning: unused parameter 'mode'
gcc -Wall -W -O3 -D VERSION="1.12" -c -o hashTable.o hashTable.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -c files.c -o files-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -c hash.c -o hash-md5.o
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" -c -o md5.o md5.c
gcc -DMD5 -Wall -W -O3 -D VERSION="1.12" main.o match.o helpers.o dig.o cycles.o hashTable.o files-md5.o hash-md5.o md5.o -o md5deep -lm
gcc -DSHA1 -Wall -W -O3 -D VERSION="1.12" -c files.c -o files-sha1.o
files.c: In function 'find_ilook_hash':
files.c:227: warning: unused parameter 'buf'
files.c:227: warning: unused parameter 'known_fn'
gcc -DSHA1 -Wall -W -O3 -D VERSION="1.12" -c hash.c -o hash-sha1.o
gcc -DSHA1 -Wall -W -O3 -D VERSION="1.12" -c -o sha1.o sha1.c
gcc -DSHA1 -Wall -W -O3 -D VERSION="1.12" main.o match.o helpers.o dig.o cycles.o hashTable.o files-sha1.o hash-sha1.o sha1.o -o sha1deep -lm
gcc -DSHA256 -Wall -W -O3 -D VERSION="1.12" -c files.c -o files-sha256.o
files.c: In function 'find_ilook_hash':
files.c:227: warning: unused parameter 'buf'
files.c:227: warning: unused parameter 'known_fn'
gcc -DSHA256 -Wall -W -O3 -D VERSION="1.12" -c hash.c -o hash-sha256.o
gcc -DSHA256 -Wall -W -O3 -D VERSION="1.12" -c -o sha256.o sha256.c
gcc -DSHA256 -Wall -W -O3 -D VERSION="1.12" main.o match.o helpers.o dig.o cycles.o hashTable.o files-sha256.o hash-sha256.o sha256.o -o sha256deep -lm
gcc -DWHIRLPOOL -Wall -W -O3 -D VERSION="1.12" -c files.c -o files-whirlpool.o
files.c: In function 'find_ilook_hash':
files.c:227: warning: unused parameter 'buf'
files.c:227: warning: unused parameter 'known_fn'
gcc -DWHIRLPOOL -Wall -W -O3 -D VERSION="1.12" -c hash.c -o hash-whirlpool.o
gcc -DWHIRLPOOL -Wall -W -O3 -D VERSION="1.12" -c -o whirlpool.o whirlpool.c
gcc -DWHIRLPOOL -Wall -W -O3 -D VERSION="1.12" main.o match.o helpers.o dig.o cycles.o hashTable.o files-whirlpool.o hash-whirlpool.o whirlpool.o -o whirlpooldeep -lm
gcc -DTIGER -Wall -W -O3 -D VERSION="1.12" -c files.c -o files-tiger.o
files.c: In function 'find_ilook_hash':
files.c:227: warning: unused parameter 'buf'
files.c:227: warning: unused parameter 'known_fn'
gcc -DTIGER -Wall -W -O3 -D VERSION="1.12" -c hash.c -o hash-tiger.o
gcc -DTIGER -Wall -W -O3 -D VERSION="1.12" -c -o tiger.o tiger.c
gcc -DTIGER -Wall -W -O3 -D VERSION="1.12" main.o match.o helpers.o dig.o cycles.o hashTable.o files-tiger.o hash-tiger.o tiger.o -o tigerdeep -lm
The text was updated successfully, but these errors were encountered: