• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cholerne paczki <debian>

Dominik ms

Member
Joined
Jan 20, 2010
Messages
424
Reaction score
6
Żadne paczki nie chcą mi przebudować projektu...
Jest jakaś osoba, która zna rozwiązanie??
Debian 5.0
TFS 0.3.6pl1

LIB:
aptitude install libboost-date-time1.42-dev libboost-date-time1.42.0 libboost-filesystem1.42-dev libboost-filesystem1.42.0 libboost-iostreams1.42.0 libboost-regex1.42-dev libboost-regex1.42.0 libboost-serialization1.42-dev libboost-serialization1.42.0 libboost-system1.42-dev libboost-system1.42.0 libboost-thread1.42-dev libboost-thread1.42.0 libboost1.42-dev

ERROR:
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_getspecific@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_getspecific@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Błąd 1
make[1]: Opuszczenie katalogu `/home/otserv/sure'
make: *** [all] Błąd 2


LIB:
aptitude install libboost-date-time1.46-dev libboost-date-time1.46.0 libboost-filesystem1.46-dev libboost-filesystem1.46.0 libboost-iostreams1.46.0 libboost-regex1.46-dev libboost-regex1.46.0 libboost-serialization1.46-dev libboost-serialization1.46.0 libboost-system1.46-dev libboost-system1.46.0 libboost-thread1.46-dev libboost-thread1.46.0 libboost1.46-dev

ERROR:
otserv.cpp: In function 'void signalHandler(int32_t)':
otserv.cpp:179:8: error: 'SIGHUP' was not declared in this scope
otserv.cpp:184:8: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:188:8: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:192:8: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:197:8: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:201:8: error: 'SIGCONT' was not declared in this scope
otserv.cpp:205:8: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:210:8: error: 'SIGTERM' was not declared in this scope
otserv.cpp: In function 'int main(int, char**)':
otserv.cpp:284:19: error: aggregate 'main(int, char**)::sigaction sigh' has incomplete type and cannot be defined
otserv.cpp:285:20: error: 'SIG_IGN' was not declared in this scope
otserv.cpp:287:27: error: 'sigemptyset' was not declared in this scope
otserv.cpp:288:12: error: 'SIGPIPE' was not declared in this scope
otserv.cpp:288:34: error: invalid use of incomplete type 'struct main(int, char**)::sigaction'
otserv.cpp:284:9: error: forward declaration of 'struct main(int, char**)::sigaction'
otserv.cpp:291:9: error: 'SIGHUP' was not declared in this scope
otserv.cpp:291:30: error: 'signal' was not declared in this scope
otserv.cpp:292:9: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:293:9: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:294:9: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:295:9: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:296:9: error: 'SIGCONT' was not declared in this scope
otserv.cpp:297:9: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:298:9: error: 'SIGTERM' was not declared in this scope
make[1]: *** [otserv.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
scriptmanager.cpp: In member function 'bool ScriptingManager::loadMods()':
scriptmanager.cpp:122:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
make[1]: *** [scriptmanager.o] Błąd 1
luascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const std::string&, Npc*)':
luascript.cpp:719:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
make[1]: *** [luascript.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/otserv/sure'
make: *** [all] Błąd 2
 
boze
reinstall
- debian 32
- wrzucasz repo squeezy
- update, upgrade
- odpalasz paczki z poradnika elfa
- kompilujesz

@down
on ma zaśmieconą maszyne i dlatego wywalają błedy przy kompilacji mialem to samo i sie nawet nie meczylem tylko zastosowałem to tego tutaj i działało all.
 
Last edited by a moderator:
NAPRAWDE WYBACZCIE ZE ODŚWIERZAM TEMAT< MOŻECIE MI DAĆ ZA TO WARNA ale...
mam ten sam problem i pytam sie kolegi up, w jakim pliku szukac tej frazy?
 
Dzięki pomogło :] ale gdy teraz ponownie wpisuje "make" to wyskakuje mi taki błąd:

make[1]: WejĹie do katalogu `/home/tibia'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DDEB_HOST_MULTIARCH=\"x86_64-linux-gnu\" -I/usr/include/lua5.1 -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
^[[?6cIn file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
from /usr/include/boost/filesystem.hpp:34,
from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
make[1]: *** [luascript.o] BĹÄ
d 1
make[1]: Opuszczenie katalogu `/home/tibia'
make: *** [all] BĹÄ
d 2
 
Odświeżę stary temat, bo próbowałem skompilować starego TFS na boost 1.49 i błąd z leaf() powrócił.
Jak masz taki sam problem to w luascript.cpp i scriptmanager.cpp zamień:
[CPP]std::string s = it->leaf();[/CPP]
na:
[CPP]#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename().string()
#endif
std::string s = BOOST_DIR_ITER_FILENAME(it);[/CPP]
(kod z nowego TFS 0.3 skopiowałem)
 
Odświeżę stary temat, bo próbowałem skompilować starego TFS na boost 1.49 i błąd z leaf() powrócił.
Jak masz taki sam problem to w luascript.cpp i scriptmanager.cpp zamień:
[CPP]std::string s = it->leaf();[/CPP]
na:
[CPP]#if BOOST_VERSION < 104400
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename()
#else
#define BOOST_DIR_ITER_FILENAME(iterator) (iterator)->path().filename().string()
#endif
std::string s = BOOST_DIR_ITER_FILENAME(it);[/CPP]
(kod z nowego TFS 0.3 skopiowałem)

patrzcie trochę słońce poświeciło i już gęsi na PB się zleciały !
 

Similar threads

Replies
2
Views
565
Back
Top