IPB

Здравствуйте, гость ( Вход | Регистрация )

 
Ответить в данную темуНачать новую тему
torrentpier XBT
gloomen
сообщение 5.9.2009, 19:46
Сообщение #1


Новичок
*

Группа: Пользователи
Сообщений: 2
Регистрация: 5.9.2009
Пользователь №: 2 566



1. Скачал на сервер freebsd 6.4 содержимое: http://torrentpier.googlecode.com/svn/
1.1.p.s. Revision 289
3. Удалил 3 typedef'а в начале misc/sha1.h
4. Установленное ПО из портов(предварительно их обновив)
Код
cmake
boost-libs-1.39.0
boost-jam-1.39.0
boost-python-libs-1.39.0
boost-docs-1.39.0
icu-3.8.1_2
python26-2.6.2_2
py26-elementtree-1.2.6_1
gccxml-0.6.0
gmake-3.81_3
gettext-0.17_1
libtool-2.2.6a
libiconv-1.13.1
boost-all-1.39.0
mysql-client-5.0.85
mysql-server-5.0.85


3. sh ./make.bsd.sh
Код
     from client.h:3,
                 from tcp_listen_socket.h:3,
                 from tcp_listen_socket.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from server.h:4,
                 from tcp_listen_socket.cpp:4:
connection.h:6:32: xbt/virtual_binary.h: No such file or directory
In file included from server.h:4,
                 from tcp_listen_socket.cpp:4:
connection.h:31: error: `Cvirtual_binary' does not name a type
In file included from tcp_listen_socket.cpp:4:
server.h:161: error: `Cvirtual_binary' does not name a type
server.h:162: error: `Cvirtual_binary' does not name a type
In file included from ../misc/socket.h:5,
                 from tracker_input.h:6,
                 from tracker_input.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/socket.h:5,
                 from client.h:3,
                 from connection.h:3,
                 from server.h:4,
                 from transaction.h:3,
                 from transaction.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from server.h:4,
                 from transaction.h:3,
                 from transaction.cpp:2:
connection.h:6:32: xbt/virtual_binary.h: No such file or directory
In file included from server.h:4,
                 from transaction.h:3,
                 from transaction.cpp:2:
connection.h:31: error: `Cvirtual_binary' does not name a type
In file included from transaction.h:3,
                 from transaction.cpp:2:
server.h:161: error: `Cvirtual_binary' does not name a type
server.h:162: error: `Cvirtual_binary' does not name a type
In file included from ../misc/socket.h:5,
                 from client.h:3,
                 from udp_listen_socket.h:3,
                 from udp_listen_socket.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from server.h:4,
                 from transaction.h:3,
                 from udp_listen_socket.cpp:4:
connection.h:6:32: xbt/virtual_binary.h: No such file or directory
In file included from server.h:4,
                 from transaction.h:3,
                 from udp_listen_socket.cpp:4:
connection.h:31: error: `Cvirtual_binary' does not name a type
In file included from transaction.h:3,
                 from udp_listen_socket.cpp:4:
server.h:161: error: `Cvirtual_binary' does not name a type
server.h:162: error: `Cvirtual_binary' does not name a type
In file included from ../misc/stream_writer.h:3,
                 from ../misc/alerts.h:5,
                 from ../misc/alerts.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/sha1.h:20,
                 from ../misc/bt_misc.h:3,
                 from ../misc/bt_misc.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/bvalue.h:6,
                 from ../misc/bt_torrent.h:3,
                 from ../misc/bt_torrent.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/bvalue.h:6,
                 from ../misc/bt_torrent.h:3,
                 from ../misc/bt_torrent.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
../misc/bt_tracker_account.cpp:2:32: xbt/virtual_binary.h: No such file or directory
In file included from ../misc/stream_writer.h:3,
                 from ../misc/bt_tracker_account.h:3,
                 from ../misc/bt_tracker_account.cpp:3:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/bt_tracker_account.cpp:3:
../misc/bt_tracker_account.h:36: error: `Cvirtual_binary' does not name a type
../misc/bt_tracker_account.h:38: error: expected `,' or `...' before '&' token
../misc/bt_tracker_account.h:38: error: ISO C++ forbids declaration of `Cvirtual_binary' with no type
In file included from ../misc/stream_reader.h:4,
                 from ../misc/bt_tracker_account.cpp:5:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
../misc/bt_tracker_account.cpp:31: error: no `Cvirtual_binary Cbt_tracker_accounts::dump() const' member function declared in class `Cbt_tracker_accounts'
../misc/bt_tracker_account.cpp:56: error: prototype for `void Cbt_tracker_accounts::load(const Cvirtual_binary&)' does not match any in class `Cbt_tracker_accounts'
../misc/bt_tracker_account.h:38: error: candidate is: void Cbt_tracker_accounts::load(int)
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/bvalue.h:6,
                 from ../misc/bvalue.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/bvalue.h:6,
                 from ../misc/bvalue.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/sha1.h:20,
                 from ../misc/sha1.cpp:33:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/socket.h:5,
                 from ../misc/socket.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/stream_int.h:3,
                 from ../misc/stream_reader.h:3,
                 from ../misc/stream_reader.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/stream_reader.h:4,
                 from ../misc/stream_reader.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/stream_writer.h:3,
                 from ../misc/stream_writer.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
