Всем привет!
Пытаюсь скомпилировать аннонсер XBTT, но не получается =(
Вот эти ошибки:
ОС: FreeBSD 8.2
Пакеты boost-all и boost_build установлены.
Пытаюсь скомпилировать аннонсер XBTT, но не получается =(
Вот эти ошибки:
Код:
mypeer# ./make.bsd.sh
In file included from connection.cpp:5:
../misc/bt_strings.h:115:68: warning: no newline at end of file
In file included from server.cpp:10:
../misc/bt_strings.h:115:68: warning: no newline at end of file
In file included from transaction.cpp:5:
../misc/bt_strings.h:115:68: warning: no newline at end of file
In file included from ../misc/bt_torrent.cpp:4:
../misc/bt_strings.h:115:68: warning: no newline at end of file
/var/tmp//cc6fHvhM.o(.text+0x10): In function `MD5::init()':
: multiple definition of `MD5::init()'
/var/tmp//cceHmfKN.o(.text+0x10): first defined here
/var/tmp//cc6fHvhM.o(.text+0x50): In function `MD5::decode(unsigned int*, unsigned char const*, unsigned int)':
: multiple definition of `MD5::decode(unsigned int*, unsigned char const*, unsigned int)'
/var/tmp//cceHmfKN.o(.text+0x50): first defined here
/var/tmp//cc6fHvhM.o(.text+0xa0): In function `MD5::encode(unsigned char*, unsigned int const*, unsigned int)':
: multiple definition of `MD5::encode(unsigned char*, unsigned int const*, unsigned int)'
/var/tmp//cceHmfKN.o(.text+0xa0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x810): In function `MD5::hexdigest() const':
: multiple definition of `MD5::hexdigest() const'
/var/tmp//cceHmfKN.o(.text+0x1d0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x1ef0): In function `MD5::MD5()':
: multiple definition of `MD5::MD5()'
/var/tmp//cceHmfKN.o(.text+0x3f0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x1f30): In function `MD5::MD5()':
: multiple definition of `MD5::MD5()'
/var/tmp//cceHmfKN.o(.text+0x430): first defined here
/var/tmp//cc6fHvhM.o(.text+0x1f70): In function `MD5::transform(unsigned char const*)':
: multiple definition of `MD5::transform(unsigned char const*)'
/var/tmp//cceHmfKN.o(.text+0x470): first defined here
/var/tmp//cc6fHvhM.o(.text+0x29e0): In function `MD5::update(unsigned char const*, unsigned int)':
: multiple definition of `MD5::update(unsigned char const*, unsigned int)'
/var/tmp//cceHmfKN.o(.text+0xee0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x2ab0): In function `MD5::update(char const*, unsigned int)':
: multiple definition of `MD5::update(char const*, unsigned int)'
/var/tmp//cceHmfKN.o(.text+0xfb0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x2ce0): In function `MD5::finalize()':
: multiple definition of `MD5::finalize()'
/var/tmp//cceHmfKN.o(.text+0xfc0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x2e20): In function `MD5::MD5(std::string const&)':
: multiple definition of `MD5::MD5(std::string const&)'
/var/tmp//cceHmfKN.o(.text+0x1100): first defined here
/var/tmp//cc6fHvhM.o(.text+0x2e80): In function `MD5::MD5(std::string const&)':
: multiple definition of `MD5::MD5(std::string const&)'
/var/tmp//cceHmfKN.o(.text+0x1160): first defined here
/var/tmp//cc6fHvhM.o(.text+0x3210): In function `md5(std::string)':
: multiple definition of `md5(std::string)'
/var/tmp//cceHmfKN.o(.text+0x11c0): first defined here
/var/tmp//cc6fHvhM.o(.text+0x3490): In function `operator<<(std::ostream&, MD5)':
: multiple definition of `operator<<(std::ostream&, MD5)'
/var/tmp//cceHmfKN.o(.text+0x1440): first defined here
/usr/bin/ld: Warning: size of symbol `_ZlsRSo3MD5' changed from 884 in /var/tmp//cceHmfKN.o to 580 in /var/tmp//cc6fHvhM.o
ОС: FreeBSD 8.2
Пакеты boost-all и boost_build установлены.