Build error on AIX 5.3
Posted: Thu Jun 12, 2008 7:11 am
hi guys..
i'm 'back'... (http://my.bzflag.org/bb/viewtopic.php?p ... e5a9c5ddbc)
trying this again on AIX 5.3 this time... cos I noticed someone built SDL....
http://www.perzl.org/aix/index.php?n=Main.SDL
anyway.. this is the error i'm getting now..
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -g -O2 -c cURLManager.cxx -o cURLManager.o
In file included from cURLManager.cxx:15:
../../include/cURLManager.h:76: error: ISO C++ forbids declaration of `CURLM'
with no type
../../include/cURLManager.h:76: error: parse error before `*' token
cURLManager.cxx:22: error: syntax error before `*' token
cURLManager.cxx: In constructor `cURLManager::cURLManager()':
cURLManager.cxx:64: error: `CURLOPT_NOSIGNAL' undeclared (first use this
function)
cURLManager.cxx:64: error: (Each undeclared identifier is reported only once
for each function it appears in.)
cURLManager.cxx:74: error: `CURLOPT_WRITEDATA' undeclared (first use this
function)
cURLManager.cxx: In static member function `static void cURLManager::setup()':
cURLManager.cxx:98: error: `multiHandle' undeclared (first use this function)
cURLManager.cxx:99: error: `curl_multi_init' undeclared (first use this
function)
cURLManager.cxx: In member function `void cURLManager::addHandle()':
cURLManager.cxx:228: error: `CURLMcode' undeclared (first use this function)
cURLManager.cxx:228: error: parse error before `=' token
cURLManager.cxx:229: error: `result' undeclared (first use this function)
cURLManager.cxx:229: error: `CURLM_OK' undeclared (first use this function)
cURLManager.cxx: In member function `void cURLManager::removeHandle()':
cURLManager.cxx:239: error: parse error before `=' token
cURLManager.cxx: In static member function `static int
cURLManager::fdset(fd_set&, fd_set&)':
cURLManager.cxx:273: error: parse error before `;' token
cURLManager.cxx:277: error: `curl_multi_fdset' undeclared (first use this
function)
cURLManager.cxx: In static member function `static bool cURLManager::perform()
':
cURLManager.cxx:290: error: parse error before `;' token
cURLManager.cxx:293: error: `curl_multi_perform' undeclared (first use this
function)
cURLManager.cxx:294: error: `CURLM_CALL_MULTI_PERFORM' undeclared (first use
this function)
cURLManager.cxx:302: error: `CURLMsg' undeclared (first use this function)
cURLManager.cxx:302: error: `pendingMsg' undeclared (first use this function)
cURLManager.cxx:306: error: `curl_multi_info_read' undeclared (first use this
function)
cURLManager.cxx: In member function `void cURLManager::infoComplete(CURLcode)':
cURLManager.cxx:328: error: cannot convert `curl_httppost*' to `HttpPost*' for
argument `1' to `void curl_formfree(HttpPost*)'
cURLManager.cxx: In member function `void
cURLManager::setTimeCondition(cURLManager::timeCondition, time_t&)':
cURLManager.cxx:372: error: `CURL_TIMECOND_NONE' undeclared (first use this
function)
cURLManager.cxx:380: error: `CURL_TIMECOND_IFMODSINCE' undeclared (first use
this function)
cURLManager.cxx: In member function `void cURLManager::addFormData(const char*,
const char*)':
cURLManager.cxx:424: error: parse error before `;' token
cURLManager.cxx:429: error: cannot convert `curl_httppost**' to `HttpPost**'
for argument `1' to `int curl_formadd(HttpPost**, HttpPost**, ...)'
cURLManager.cxx:430: error: `CURL_FORMADD_OK' undeclared (first use this
function)
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
i'm 'back'... (http://my.bzflag.org/bb/viewtopic.php?p ... e5a9c5ddbc)
trying this again on AIX 5.3 this time... cos I noticed someone built SDL....
http://www.perzl.org/aix/index.php?n=Main.SDL
anyway.. this is the error i'm getting now..
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DINSTALL_DATA_DIR=\"/usr/local/share/bzflag\" -fsigned-char -Wno-deprecated -g -O2 -c cURLManager.cxx -o cURLManager.o
In file included from cURLManager.cxx:15:
../../include/cURLManager.h:76: error: ISO C++ forbids declaration of `CURLM'
with no type
../../include/cURLManager.h:76: error: parse error before `*' token
cURLManager.cxx:22: error: syntax error before `*' token
cURLManager.cxx: In constructor `cURLManager::cURLManager()':
cURLManager.cxx:64: error: `CURLOPT_NOSIGNAL' undeclared (first use this
function)
cURLManager.cxx:64: error: (Each undeclared identifier is reported only once
for each function it appears in.)
cURLManager.cxx:74: error: `CURLOPT_WRITEDATA' undeclared (first use this
function)
cURLManager.cxx: In static member function `static void cURLManager::setup()':
cURLManager.cxx:98: error: `multiHandle' undeclared (first use this function)
cURLManager.cxx:99: error: `curl_multi_init' undeclared (first use this
function)
cURLManager.cxx: In member function `void cURLManager::addHandle()':
cURLManager.cxx:228: error: `CURLMcode' undeclared (first use this function)
cURLManager.cxx:228: error: parse error before `=' token
cURLManager.cxx:229: error: `result' undeclared (first use this function)
cURLManager.cxx:229: error: `CURLM_OK' undeclared (first use this function)
cURLManager.cxx: In member function `void cURLManager::removeHandle()':
cURLManager.cxx:239: error: parse error before `=' token
cURLManager.cxx: In static member function `static int
cURLManager::fdset(fd_set&, fd_set&)':
cURLManager.cxx:273: error: parse error before `;' token
cURLManager.cxx:277: error: `curl_multi_fdset' undeclared (first use this
function)
cURLManager.cxx: In static member function `static bool cURLManager::perform()
':
cURLManager.cxx:290: error: parse error before `;' token
cURLManager.cxx:293: error: `curl_multi_perform' undeclared (first use this
function)
cURLManager.cxx:294: error: `CURLM_CALL_MULTI_PERFORM' undeclared (first use
this function)
cURLManager.cxx:302: error: `CURLMsg' undeclared (first use this function)
cURLManager.cxx:302: error: `pendingMsg' undeclared (first use this function)
cURLManager.cxx:306: error: `curl_multi_info_read' undeclared (first use this
function)
cURLManager.cxx: In member function `void cURLManager::infoComplete(CURLcode)':
cURLManager.cxx:328: error: cannot convert `curl_httppost*' to `HttpPost*' for
argument `1' to `void curl_formfree(HttpPost*)'
cURLManager.cxx: In member function `void
cURLManager::setTimeCondition(cURLManager::timeCondition, time_t&)':
cURLManager.cxx:372: error: `CURL_TIMECOND_NONE' undeclared (first use this
function)
cURLManager.cxx:380: error: `CURL_TIMECOND_IFMODSINCE' undeclared (first use
this function)
cURLManager.cxx: In member function `void cURLManager::addFormData(const char*,
const char*)':
cURLManager.cxx:424: error: parse error before `;' token
cURLManager.cxx:429: error: cannot convert `curl_httppost**' to `HttpPost**'
for argument `1' to `int curl_formadd(HttpPost**, HttpPost**, ...)'
cURLManager.cxx:430: error: `CURL_FORMADD_OK' undeclared (first use this
function)
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.