../misc/virtual_binary.cpp:2:32: xbt/virtual_binary.h: No such file or directory
../misc/virtual_binary.cpp:8: error: `Cvirtual_binary_source' has not been declared
../misc/virtual_binary.cpp:8: error: expected constructor, destructor, or type conversion before '(' token
../misc/virtual_binary.cpp:17: error: expected constructor, destructor, or type conversion before '*' token
../misc/virtual_binary.cpp:24: error: `Cvirtual_binary' has not been declared
../misc/virtual_binary.cpp:25: error: ISO C++ forbids declaration of `Cvirtual_binary' with no type
../misc/virtual_binary.cpp: In function `int Cvirtual_binary(size_t)':
../misc/virtual_binary.cpp:26: error: `m_source' was not declared in this scope
../misc/virtual_binary.cpp:26: error: `Cvirtual_binary_source' has not been declared
../misc/virtual_binary.cpp:26: error: `const_memory_range' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:29: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp:29: error: expected constructor, destructor, or type conversion before '(' token
../misc/virtual_binary.cpp:34: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp:35: error: non-member function `int save(const std::string&)' cannot have `const' method qualifier
../misc/virtual_binary.cpp: In function `int save(const std::string&)':
../misc/virtual_binary.cpp:39: error: `data' was not declared in this scope
../misc/virtual_binary.cpp:39: error: `size' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:44: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp: In function `int load(const std::string&)':
../misc/virtual_binary.cpp:50: error: `write_start' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:55: error: expected constructor, destructor, or type conversion before '&' token
../misc/virtual_binary.cpp:61: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp: In function `void clear()':
../misc/virtual_binary.cpp:63: error: `m_source' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:66: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp:67: error: non-member function `size_t read(void*)' cannot have `const' method qualifier
../misc/virtual_binary.cpp: In function `size_t read(void*)':
../misc/virtual_binary.cpp:68: error: `data' was not declared in this scope
../misc/virtual_binary.cpp:68: error: `size' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:72: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp: In function `unsigned char* write_start(size_t)':
../misc/virtual_binary.cpp:74: error: `data' was not declared in this scope
../misc/virtual_binary.cpp:74: error: `size' was not declared in this scope
../misc/virtual_binary.cpp:75: error: `data_edit' was not declared in this scope
../misc/virtual_binary.cpp:76: error: `m_source' was not declared in this scope
../misc/virtual_binary.cpp:76: error: `Cvirtual_binary_source' has not been declared
../misc/virtual_binary.cpp:76: error: `const_memory_range' was not declared in this scope
../misc/virtual_binary.cpp:77: error: `data_edit' was not declared in this scope
../misc/virtual_binary.cpp: At global scope:
../misc/virtual_binary.cpp:80: error: `Cvirtual_binary' is not a class or namespace
../misc/virtual_binary.cpp:80: error: variable or field `write' declared void
../misc/virtual_binary.cpp:80: error: `int write' redeclared as different kind of symbol
/usr/include/unistd.h:370: error: previous declaration of `ssize_t write(int, const void*, size_t)'
../misc/virtual_binary.cpp:80: error: declaration of `int write'
/usr/include/unistd.h:370: error: conflicts with previous declaration `ssize_t write(int, const void*, size_t)'
../misc/virtual_binary.cpp:80: error: `const_memory_range' was not declared in this scope
../misc/virtual_binary.cpp:81: error: expected `,' or `;' before '{' token
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/xcc_z.h:3,
                 from ../misc/xcc_z.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/xcc_z.h:3,
                 from ../misc/xcc_z.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/xif_key.h:5,
                 from ../misc/xif_key.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/xif_key.h:5,
                 from ../misc/xif_key.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/xif_value.h:4,
                 from ../misc/xif_key_r.h:4,
                 from ../misc/xif_key_r.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/xif_value.h:4,
                 from ../misc/xif_key_r.h:4,
                 from ../misc/xif_key_r.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/virtual_binary.h:6,
                 from ../misc/xif_value.h:4,
                 from ../misc/xif_value.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/xif_value.h:4,
                 from ../misc/xif_value.cpp:2:
../misc/virtual_binary.h:149:3: warning: no newline at end of file
In file included from ../misc/sql/sql_result.h:5,
                 from ../misc/sql/database.h:4,
                 from ../misc/sql/database.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/sql/sql_query.h:3,
                 from ../misc/sql/sql_query.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
In file included from ../misc/sql/sql_result.h:5,
                 from ../misc/sql/sql_result.cpp:2:
../misc/const_memory_range.h:80: error: expected constructor, destructor, or type conversion before "find"
root#



4. ee make.bsd.sh
Код
clear
g++ -DBSD -DNDEBUG -I /usr/local/include -I ../misc -I . -O3 -o xbt_tracker *.cpp ../misc/*.cpp ../misc/sql/*.cpp `mysql_config --libs` && strip xbt_tracker



На http://torrentpier.info/viewtopic.php?f=5&...488&start=0, написано
"Шаг 1 скачиваем недостающие билиотеки должен быть gc++3.4 или boost (как замена если gc+ новее режим портации и не единой ошибки )"

Что значит "режим портации"???
Как его установить?
Перейти в начало страницы
 
+Цитировать сообщение

Ответить в данную темуНачать новую тему
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 



RSS Текстовая версия службы мониторинга серверов Сейчас: 17.9.2021, 22:37
Rambler's Top100