Hi, currently I'm trying to create some rpm packages for libtpproto-cpp and Parsek.
Trying to configure libtpproto-cpp gives me this error at the opensuse build service: checking for pthread_create in -lpthread... no configure: error: libtpproto-cpp requires pthread library But before I checked with "ls /lib64 | grep libpt" or "ls /lib | grep libpt", depends on architecture if there are files with the name libpthread. I get this two responses on both architectures and all distributions: libpthread-2.6.1.so libpthread.so.0 The error happens on the following distributions: Fedora 6,7 openSuse 10.2, 10.3 Factory Suse Linux 10.0, 10.1 Suse Linux Enterprise 10 On Mandriva 2006 it configures completely and tries to compile. But ends with the following: g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c createaccount.cpp -fPIC -DPIC -o .libs/createaccount.o g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c createaccount.cpp -o createaccount.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c tlssocket.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c tlssocket.cpp -fPIC -DPIC -o .libs/tlssocket.o tlssocket.cpp: In constructor 'TPProto::TlsSocket::TlsSocket()': tlssocket.cpp:30: error: cannot convert 'gnutls_certificate_credentials_st**' to 'DSTRUCT**' for argument '1' to 'int gnutls_certificate_allocate_credentials(DSTRUCT**)' tlssocket.cpp:31: error: cannot convert 'gnutls_certificate_credentials_st*' to 'DSTRUCT*' for argument '1' to 'int gnutls_certificate_set_x509_trust_file(DSTRUCT*, const char*, gnutls_x509_crt_fmt)' tlssocket.cpp: In destructor 'virtual TPProto::TlsSocket::~TlsSocket()': tlssocket.cpp:41: error: cannot convert 'gnutls_certificate_credentials_st*' to 'DSTRUCT*' for argument '1' to 'void gnutls_certificate_free_credentials(DSTRUCT*)' tlssocket.cpp: In member function 'bool TPProto::TlsSocket::connect(const std::string&, const std::string&)': tlssocket.cpp:163: error: 'gnutls_transport_ptr_t' was not declared in this scope make[2]: *** [tlssocket.lo] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/libtpproto-cpp-0.1.1/tpproto' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/RPM/BUILD/libtpproto-cpp-0.1.1' make: *** [all-recursive-am] Error 2 Hope someone can help me to get this rpm packages done. Thanks in advance (acc)Agon
_______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
