[Csync2] csync2-1.29 build error

Yann Sarazin ys at skycha.com
Mon Jan 2 18:27:03 CET 2006


Hello,

Under Fedora Core 4, I have a problem to build csync2-1.29  rpm with 
rpmbuild -tb csync2-1.29.tar.gz

Here is the corresponding config.log section :

configure:3394: checking for libgnutls-config
configure:3412: found /usr/bin/libgnutls-config
configure:3425: result: /usr/bin/libgnutls-config
configure:3433: checking for libgnutls - version >= 1.0.0
configure:3515: gcc -o conftest -O2 -g -march=i386 -mcpu=i686 
-I/usr/kerberos/include -I/usr/include   conftest.c -lsqlite -lrsync  
-L/usr/lib -lgnutls -lgcrypt -lgpg-error -lz >&5
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
configure:3518: $? = 0
configure:3520: ./conftest
configure:3523: $? = 0
configure:3541: result: yes
configure:3640: checking for SSL_new in -lgnutls-openssl
configure:3670: gcc -o conftest -O2 -g -march=i386 -mcpu=i686 
-I/usr/kerberos/include   conftest.c -lgnutls-openssl  -lsqlite -lrsync  >&5
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libgnutls-openssl.so: 
undefined reference to `asn1_delete_structure'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libgnutls-openssl.so: 
undefined reference to `asn1_create_element'
/usr/lib/gcc/i386-redhat-linux/4.0.1/../../../libgnutls-openssl.so: 
undefined reference to `asn1_der_decoding'
collect2: ld returned 1 exit status
configure:3676: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "csync2"
| #define PACKAGE_TARNAME "csync2"
| #define PACKAGE_VERSION "1.29"
| #define PACKAGE_STRING "csync2 1.29"
| #define PACKAGE_BUGREPORT "clifford at clifford.at"
| #define PACKAGE "csync2"
| #define VERSION "1.29"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBRSYNC 1
| #define HAVE_LIBSQLITE 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char SSL_new ();
| int
| main ()
| {
| SSL_new ();
|   ;
|   return 0;
| }
configure:3701: result: no
configure:3711: error: libgnutls-openssl is required




Does anybody has any idea how to fix this problem ?
Thanks



More information about the Csync2 mailing list