Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-07 10:59:17



Reply to topic  [ 4 posts ] 
Build error in final stages with 1.26.8.15 
Author Message

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
Henri, another issue popped up with today's code :(

Code:
Verifying message template
master: http://bitbucket.org/lindenlab/master-message-template/raw/tip/message_template.msg
current: /root/COOL_VL/linden/scripts/messages/message_template.msg
Refreshing master cache from http://bitbucket.org/lindenlab/master-message-template/raw/tip/message_template.msg
--- PASS ---
Newer
        in message ObjectFlagUpdate: has 1 extra blocks
        in message AvatarAppearance: has 1 extra blocks
        in message SimStats: has 1 extra blocks
        in message GodUpdateRegionInfo: has 1 extra blocks
        in message RegionHandshake: has 1 extra blocks
        in message RegionInfo: has 1 extra blocks

/root/COOL_VL/linden/indra/../lib/release/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
/root/COOL_VL/linden/indra/../lib/release/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
collect2: ld returned 1 exit status
make[2]: *** [newview/CoolVLViewer] Error 1
make[2]: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
make[1]: *** [newview/CMakeFiles/CoolVLViewer.dir/all] Error 2
make[1]: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
make: *** [all] Error 2
make: Leaving directory `/root/COOL_VL/linden/indra/viewer-linux-i686-release'
Error: the command 'make' exited with status 2


It was a clean run from scratch, no traces left from earlier versions.
Only changes made by me is switching tcmalloc back on, and change to libpng-1.2. Else it's completely your original code that is used.
Last version (1.26.8.14) compiled perfectly without a glitch.
And I do
Code:
./buildlinux.sh --ignore-warnings


Your expertise is appreciated as always!


2013-06-29 18:44:54
Profile

Joined: 2009-03-17 18:42:51
Posts: 6028
Reply with quote
Grrr... Yes, this is due to the pre-built GTK+ libraries that are used to compile (but not to run, since they are not bundled with the viewer that instead uses the end user's system GTK+ libraries) the viewer... The FT_Stream_GetLong() and FT_Stream_GetShort() functions have been deprecated starting from Freetype v2.4.5 and since the old GTK+ pre-built libraries were built using an older version (and never updated since by LL), the linker bails on build systems without a v2.4.4 or older libfreetype dynamic library installed...

I made a patch for freetype v2.4.12 that re-implements the deprecated functions so that the linker stops complaining (even if, in the end, those functions won't be used at all by the viewer) and recompiled a freetype pre-built with it: it seems to be working fine, here.

You can apply this other patch to the source tree of the Cool VL Viewer v1.26.4.79, v1.26.8.15 or v1.26.9.15 (*) so to be able to use the new pre-built library: let me know if it works for you.



(*) To apply the patch, download it and, from a terminal and while inside the linden/ directory of the viewer sources, use:
Code:
patch -p1 -s </path_to_the_patch/cool_vl_viewer-1.26.4.79-freetype.patch.txt


2013-06-30 07:13:20
Profile WWW

Joined: 2012-08-08 17:51:35
Posts: 90
Reply with quote
Henri Beauchamp wrote:
You can apply this other patch to the source tree of the Cool VL Viewer v1.26.4.79, v1.26.8.15 or v1.26.9.15 (*) so to be able to use the new pre-built library: let me know if it works for you.


With that patch applied it was possible to compile 1.26.8.15 without any errors, and the viewer also starts fine.

I'll let you know if there are other issues showing later when I'm online, but for a start it looks very good.

Thanks for the prompt help Henri ^_^


2013-06-30 15:48:22
Profile

Joined: 2009-03-17 18:42:51
Posts: 6028
Reply with quote
Today's releases are using a new pre-built library that got the necessary patch applied.


2013-07-05 22:23:43
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.