Ir para conteúdo

Compilando O The Forgotten Server


Sukx

Posts Recomendados

  • 1 month later...

Me desculpem pelo flood, só que preciso muito de ajuda.

 

No meu fica dando estes mesmo erros.

 

[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::start_thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
C:\Documents and Settings\...\Source\0.3.6pl1.r92\dev-cpp\Makefile.win [build Error] [TheForgottenServer.exe] Error 1 

 

Os linkers são:

 

-01
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem

 

E o Compilador C++

 

-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__

 

Eu segui o tutorial todo '-' por favor me ajuda ai....

Link para o comentário
Compartilhar em outros sites

  • 3 months later...

Gente foi mal reviver o topico ai so q preciso de.+:

Compilador: Default compiler

Building Makefile: "D:\Documents and Settings\Administrador.WODBO\Desktop\0.3.6.r100\dev-cpp\Makefile.win"

Executando make...

make.exe -f "D:\Documents and Settings\Administrador.WODBO\Desktop\0.3.6.r100\dev-cpp\Makefile.win" all

g++.exe -c ../creature.cpp -o ../creature.o -I"D:/Documents and Settings/Administrador.WODBO/Desktop/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

 

g++.exe -c ../creatureevent.cpp -o ../creatureevent.o -I"D:/Documents and Settings/Administrador.WODBO/Desktop/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

 

g++.exe -c ../cylinder.cpp -o ../cylinder.o -I"D:/Documents and Settings/Administrador.WODBO/Desktop/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

 

g++.exe -c ../databasemanager.cpp -o ../databasemanager.o -I"D:/Documents and Settings/Administrador.WODBO/Desktop/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

 

g++.exe -c ../databaseodbc.cpp -o ../databaseodbc.o -I"D:/Documents and Settings/Administrador.WODBO/Desktop/Stian's Repack Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -fexpensive-optimizations -O1

 

../databaseodbc.cpp: In constructor `ODBCResult::ODBCResult(void*)':

../databaseodbc.cpp:351: error: `res' was not declared in this scope

 

make.exe: *** [../databaseodbc.o] Error 1

 

Execução terminada

 

 

Por favor esta dando esse erro quando eu tento compila minha source

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...
  • 1 month later...

Me desculpem pelo flood, só que preciso muito de ajuda.

 

No meu fica dando estes mesmo erros.

 

[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::start_thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread_resource_error::thread_resource_error()'
[Linker error] undefined reference to `boost::thread_resource_error::~thread_resource_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::thread::~thread()'
[Linker error] undefined reference to `boost::lock_error::lock_error()'
[Linker error] undefined reference to `boost::lock_error::~lock_error()'
C:\Documents and Settings\...\Source\0.3.6pl1.r92\dev-cpp\Makefile.win [build Error] [TheForgottenServer.exe] Error 1 

 

Os linkers são:

 

-01
-lboost_system
-lgmp
-llua5.1
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem

 

E o Compilador C++

 

-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__

 

Eu segui o tutorial todo '-' por favor me ajuda ai....

 

 

colega, voce esta usando o dev c++? porque pelo que entendi desses erros, ele nao conseguiu achar um desses tres itens que destaquei, acho que é isso, sou meio leigo no assunto.

 

-O1

-lboost_system

-lgmp

-llua5.1

-lmysql

-lboost_regex

-lsqlite3

-lwsock32

-lxml2

-lmysql

-lws2_32

-s

-lboost_filesystem

 

Tenho uma duvida tambem, no meu esta dando alguns erros:

 

 

32 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp openssl/rsa.h: No such file or directory.

33 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp openssl/bn.h: No such file or directory.

34 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp openssl/err.h: No such file or directory.

88 - C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp expected constructor, destructor, or type conversion before '*' token

C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp In function `void otserv(StringVec, ServiceManager*)':

546 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `g_RSA' was not declared in this scope

546 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `RSA_new' was not declared in this scope

548 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `BN_dec2bn' was not declared in this scope

556 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `RSA_check_key' was not declared in this scope

561 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `ERR_load_crypto_strings' was not declared in this scope

562 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `ERR_get_error' was not declared in this scope

562 C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\otserv.cpp `ERR_error_string' was not declared in this scope

C:\Users\Usuario\Desktop\TheForgoten-source\trunk.r3884\dev-cpp\Makefile.win [build Error] [obj//otserv.o] Error 1

 

O que eu faço??

Link para o comentário
Compartilhar em outros sites

  • 2 months later...

To com o msm problema

Se você receber um erro de linker dizendo algo sobre "libboost", tente colocar os seguintes comandos no terminal e depois volte a compilar:

Tem como vc postar esses comandos ae?

 

 

Grato

Diarmaint.

Link para o comentário
Compartilhar em outros sites

  • 4 months later...
×
×
  • Criar Novo...