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

List:       kde-solaris
Subject:    Re: [kde-solaris] problems compiling kdelibs-3.5
From:       Tobias Oetiker <oetiker () ee ! ethz ! ch>
Date:       2005-12-24 14:08:38
Message-ID: Pine.GSO.4.63.0512241507470.9564 () abin ! rr ! rgum ! pu
[Download RAW message or body]

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


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

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