Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Cpomiling ERRORS

TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-19-2007 05:15
hi i try to compile SL 1.18.1.2 and 1.18.3.4 , and i have errors:
what can i do ?
i tried in gcc 4.2.0 and 3.4.6-r2


CODE

sda7/temp/1.18.1.2/libraries/i686-linux/include/glib-2.0 -I/mnt/sda7/temp/1.18.1.2/libraries/i686-linux/include/glib-2.0/include -I/mnt/sda7/temp/1.18.1.2/libraries/i686-linux/include/libxml2 /tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:42:26: expat/expat.h: No such file or directory
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:268: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:268: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:269: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:269: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:270: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:270: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:273: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:273: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:275: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:275: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:277: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:277: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:297: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:297: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:299: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:299: error: expected `;' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:302: error: `XML_Parser' does not name a type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In constructor `LLSDXMLParser::Impl::Impl()':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:325: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:325: error: `XML_ParserCreate' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:325: warning: unused variable 'mParser'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:325: warning: unused variable 'XML_ParserCreate'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In destructor `LLSDXMLParser::Impl::~Impl()':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:332: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:332: error: `XML_ParserFree' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:332: warning: unused variable 'mParser'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:332: warning: unused variable 'XML_ParserFree'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `S32 LLSDXMLParser::Impl::parse(std::istream&, LLSD&)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:366: error: `XML_Status' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:366: error: expected `;' before "status"
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:373: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:373: error: `XML_GetBuffer' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:388: error: `status' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:388: error: `XML_ParseBuffer' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:390: error: `XML_STATUS_ERROR' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:390: warning: unused variable 'XML_STATUS_ERROR'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:373: warning: unused variable 'XML_GetBuffer'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:388: warning: unused variable 'XML_ParseBuffer'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:402: error: `status' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:402: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:402: error: `XML_ParseBuffer' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:403: error: `XML_STATUS_ERROR' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:403: warning: unused variable 'XML_STATUS_ERROR'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:366: warning: unused variable 'XML_Status'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:402: warning: unused variable 'mParser'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:402: warning: unused variable 'XML_ParseBuffer'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `void LLSDXMLParser::Impl::reset()':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:445: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:445: error: `XML_ParserReset' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:446: error: `XML_SetUserData' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:447: error: `XML_SetElementHandler' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:448: error: `XML_SetCharacterDataHandler' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:445: warning: unused variable 'XML_ParserReset'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:446: warning: unused variable 'XML_SetUserData'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:447: warning: unused variable 'XML_SetElementHandler'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:448: warning: unused variable 'XML_SetCharacterDataHandler'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:458: error: expected initializer before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `void LLSDXMLParser::Impl::parsePart(const char*, int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:474: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:474: error: `XML_GetBuffer' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:479: error: `XML_ParseBuffer' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:474: warning: unused variable 'XML_GetBuffer'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:479: warning: unused variable 'XML_ParseBuffer'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:484: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:485: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `void LLSDXMLParser::Impl::startElementHandler(int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:492: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:511: error: expected initializer before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:512: error: `encoding' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:492: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:570: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:571: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `void LLSDXMLParser::Impl::endElementHandler(int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:582: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:591: error: `mParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:591: error: `XML_StopParser' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:591: warning: unused variable 'mParser'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:591: warning: unused variable 'XML_StopParser'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:582: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:667: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:668: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In member function `void LLSDXMLParser::Impl::characterDataHandler(int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:669: error: `data' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:669: error: `length' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:669: warning: unused variable 'data'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:669: warning: unused variable 'length'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:674: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:675: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In static member function `static void LLSDXMLParser::Impl::sStartElementHandler(void*, int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:676: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:676: error: `attributes' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:676: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:676: warning: unused variable 'attributes'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:680: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:681: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In static member function `static void LLSDXMLParser::Impl::sEndElementHandler(void*, int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:682: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:682: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:686: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:687: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In static member function `static void LLSDXMLParser::Impl::sCharacterDataHandler(void*, int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:688: error: `data' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:688: error: `length' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:688: warning: unused variable 'data'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:688: warning: unused variable 'length'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: At global scope:
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:692: error: expected `,' or `...' before '*' token
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:693: error: ISO C++ forbids declaration of `XML_Char' with no type
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp: In static member function `static LLSDXMLParser::Impl::Element LLSDXMLParser::Impl::readElement(int)':
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:694: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:694: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:695: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:695: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:696: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:696: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:697: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:697: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:698: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:698: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:699: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:699: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:700: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:700: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:701: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:701: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:702: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:702: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:703: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:703: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:704: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:704: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:705: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:705: warning: unused variable 'name'
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:706: error: `name' was not declared in this scope
/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:706: warning: unused variable 'name'
scons: *** [/tmp/tyt/mnt/sda7/temp/1.18.1.2/indra/i686-linux-client-release/llcommon/llsdserialize_xml.o] Error 1
scons: building terminated because of errors.


Dzonatas Sol
Visual Learner
Join date: 16 Oct 2006
Posts: 507
09-19-2007 06:30
You have not compiled or installed expat correctly.

Here is help:

https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28Linux%29

Also join the SLDev mail-list where more source discussion happens (than the forums):

https://wiki.secondlife.com/wiki/SLDev
_____________________
L$1 Rental Special - Every Week - Limit one per resident
http://slurl.com/secondlife/Haenim/30/30/705
Michael Bigwig
~VRML Aficionado~
Join date: 5 Dec 2005
Posts: 2,181
09-19-2007 06:32
It's probably a simple type-o issue. :)
_____________________
~Michael Bigwig
__________________________________________________Lead Designer, Glowbox Designs
TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-19-2007 06:45
i thought so, but my xpat was always fine, i will try recompile or something, thx
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
09-19-2007 07:38
How did you switch between the g++ versions? If you don't edit the SConstruct script, compiling the client will always use g++-3.4.
Btw, do you have a "libxml" folder with the libxml header files at "libraries/i686-linux/include/libxml2/" ? Are the needed header files at "libraries/include/expat/"? If not, the compile process will use the one from your system, which might not be compatible (or even might not be found at all. In that case you could copy over the header files from one of the subfolders of your "usr" folder, wherever they might be).
The easiest solution is to use the lib package the Lindens provide. If you still want to use different versions, delete the libs inside the client source and see if you can still compile the client. If not, go back to the Lindens provided ones.

-Asriazh
TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-19-2007 08:00
you have right it always using gcc 3.4 i used gcc-config :-P
you know? this is really hard to compile SL, i wil lstick ready binary versions...
but everything else i have compiled on my computer in my system (gentoo distrybution ....) :-)

try to replay in my second post, to to make SL less memory usage
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
09-19-2007 08:14
If you want SConstruct to use the native compiler you switched to using gcc-config, you have to open SConstruct and replace "g++-3.4" with "g++". It's at line 333 of the SConstruct script.
Once you got the hang of it, it's not all that hard to compile the client source ^_^ Just don't give up. Good luck ^_^

-Asriazh
TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-20-2007 09:59
i changed gcc version but still i have errors:

i thing this is important:
but i have installed expat 2.0.1 so i dont know what to do

...........
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llcommon/llsdserialize_xml.cpp:42:26: error: expat/expat.h: No such file or directory
............
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
09-20-2007 10:11
Take a look at "linden/libraries/include/expat/" of your client source. Do you see "expat.h" and "expat_external.h" there? If not, get them from your systems "usr" folder (for me its at "/usr/include/";) and copy them into the folder i mentioned before. Easy as that ^_^

-Asriazh
TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-20-2007 10:30
hi, i made symlinks of expat and zlib (i had error with zib not found)
but now i have another thing:
how can i dont give up ?? :-)

include/gstreamer-0.10 -I/mnt/sda7/temp/1.18.3.4/libraries/i686-linux/include/glib-2.0 -I/mnt/sda7/temp/1.18.3.4/libraries/i686-linux/include/glib-2.0/include -I/mnt/sda7/temp/1.18.3.4/libraries/i686-linux/include/libxml2 /tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp
cc1plus: warnings being treated as errors
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp: In function 'const char* OrderToString(LLQuaternion::Order)':
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:694: warning: deprecated conversion from string constant to 'char*'
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:697: warning: deprecated conversion from string constant to 'char*'
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:700: warning: deprecated conversion from string constant to 'char*'
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:703: warning: deprecated conversion from string constant to 'char*'
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:706: warning: deprecated conversion from string constant to 'char*'
/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.cpp:709: warning: deprecated conversion from string constant to 'char*'
scons: *** [/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llmath/llquaternion.o] Error 1
scons: building terminated because of errors.
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
09-20-2007 10:36
That error usually appears if you try to compile the SL client source using gcc-4.2. The highest version you can use with an unchanged sourcecode is gcc-4.1.2. At least that's true for me.
TytanickPL Troell
Registered User
Join date: 3 May 2007
Posts: 8
09-20-2007 10:59
yes, my bad (i compiled som parts with gcc 4.2 and then tried to resume compilation with 3.4 :-)

-------
after few minutes ...
-------
NO THATS IT
i wont compile 4 hours just by making sympolic paths to libraries !
scons: *** [/tmp/tyt/mnt/sda7/temp/1.18.3.4/indra/i686-linux-client-release/llrender/llimagegl.o] Error 1

i will compile second life when there will me simple "make"

i didnt have that problems with any package in my gentoo system, but SL OMG !

so thx for help but i will use bin packages until SL team will do something with compiling script, unbeliveable ! :-)
Dzonatas Sol
Visual Learner
Join date: 16 Oct 2006
Posts: 507
09-20-2007 12:56
If you are relying on the the gentoo shared libs, then it won't find all the "dev" files.

Just download expat from the main site (not gentoo's), and put the headers in the libraries/include/expat directory.

You'll need to recompile APR as it shows on the wiki, with that expat also.
_____________________
L$1 Rental Special - Every Week - Limit one per resident
http://slurl.com/secondlife/Haenim/30/30/705
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
09-20-2007 13:45
... or use the ebuild from gentoo's secondlife portage-overlay. (Search this forum for "layman";)
Asriazh Frye
Smart Cookie
Join date: 30 Sep 2006
Posts: 173
09-20-2007 14:33
"layman -a secondlife" should do, i think ^^;