[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: dcopidl segfault on AIX fixed!
From: David Faure <david () mandrakesoft ! com>
Date: 2000-05-31 9:26:25
[Download RAW message or body]
On Wed, May 31, 2000 at 11:07:35AM +0200, Platzer Wolfgang wrote:
> On aix I always get a segmentation fault when using dcopidl.
>
> Firstly I tracked to problem down to kdelibs\dcop\dcopidl\yacc.cc where the
> line
>
> yyval._str = new QString( *(yyvsp[-2]._str) + (*(yyvsp[0]._str) ));
>
> causes the error. Especially the operator+ overloading of QString does not
> work.
>
> After compiling dcopidl in a new project with only the necessary libs used
> when linking I found out, that dcopidl worked fine.
>
> And the problem was: kde-qt-addon!!!!
> If I use -lkde-qt-addon when linking this problem occurs again.
>
> So kde-at-addon seems to define operator+ for QString again???
>
> Maybe the order of the libs is important? What can I do?
This happens when it's picking up Qt 1.x in addition of Qt 2.x ...
(got a similar problem recently). libtool warns about that, but doesn't
stop (IMHO it should, in this case).
What does ldd dcopidl say, if you don't add -lkde-qt-addon ?
--
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic