Compilation error with --enable-final

Luciano Montanaro luciano.montanaro at consulenti.fastweb.it
Thu Sep 1 15:11:30 CEST 2005


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
>
>


More information about the konq-e mailing list