[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-e
Subject:    Re: Compilation error with --enable-final
From:       Luciano Montanaro <luciano.montanaro () consulenti ! fastweb ! it>
Date:       2005-09-01 13:11:30
Message-ID: 200509011511.31455.luciano.montanaro () consulenti ! fastweb ! it
[Download RAW message or body]

El Jueves, 1 de Septiembre de 2005 14:44, AnsumanTapan Satpathy escribió:
> Hi,
>
>
> I am trying to compile konqueror-embedded3 [3Mar2005 release] with
> --enable-final option.
>
> It is giving compilation error.
>
> my commands are:
> ./configure  --disable-debug --enable-static --disable-shared
> --enable-qt-embedded --enable-embedded --disable-pcre --enable-final
>
> To be specific the error happens in konq-embed/kdesrc/kdecore directory.
>
> Here is the error log.
>
> Can you please help me solve this?

--enable-final is currently broken.
You may go a bit further with the latest snapshot, since I fixed some of the 
issues with it, if you want to help by finding out the problem.

Typically, reordering the source files in the Makefile.am can solve the 
problem. For example, you can try moving the file with the error to the 
head of the list. Often this moves the problem to another file. Yo may try 
moving that one too.
In some case the use of the preprocessor is needed.

You can use 

#ifndef KDE_USE_FINAL
...
#endif

to conditionally disable sections of code. But you should avoid doing that 
in subdirectories of kdesrc, since that directory contains copies of files 
from kdelibs and would be overwritten at synchronization time.

Luciano



> One more question, does "enable-final" option reduces the size of the
> final output?
>

> Regards.
> Ansuman
>
>
_______________________________________________
konq-e mailing list
konq-e@kde.org
https://mail.kde.org/mailman/listinfo/konq-e

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic