Yes gcc is 4.5.2. Well yesterday it didn't compile, and today using same source and same build script everything compiled nicely. Sorry for wasting your time ... consider this resolved.
Jay
On 02/21/2012 07:57 AM, David C. Rankin wrote:This may be a slightly different issue. Looking again, the constructor issue
> 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.
>
applied to the following type of statements (shown in diff format):
- appFrontend->startAppCommand(TQString::TQString(), cmdline, false);
+ appFrontend->startAppCommand(TQString(), cmdline, false);
These would show up as compile errors like this:
/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/osd.h:40:78: error:
cannot call constructor ‘QImage::QImage’ directly
/home/david/tblds/trinity-app-amarok/src/amarok/amarok/src/osd.h:40:78: error:
for a function-style cast, remove the redundant ‘::QImage’
make[2]: ***
I thought these were all fixed?
--
David C. Rankin, J.D.,P.E.
---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net
For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting