Jump to content

Error While Compiling From Svn


grepmaster
 Share

Recommended Posts

when i ran make CONFIG=Release -j3, below messages appears and i could not find test binary in 0ad/binaries/system


//snipped
In file included from ../../../source/ps/UserReport.cpp:24:
../../../source/lib/external_libraries/curl.h:50:23: warning: curl/curl.h: No such file or directory
CCmpDecay.cpp
../../../source/ps/UserReport.cpp:478: error: ISO C++ forbids declaration of ‘CURL’ with no type
../../../source/ps/UserReport.cpp:478: error: expected ‘;’ before ‘*’ token
../../../source/ps/UserReport.cpp:479: error: ISO C++ forbids declaration of ‘curl_slist’ with no type
../../../source/ps/UserReport.cpp:479: error: expected ‘;’ before ‘*’ token
../../../source/ps/UserReport.cpp:486: error: ‘CURL_ERROR_SIZE’ was not declared in this scope
../../../source/ps/UserReport.cpp: In constructor ‘CUserReporterWorker::CUserReporterWorker(const std::string&, const std::string&)’:
../../../source/ps/UserReport.cpp:91: error: ‘m_Curl’ was not declared in this scope
../../../source/ps/UserReport.cpp:91: error: ‘curl_easy_init’ was not declared in this scope
../../../source/ps/UserReport.cpp:99: error: ‘CURLOPT_ERRORBUFFER’ was not declared in this scope
../../../source/ps/UserReport.cpp:99: error: ‘m_ErrorBuffer’ was not declared in this scope
../../../source/ps/UserReport.cpp:99: error: ‘curl_easy_setopt’ was not declared in this scope
../../../source/ps/UserReport.cpp:102: error: ‘CURLOPT_NOSIGNAL’ was not declared in this scope
../../../source/ps/UserReport.cpp:105: error: ‘CURLOPT_FOLLOWLOCATION’ was not declared in this scope
../../../source/ps/UserReport.cpp:108: error: ‘CURLOPT_WRITEFUNCTION’ was not declared in this scope
../../../source/ps/UserReport.cpp:109: error: ‘CURLOPT_WRITEDATA’ was not declared in this scope
../../../source/ps/UserReport.cpp:110: error: ‘CURLOPT_READFUNCTION’ was not declared in this scope
../../../source/ps/UserReport.cpp:111: error: ‘CURLOPT_READDATA’ was not declared in this scope
../../../source/ps/UserReport.cpp:114: error: ‘CURLOPT_URL’ was not declared in this scope
../../../source/ps/UserReport.cpp:115: error: ‘CURLOPT_POST’ was not declared in this scope
../../../source/ps/UserReport.cpp:118: error: ‘m_Headers’ was not declared in this scope
../../../source/ps/UserReport.cpp:121: error: ‘curl_version’ was not declared in this scope
../../../source/ps/UserReport.cpp:123: error: ‘curl_slist_append’ was not declared in this scope
../../../source/ps/UserReport.cpp:128: error: ‘CURLOPT_HTTPHEADER’ was not declared in this scope
../../../source/ps/UserReport.cpp: In destructor ‘CUserReporterWorker::~CUserReporterWorker()’:
../../../source/ps/UserReport.cpp:147: error: ‘m_Headers’ was not declared in this scope
../../../source/ps/UserReport.cpp:147: error: ‘curl_slist_free_all’ was not declared in this scope
../../../source/ps/UserReport.cpp:148: error: ‘m_Curl’ was not declared in this scope
../../../source/ps/UserReport.cpp:148: error: ‘curl_easy_cleanup’ was not declared in this scope
../../../source/ps/UserReport.cpp: In member function ‘void CUserReporterWorker::Run()’:
../../../source/ps/UserReport.cpp:246: error: ‘m_Curl’ was not declared in this scope
../../../source/ps/UserReport.cpp:246: error: ‘CURLOPT_PROXY’ was not declared in this scope
../../../source/ps/UserReport.cpp:246: error: ‘curl_easy_setopt’ was not declared in this scope
../../../source/ps/UserReport.cpp: In member function ‘bool CUserReporterWorker::ProcessReport()’:
../../../source/ps/UserReport.cpp:333: error: ‘m_Curl’ was not declared in this scope
../../../source/ps/UserReport.cpp:333: error: ‘CURLOPT_POSTFIELDSIZE_LARGE’ was not declared in this scope
../../../source/ps/UserReport.cpp:333: error: ‘curl_off_t’ was not declared in this scope
../../../source/ps/UserReport.cpp:333: error: ‘curl_easy_setopt’ was not declared in this scope
../../../source/ps/UserReport.cpp:341: error: ‘CURLcode’ was not declared in this scope
../../../source/ps/UserReport.cpp:341: error: expected ‘;’ before ‘err’
../../../source/ps/UserReport.cpp:347: error: ‘err’ was not declared in this scope
../../../source/ps/UserReport.cpp:347: error: ‘CURLE_OK’ was not declared in this scope
../../../source/ps/UserReport.cpp:350: error: ‘CURLINFO_RESPONSE_CODE’ was not declared in this scope
../../../source/ps/UserReport.cpp:350: error: ‘curl_easy_getinfo’ was not declared in this scope
../../../source/ps/UserReport.cpp:369: error: ‘m_ErrorBuffer’ was not declared in this scope
../../../source/ps/UserReport.cpp: In member function ‘void CUserReporterWorker::AppendEscaped(std::string&, const std::string&)’:
../../../source/ps/UserReport.cpp:420: error: ‘m_Curl’ was not declared in this scope
../../../source/ps/UserReport.cpp:420: error: ‘curl_easy_escape’ was not declared in this scope
../../../source/ps/UserReport.cpp:422: error: ‘curl_free’ was not declared in this scope
../../../source/ps/UserReport.cpp: In static member function ‘static size_t CUserReporterWorker::SendCallback(char*, size_t, size_t, void*)’:
../../../source/ps/UserReport.cpp:442: error: ‘CURL_READFUNC_ABORT’ was not declared in this scope
../../../source/ps/UserReport.cpp: In member function ‘void CUserReporter::Initialize()’:
../../../source/ps/UserReport.cpp:569: error: ‘CURL_GLOBAL_ALL’ was not declared in this scope
../../../source/ps/UserReport.cpp:569: error: ‘CURL_GLOBAL_WIN32’ was not declared in this scope
../../../source/ps/UserReport.cpp:569: error: ‘curl_global_init’ was not declared in this scope
../../../source/ps/UserReport.cpp: In member function ‘void CUserReporter::Deinitialize()’:
../../../source/ps/UserReport.cpp:586: error: ‘curl_global_cleanup’ was not declared in this scope
make[1]: *** [obj/engine_Release/UserReport.o] Error 1
make: *** [engine] Error 2
make: *** Waiting for unfinished jobs....
//snipped
WaterManager.cpp
Linking graphics

was building on debian 6 64-bit

Edited by grepmaster
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...