Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Rekomendowane odpowiedzi

  • Odpowiedzi 63
  • Dodano
  • Ostatniej odpowiedzi

Top użytkownicy w tym temacie

Top użytkownicy w tym temacie

Opublikowano

Witam. robilem wszystko jak poradnik pisze ale przy make wyskakuje mi tp

Configure complete, now you may type './build.sh'.
root@vps533108:/ots/source# make
make: *** No rule to make target `../actions.cpp', needed by `obj//actions.o'.  Stop.
 

debian 7 tfs 0.4 prosz o pomoc

 

 

Opublikowano

Po paru godzinach spędzonych na forach zdałem sobie sprawę jakie głupie pytanie zadałem. Sorki. Na razie mam problem z vps przy reboot się wywrócił więc muszę czekać aż to ogarną. Na razie postawiłem sobie ten silnik lokalnie i wszystko pięknie działa, nawet nie było problemów z bazami więc zawartość jak najbardziej działa. Dzięki wielkie za dotychczasową pomoc i masę innych postów!

Opublikowano

Dostałem silnik od kolegi ktory robil sam ;/ i mu wszystko działało lecz bylo to 4-5 lat temu xD i no wlasnie robie wszystko dobrze nigdzie nie ma bledu nic 

 

Opublikowano

Zrobiłem tak jak napisałeś i :

//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:462: recipe for target 'theforgottenserver' failed
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory '/ots/sources'
Makefile:404: recipe for target 'all' failed
make: *** [all] Error 2
 

w sources.list jest to jak coś:  (chyba inaczej być nie powinno)

deb http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://www.deb-multimedia.org wheezy main non-free

  • 2 miesiące temu...
Opublikowano (edytowane)

Siema mam takie błędy 

luascript.cpp:2782:64: error: no ‘int32_t LuaScriptInterface::luaGetPlayerSecure                                                                                        Mode(lua_State*)’ member function declared in class ‘LuaScriptInterface’
 int32_t LuaScriptInterface::luaGetPlayerSecureMode(lua_State* L)
                                                                ^
luascript.cpp:10019:36: error: ‘getEnv’ was not declared in this scope
     ScriptEnviroment* env = getEnv();
                                    ^
luascript.cpp:10020:62: error: ‘L’ was not declared in this scope
     Player* player = env->getPlayerByUID((uint32_t)popNumber(L));
                                                              ^
luascript.cpp:10020:63: error: ‘popNumber’ was not declared in this scope
     Player* player = env->getPlayerByUID((uint32_t)popNumber(L));
                                                               ^
luascript.cpp:10021:5: error: expected unqualified-id before ‘if’
     if(!player)
     ^
luascript.cpp:10026:5: error: expected unqualified-id before ‘else’
     else
     ^
luascript.cpp:10029:5: error: expected unqualified-id before ‘return’
     return 1;
     ^
luascript.cpp:10030:1: error: expected declaration before ‘}’ token
 

 

jest w stanie ktoś pomóc?

===EDIT===
jakoś ogarnąłem te błedy teraz wyskakuje mi takie coś 


luascript.cpp:2781:1: error: expected unqualified-id before ‘{’ token
 {

chodzi o to xD

{
    //getPlayerSecureMode(cid)
    ScriptEnviroment* env = getScriptEnv();
    Player* player = env->getPlayerByUID((uint32_t)popNumber(L));
    if(!player)
    {
        reportErrorFunc(getErrorDesc(LUA_ERROR_PLAYER_NOT_FOUND));
        lua_pushboolean(L, false);
    }
    else
        lua_pushnumber(L, player->getSecureMode());
 
    return 1;
}

Edytowane przez trolers2
  • 1 rok później...
Opublikowano (edytowane)

ua -lcrypto -lcryptopp -lboost_filesystem -lboost_date_time -lboost_system -lboost_regex -lboost_thread -lz  -lxml2 -lpthread
/usr/bin/ld: //usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Błąd 1
make[1]: Opuszczenie katalogu `/home/tfs'
make: *** [all] Błąd 2


 co z tym 😕

Edytowane przez olekpro
Opublikowano
Dnia 22.11.2019 o 21:53, olekpro napisał:

ua -lcrypto -lcryptopp -lboost_filesystem -lboost_date_time -lboost_system -lboost_regex -lboost_thread -lz  -lxml2 -lpthread
/usr/bin/ld: //usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Błąd 1
make[1]: Opuszczenie katalogu `/home/tfs'
make: *** [all] Błąd 2


 co z tym 😕

To jest ukryta treść, proszę

 

  • 3 miesiące temu...
  • 9 miesięcy temu...
  • 11 miesięcy temu...
Opublikowano

Mam error 

 

 

Makefile:553: recipe for target 'luascript.o' failed make[1]: [luascript.o] Error 1 make[1]: Leaving directory '/ots' Makefile:404: recipe for target 'all' failed make: [all] Error 2

 

 

jak go naprawic zeby odpalic ? 

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...