__GTHREAD_MUTEX_INIT error while compiling qt applications

Sebastian Roth Sebastian.Roth@frm2.tum.de
Fri Jan 28 16:04:00 GMT 2005


Hi,

i got an error message while compiling qt programs (see attachment).

Gcc wanted me to send an error report to you, so here we are :). I
already searched through google, but only found some dev-cpp (windows?)
stuff, which didn't matched my problems.

I don't know how to fix it, but here are some specs of my system:
<cut>
gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
GNU ld version 2.15.92.0.2 20040927

libc:
GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1,
ssp-3.3.2-2, pie-8.7.6).
Compiled on a Linux 2.6.8 system on 2004-11-24.
Available extensions:
	GNU libio by Per Bothner
	crypt add-on version 2.1 by Michael Glad and others
	Native POSIX Threads Library by Ulrich Drepper et al
	BIND-8.2.3-T5B
	NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
</cut>

Need something more?

Thank you in advance.

		<Seb />

--
Rediscover the web! | http://www.mozilla.org/products/firefox/
Learn to quote...   | http://learn.to/quote/
-------------- next part --------------
g++ -c -pipe -Wall -W -g  -DICONDIR=\"/usr/local/dshome/share/dbdev2/icons/\" -I/usr/qt/3/mkspecs/linux-g++ -I. -I. -I/usr/local/dshome/include -I/usr/qt/3/include -I.ui/ -I.moc/ -o .obj/devicedialog.o .ui/devicedialog.cpp
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/stl_alloc.h:89,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/list:68,
                 from /usr/qt/3/include/qvaluelist.h:49,
                 from /usr/qt/3/include/qstringlist.h:42,
                 from getopt.h:41,
                 from /usr/include/unistd.h:775,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/i686-pc-linux-gnu/bits/gthr-default.h:38,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/i686-pc-linux-gnu/bits/gthr.h:98,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:37,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/fpos.h:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/char_traits.h:46,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/string:47,
                 from /usr/qt/3/include/qstring.h:56,
                 from /usr/qt/3/include/qvariant.h:42,
                 from .ui/devicedialog.h:13,
                 from .ui/devicedialog.cpp:10:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/stl_threads.h:79:2: #error __GTHREAD_MUTEX_INIT or __GTHREAD_MUTEX_INIT_FUNCTION should be defined by gthr.h abstraction layer, report problem to libstdc++@gcc.gnu.org.
distcc[14669] ERROR: compile (null) on localhost failed
distcc[14668] ERROR: compile .ui/devicedialog.cpp on 172.25.2.22 failed
make: *** [.obj/devicedialog.o] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050128/b62025d5/attachment.sig>


More information about the Libstdc++ mailing list