[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Compile error against librsync 1.0.0.

From: Ed Greenberg
Subject: [rdiff-backup-users] Compile error against librsync 1.0.0.
Date: Sat, 09 May 2015 13:50:03 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

My backup server is Centos 6 and rdiff-backup 1.2.8. and I have my first few Centos 6 boxen backing up fine.

Unfortunately, I have a bunch of Centos5 machines that cannot be upgraded to Centos6 or 7. Epel for Centos 5 installed 1.0.5, which failed miserably to back up to the 1.2.8 backup server. No surprise there. I'm familiar with the requirement that versions match.

So I am trying to build 1.2.8 on Centos 5.

After installing librsync-devel, rsync-devel, python-devel and, of course, gcc, my build fails as follows:

address@hidden rdiff-backup-1.2.8]# python setup.py build
running build
running build_py
running build_ext
building 'rdiff_backup._librsync' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/python2.4 -c _librsyncmodule.c -o build/temp.linux-x86_64-2.4/_librsyncmodule.o
_librsyncmodule.c: In function ‘_librsync_new_sigmaker’:
_librsyncmodule.c:63: error: ‘RS_DEFAULT_STRONG_LEN’ undeclared (first use in this function) _librsyncmodule.c:63: error: (Each undeclared identifier is reported only once
_librsyncmodule.c:63: error: for each function it appears in.)
_librsyncmodule.c:63: error: too few arguments to function ‘rs_sig_begin’
error: command 'gcc' failed with exit status 1
address@hidden rdiff-backup-1.2.8]#

Current rev of librsync is 1.0.0. On the web I found that the constant RS_DEFAULT_STRONG_LEN is defined in librsync.h, but that the definition is missing in that file in 1.0.0.

Does anybody know how to resolve this?


Ed Greenberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]