Lance Corrimal
I don't do stupid.
Join date: 9 Jun 2006
Posts: 877
|
09-21-2009 01:10
Hi, I'm trying to build snowglobe 1.1.2 on openSUSE, and I'm running into this error: [ 25%] Building CXX object llmessage/CMakeFiles/llmessage.dir/lltemplatemessagereader.cpp.o cc1plus: warnings being treated as errors In function ‘void* memset(void*, int, size_t)’, inlined from ‘BOOL LLTemplateMessageReader::decodeData(const U8*, const LLHost&  ’ at /usr/src/SL/snowglobe/linden/indra/llmessage/lltemplatemessagereader.cpp:680: /usr/include/bits/string3.h:82: error: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters make[2]: *** [llmessage/CMakeFiles/llmessage.dir/lltemplatemessagereader.cpp.o] Fehler 1 make[1]: *** [llmessage/CMakeFiles/llmessage.dir/all] Fehler 2 make: *** [all] Fehler 2 What's going wrong there? thanks, LC
|
Boroondas Gupte
Registered User
Join date: 16 Sep 2005
Posts: 186
|
09-21-2009 06:34
Does that error also occur when building snowglobe trunk? In any case, you might want to ask at the SLDev mailing list ( https://wiki.secondlife.com/wiki/SLDev) or the #opensl channel on efnet (IRC) instead of this forum.
|
Lance Corrimal
I don't do stupid.
Join date: 9 Jun 2006
Posts: 877
|
09-21-2009 06:45
naah, when i try snowglobe trunk it breaks because opensuse 11.1 uses boost 1.3.6 and LL uses boost 1.4.0 :/
|
Thickbrick Sleaford
Baffled
Join date: 28 Dec 2006
Posts: 26
|
09-26-2009 12:55
From: Lance Corrimal /usr/src/SL/snowglobe/linden/indra/llmessage/lltemplatemessagereader.cpp:680: /usr/include/bits/string3.h:82: error: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters
This is VWR-12620 / SNOW-213. It's fixed in Snowglobe trunk, but anyway it's a 1-line patch. http://jira.secondlife.com/browse/SNOW-213Is the Boost problem in trunk the same as in SNOW-204? I.e. are you building a standalone build or regular build? Regular builds in Snowglobe trunk with GCC >= 4.3 should be fixed now http://jira.secondlife.com/browse/SNOW-204
|
Lance Corrimal
I don't do stupid.
Join date: 9 Jun 2006
Posts: 877
|
10-02-2009 02:30
sometimes i think someone out there makes it extra hard to build snowglobe. on purpose. for fun.
every time i do a new svn checkout, someone added more obscure libraries to what's needed for building...
_____________________
From: Ralektra Breda Your maturity rating is directly reflected by the number of question marks you place at the end of a question. From: Lindal Kidd Those who enter any virtual world with the main purpose of making money at it...probably won't.
|