Wednesday, May 25, 2011

ddrescue on synology (optware)

Done on a 1511+ (Atom x86_64)


If you do a straight compile you will get

undefined reference to `__sync_fetch_and_add_4'

need to tell it to use the i686 arch.

./configure --prefix=/opt/local CXXFLAGS="-march=i686"

Tried using ddrescue 1.14 (2011) compiled successfully.


Leave a comment if you would like me to send you a copy of the compile executable.


  1. Oh, thanks. I'm working my way through compiling a IIPimage server to run on a Synology on a DS-411+ . Then I got the ...

    undefined reference to `__sync_fetch_and_add_4'

    ... Seems that the prefix worked for me as well. The iipsrv.fcgi is now waiting for me in the src directory. Thanks !

    1. Glad i could be of assistance :)

  2. Thanks for this, solved my problem :-)