Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Compiling viewer problems.

Maki Guyot
Registered User
Join date: 10 Jun 2007
Posts: 5
04-03-2008 06:57
I'm trying to compile the linux v1.19.0.5 release client on Kubuntu 7.04 for use with the RealRestraint viewer, but

$ scons DISTCC=no BTARGET=client BUILD=release MOZLIB=yes

gives me the following error and I don't know what to do with it:

From: someone
g++-3.4 -o /tmp/maki/home/maki/SL/Source/linden/indra/i686-linux-client-release/newview/llfloaterbuyland.o -c -g -pipe -Wall -Wno-reorder -Wno-trigraphs -Wno-sign-compare -Werror -fexceptions -pthread -D_REENTRANT -fno-math-errno -fsigned-char -fno-strict-aliasing -falign-loops=16 -ffast-math -O2 -D_FORTIFY_SOURCE=2 -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -DLL_LINUX=1 -DAPPID=secondlife -DLL_SDL=1 -DLL_FMOD=0 -DLL_X11=1 -DLL_GTK=1 -DLL_LIBXUL_ENABLED=1 -DLL_GSTREAMER_ENABLED=1 -DNDEBUG -DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter -Illcrashlogger -Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage -Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml -Ilscript -Ilscript/lscript_compile -I/home/maki/SL/Source/linden/libraries/include -I/home/maki/SL/Source/linden/libraries/include/havok -I/home/maki/SL/Source/linden/libraries/i686-linux/include -I/home/maki/SL/Source/linden/libraries/i686-linux/include/ELFIO -I/home/maki/SL/Source/linden/libraries/i686-linux/include/atk-1.0 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/glib-2.0 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/gtk-2.0 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/llfreetype2 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/pango-1.0 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/gstreamer-0.10 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/glib-2.0 -I/home/maki/SL/Source/linden/libraries/i686-linux/include/glib-2.0/include -I/home/maki/SL/Source/linden/libraries/i686-linux/include/libxml2 /tmp/maki/home/maki/SL/Source/linden/indra/i686-linux-client-release/newview/llfloaterbuyland.cpp
In file included from /tmp/maki/home/maki/SL/Source/linden/indra/i686-linux-client-release/newview/llfloaterbuyland.cpp:64:
/tmp/maki/home/maki/SL/Source/linden/indra/i686-linux-client-release/newview/llxmlrpctransaction.h:110: error: redeclaration of C++ built-in type `int'
scons: *** [/tmp/maki/home/maki/SL/Source/linden/indra/i686-linux-client-release/newview/llfloaterbuyland.o] Error 1
scons: building terminated because of errors.


Anyone have any ideas? >_>;
I'm really really new to all this compiling stuff and just going from what is said in https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28Linux%29
Triss Gray
Registered User
Join date: 10 Oct 2006
Posts: 59
04-04-2008 01:09
hmm, no idea what causes that error, almost looks like some error in the code...


don't know if this helps, but I had some luck compiling the deb source packages from http://www.byteme.org.uk/secondlife-amd64/apt-get-a-secondlife.html on ubuntu.... maybe you could try those?
Maki Guyot
Registered User
Join date: 10 Jun 2007
Posts: 5
04-04-2008 06:20
From: Triss Gray
hmm, no idea what causes that error, almost looks like some error in the code...


don't know if this helps, but I had some luck compiling the deb source packages from http://www.byteme.org.uk/secondlife-amd64/apt-get-a-secondlife.html on ubuntu.... maybe you could try those?

Thanks. Someone on a MU* I frequent pointed me to http://www.loomiverse.net/RestrainedLife/ however, where I found binaries that actually worked. XD

Went through all that trouble for naught. XD