Linker error compiling kdelibs cvs
daniel at haas.dnsalias.org
daniel at haas.dnsalias.org
Wed Oct 23 16:28:30 BST 2002
> * David Faure (david at mandrakesoft.com) [021023 12:05]:
>> Could be several things.
>> * Old htmlpageinfo.cc/.h (not your case though, if you compiled from
>> scratch) * Wrong uic being used (check the command used to recreate
>> htmlpageinfo.cc) * Undefined symbol makes uic not work (I had to "make
>> install" in kdecore so that uic wouldn't load a lib with undef
>> symbols) (here again, check what happens when uic runs, and whether it
>> shows any "undef symbol").
>>
>> Bug seems to be that we don't abort compilation when uic fails.
>
> Same problem here, although both qt-copy and kde are very
> fresh and compiled after making cvs-clean. No old kdewidgets.so
> in $KDEDIR/lib/kde3/plugins/designer, but rather the version that
> was left by making install in kdecore. Yet uic crashes when
> called from the Makefile:
>
> | /usr/local/qt/bin/uic -L /usr/local/kde/lib/kde3/plugins/designer \ |
> -nounload -tr tr2i18n [...]
>
>
>
> But the funny thing is, that the Makefile also says
> | [...] sed -e "s,tr2i18n( \"\" ),QString::null,g" [...]
>
> but when I call uic without
> "-L /usr/local/kde/lib/kde3/plugins/designer"
> and hence actually get a working htmlpageinfo.cc (instead of
> a segfault), this file doesn't contain "tr2i18n" at all, but
> rather several instances of "tr218n" (note the missing 'i'!).
> Looks suspicious, no?
>
> m. :-)
Well, I checked all plugins and found no old plugins.
Then i did an strace on the uic call and saw that uic crashed while
loading the
cppeditor plugin. I then moved it out of the way, and it worked.
But I don't know why it crashes with this plugin. Any Ideas?
More information about the kde-core-devel
mailing list