Message: previous - next
Month: February 2012

Re: [trinity-devel] k3b compile error QObject

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 21 Feb 2012 07:57:06 -0600
On 02/20/2012 08:40 PM, Jay wrote:
> I have to say things are getting better and i have been able to compile most
> packages i could not before ... except k3b. I successfully compiled around 2
> weeks ago but today i get the error below error:
> I have all dependencies installed:
> libdvdcss, ffmpeg, lame, faac, faad2, speex, xvidcore, schroedinger, openjpeg,
> and x264
> # Install transcode.
> # Transcode dependencies: ffmpeg, libmpeg2, lame, libdv, libdvdread, and a52dec.
> ./misc/.libs/libmisc.a(k3bcdcopydialog.o): In function
> `K3bCdCopyDialog::slotStartClicked()':
> k3bcdcopydialog.cpp:(.text+0x30d3): undefined reference to
> `K3bCdCopyJob::K3bCdCopyJob(K3bJobHandler*, QObject*)'

This looks like the old gcc >=4.5 constructor definition problem where:

K3bCdCopyJob::K3bCdCopyJob(K3bJobHandler*, QObject*)

must be redefined as:

K3bCdCopyJob(K3bJobHandler*, QObject*)

without the 'K3bCdCopyJob::' reference.

Check your gcc version. If you now have gcc >=4.5, then the constructor looks
like the issue. At least I recall fixing many of these when Arch hit gcc 4.5 a
year ago.

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