gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] build error [png/avcodec?]


From: s-shige
Subject: Re: [Gnash-dev] build error [png/avcodec?]
Date: Thu, 14 Oct 2010 07:31:41 +0000
User-agent: DTI MyMail/0.3-trunk

Thanks to quick response.

According to libpng,
I depend on yum command. (I don't know appropriate repo)
so, I use old lib.

What version should I use ?

About linking incorrect lib,

I check it and 

its current position is :

/usr/local/lib
 libavcodec.a
  and
 libboost_thread.a
 libboost_thread.so
 libboost_thread.so.1.44.0

/usr/lib
 libavcodec.so.52
  and
 libboost_thread.a
 libboost_thread.so.1
 libboost_thread.so.1.32.0


What should I do ?

Regards,
Shige


On Thu, 14 Oct 2010 08:54:45 +0200, Benjamin Wolsey <address@hidden> wrote:
>> But, Error occurs like below.
>> 
>>   CXX    libgnashbase_la-GnashImagePng.lo
>> GnashImagePng.cpp: In member function `virtual void 
>> gnash::PngImageInput::read()':
>> GnashImagePng.cpp:162: error: `png_set_expand_gray_1_2_4_to_8' undeclared 
>> (first use this function)
> 
> png 1.2.7 is 6 years old and buggy! The function was called
> png_set_gray_1_2_4_to_8 back then.
> 
> We should require a particular libpng version in configure.
> 
>>   CXXLD  sdl-gnash
>> ../libmedia/.libs/libgnashmedia.so: undefined reference to 
>> `boost::detail::get_current_thread_data()'
>> ../libmedia/.libs/libgnashmedia.so: undefined reference to `typeinfo for 
>> boost::detail::thread_data_base'
>> ../libmedia/.libs/libgnashmedia.so: undefined reference to 
>> `av_image_fill_linesizes'
> 
> 
> I see libavcodec and libboostthread are the two libraries you've put in
> another place. 
> 
> make V=1 will show you the actual compiler and linker commands instead
> of "CXXLD", which might help you to check why those libraries aren't
> being linked correctly.
> 
> bwy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]