trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

Re: [trinity-devel] k3b - massive 'undefined reference to `vtable for ...' ??

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 24 Jul 2012 08:40:49 -0500
On 07/23/2012 09:48 PM, David C. Rankin wrote:
> On 07/23/2012 08:35 PM, David C. Rankin wrote:
>> Tim, Darrell, All,
>>
>>   Latest build attempts on k3b led to massive error of the form:
>>
>> 'undefined reference to `vtable for ...'
>>
>>   I have no idea what went wrong. I've never seen this type of error before. I
>> have put up the full log at:
>>
>> http://www.3111skyline.com/dl/dt/tde/err/applications/k3b/20120723-201006_tde-k3b-14.0.0_dev-3-i686-build.log
>>
>>   A summary of the log beginning with the undefined errors is here:
>>
>> http://www.3111skyline.com/dl/dt/tde/err/applications/k3b/k3b-undef-ref-sum.log
> 
> <snip>
> 
>   I punted, created a completely new build environment, and I've started a
> complete build -- will report back.
> 
> gcc 4.7.1-5
> glibc 2.16.0-2
> 
> 

After a complete rebuild with a new build environment and glibc 2.16, ffmpeg
0.11-1, the same failures remain:

FAILED, saving logs to '/home/david/tde/err/bld/tdebindings'
FAILED, saving logs to '/home/david/tde/err/bld/applications/k3b'
FAILED, saving logs to '/home/david/tde/err/bld/applications/k9copy'
FAILED, saving logs to '/home/david/tde/err/bld/applications/kchmviewer'
FAILED, saving logs to '/home/david/tde/err/bld/applications/kdmtheme'
FAILED, saving logs to '/home/david/tde/err/bld/applications/kbfx'
FAILED, saving logs to '/home/david/tde/err/bld/applications/kstreamripper'
FAILED, saving logs to '/home/david/tde/err/bld/applications/krusader'

I created a patch (attached) that allows k3b to build with ffmpeg 0.11-1 to get
around the errors:

k3bffmpegwrapper.cpp:82:84: error: 'av_open_input_file' was not declared in this
scope
k3bffmpegwrapper.cpp:131:63: error: 'dump_format' was not declared in this scope

This patch will need to be checked. I don't think the kde4 k3b-2.2 patch is
applicable. But I do think we can use the additional scope resolution operators
it provides to get rid of some of the scope warnings.

The good news -- everything else built -- including koffice :) Full list:

http://www.3111skyline.com/dl/dt/tde/doc/bldlist_0723.txt

-- 
David C. Rankin, J.D.,P.E.



Attachments: