Compiler/Linking Error: Freedup
Posted
by nym
on Stack Overflow
See other posts from Stack Overflow
or by nym
Published on 2009-12-07T21:47:06Z
Indexed on
2010/04/28
20:47 UTC
Read the original article
Hit count: 305
I've been trying to compile a program for hardlinking duplicate files called freedup. I did try to email the author/maintainer of the program, but it's been a long time and I haven't heard anything back from him.
I'm trying to compile the program from a cygwin environment using the latest stable versions of gcc (3.4.4-999) and make (3.81-2). I've tried deleting all the object files and running make, but I always get the following error:
freedup.o: In function 'main':
/home/[user]/freedup-1.5/freedup.c:1791: undefined reference to '_hashed'
collect2: ld returned 1 exit status make: * * * [freedup] Error 1
I did take a look at the source code and saw that the "hashed" function is an inline function (which I didn't think had to be declared outside of the source file... but that's just what I gathered from some preliminary googling).
If anyone would be kind enough to try compiling this program in a windows environment and has any luck, I'd really appreciate it. Thanks
The direct link for the source files is: http://freedup.org/freedup-1.5-3-src.tgz
© Stack Overflow or respective owner