NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: qt4-libs sparc64 compiling stop.



Hello Sverre and Michele

Thanks for you information after i add this steps i recompile 
with following parameters and update diff from you mail.

/usr/pkgsrc/x11/qt4-libs make clean && make distclean && cvs rdiff -u -r1.35 
-r1.36 pkgsrc/x11/qt4-libs/Makefile && make

but after this appair the following mistake
please for help iam happy.
mc

../JavaScriptCore/wtf/Threading.h: In function 'void 
WTF::atomicIncrement(volatile int*)':
../JavaScriptCore/wtf/Threading.h:199: error: cannot convert 'volatile int*' to 
'volatile _Atomic_word*' for argument '1' to 'void 
__gnu_cxx::__atomic_add(volatile _Atomic_word*, int)'
../JavaScriptCore/wtf/Threading.h: In function 'int 
WTF::atomicDecrement(volatile int*)':
../JavaScriptCore/wtf/Threading.h:200: error: cannot convert 'volatile int*' to 
'volatile _Atomic_word*' for argument '1' to '_Atomic_word 
__gnu_cxx::__exchange_and_add(volatile _Atomic_word*, int)'
gmake[1]: *** [.obj/release-shared/HashTable.lo] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.5.2/src/3rdparty/webkit/WebCore'
gmake: *** [sub-webkit-sub_src_target_ordered] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
blade#


-------- Original-Nachricht --------
> Datum: Sat, 17 Oct 2009 09:16:33 -0600
> Betreff: Re: qt4-libs sparc64 compiling stop.

> On Fri October 16 2009 18:45:24 Michael wrote:
> ...
> > That's trivial to fix - look at the code in JavaScriptCore/wtf/
> > Threading.h and change the class which encapsulates the _atomic_*
> > calls to use _Atomic_word instead of int. But, if what you're trying
> > to build KDE4 you will run into something much more annoying later on
> > - automoc4 will fail to find some includes which aren't installed
> > anywhere, and that's not sparc64-specific either, I've seen it on
> > macppc and i386 too. Didn't figure out how to fix that yet.
> 
> I found that the attached patch modeled after
> 
> http://mail-index.netbsd.org/pkgsrc-changes/2009/10/13/msg031021.html
> 
> helps with soprano and, I'm hoping, kdelibs4.  I'm on amd64.
> 
> Sverre

-- 
Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://portal.gmx.net/de/go/dsl02


Home | Main Index | Thread Index | Old Index