On 09/01/2012 05:57 PM, Lars Bamberger wrote:
> Hi,
>
> I'm building gnash-0.8.10 and it seems that the gnash build system does
> not add the linker flag -lboost_system.
>
> 'make' stops with
>
>> /usr/bin/ld: dump_gnash-gnash.o: undefined reference to symbol 
>> 'boost::system::system_category()'
>> /usr/bin/ld: note: 'boost::system::system_category()' is defined in DSO 
>> /usr/lib/libboost_system.so.1.50.0 so try adding it to the linker command 
>> line
>> /usr/lib/libboost_system.so.1.50.0: could not read symbols: Invalid operation
>
> 'make LDFLAGS=-lboost_system' runs to the end.
> Also, 'make check LDFLAGS=-lboost_system' completes without error as
> apposed to running it without the extra LDFLAG.
>
> Can anyone confirm this? I saw that Krejzi is working on a new version
> of libboost, so maybe this will go away with libboost-1.51.0.
>
> If not, should 'LDFLAGS=-lboost_system' be added to the instructions?
>
> Lars
>

Ken already noted that, and he presented a fix here: 
http://linuxfromscratch.org/pipermail/blfs-dev/2012-August/024046.html

He was using Boost 1.51.0, so the problem still persists with it. It 
didn't happen with Boost 1.49.0.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to