[kde-solaris] problems compiling kdelibs-3.5
Tobias Oetiker
oetiker at ee.ethz.ch
Sat Dec 24 15:08:38 CET 2005
Hi Rob,
since this is just advise and I could not get my solaris to accept
it I just removed the line ... does not hurt except for performance
I guess ....
--- /scratch/build/kde-3.5.0-to/kdelibs-3.5.0/kdecore/ksycoca.cpp~ 2005-12-18 14:15:21.205069000 +0100
+++ /scratch/build/kde-3.5.0-to/kdelibs-3.5.0/kdecore/ksycoca.cpp 2005-12-18 14:15:21.205076000 +0100
@@ -145,7 +145,7 @@
}
else
{
- (void) madvise((void*)m_sycoca_mmap, m_sycoca_size, MADV_WILLNEED);
+/* (void) madvise((void*)m_sycoca_mmap, m_sycoca_size, MADV_WILLNEED); */
QByteArray b_array;
b_array.setRawData(m_sycoca_mmap, m_sycoca_size);
cheers
tobi
Monday Rob Fisher wrote:
> I've built QT and arts, but kdelibs-3.5 is failing with:
>
> ksycoca.cpp: In member function `bool KSycoca::openDatabase(bool)':
> ksycoca.cpp:147: error: `madvise' was not declared in this scope
> ksycoca.cpp:147: warning: unused variable 'madvise'
> gmake[2]: *** [ksycoca.lo] Error 1
> gmake[2]: Leaving directory `/home/rob/work/build/kdelibs-3.5.0/kdecore'
> gmake[1]: *** [all-recursive] Error 1
>
>
> This is OpenSolaris with gcc-3.4.5. Anyone got any ideas?
>
> TIA
>
>
> Rob
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
--
______ __ _
/_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
/ // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286
More information about the kde-solaris
mailing list