-Wl,--no-undefined (was Re: I found the culprit! am_edit r1.357)

Lubos Lunak l.lunak at suse.cz
Wed Feb 19 15:38:40 GMT 2003


On Saturday 15 of February 2003 11:08, Leo Savernik wrote:
> Am Samstag, 15. Februar 2003 08:58 schrieb James Richard Tyrer:
> > Leo Savernik wrote:
> > > What's up? Everything worked perfectly two weeks ago. I haven't changed
> > > anything since then so my system setup is very likely not the culprit.
> >
> > My first guess is that you are having problems with: "*.la" files
> > (sometimes: "*.la*" files as well).
> >
> > If you delete the: "*.la[*]" files that are causing the problem -- try
> > the ones listed in the command that caused the error -- and rebuild, the
> > problem should be resolved.
>
> I tried, but the fault was to be found on another spot.
>
> It's the latest revision to kde-common/am_edit, just checked in yesterday
> by Luboš Luňák. When reverse applying the patch everything compiles as ever
> before.
>
> Luboš, what do to with it? It breaks my build (gcc 2.95 binutils 2.10.0.33
> glibc 2.2) so I'm tempting to remove it. Arrgh, it cost me a whole night
> :-(

 It should work now. On Linux it got another option, which should make go away 
all undefined references from other libraries. On other systems, it's 
disabled :-p , and closures are used, just like it used to be (-no-undefined 
libs being linked twice). Feel free to enable it also for your system if you 
find a way to make it work.

 If there are still some problems, complain. Or first check that all the 
required libraries are includes in LIBADD.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<




More information about the kde-core-devel mailing list