All pastes #616127 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-12 13:51 UTC
rendered paste body
 g++ -DHAVE_CONFIG_H -I. -I.. -ftemplate-depth-50 -I../include -I../include/libtorrent -pthread -I/usr/include/openssl -DHAVE_SSL -MT bt_peer_connection.lo -MD -MP -MF .deps/bt_peer_connection.Tpo -c bt_peer_connection.cpp  -fPIC -DPIC -o .libs/bt_peer_connection.o
/usr/include/openssl/sha.h:106: error: conflicting declaration 'typedef struct SHAstate_st SHA_CTX'
../include/libtorrent/hasher.hpp:51: error: 'struct SHA_CTX' has a previous declaration as 'struct SHA_CTX'
/usr/include/openssl/sha.h:116: error: new declaration 'int SHA1_Init(SHA_CTX*)'
../include/libtorrent/hasher.hpp:57: error: ambiguates old declaration 'void SHA1_Init(SHA_CTX*)'
/usr/include/openssl/sha.h:118: error: new declaration 'int SHA1_Final(unsigned char*, SHA_CTX*)'
../include/libtorrent/hasher.hpp:59: error: ambiguates old declaration 'void SHA1_Final(uint8_t*, SHA_CTX*)'
make[2]: *** [bt_peer_connection.lo] Error 1
make[2]: Leaving directory `/home/heavyjoost/programs/libtorrent/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/heavyjoost/programs/libtorrent'
make: *** [all] Error 2