GTHREAD_MUTEX_INIT

Myron Deale mdeale@hotmail.com
Mon Mar 1 23:18:00 GMT 2004


Hi,

I upgraded from gcc 2.95 to gcc 3.2 the other day.  This is on an 
(inherited) SCO system.  When I type "gcc -v" I get:
Reading specs from /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.6/3.2/specs
Configured with: ./configure --with-gnu-as --with-as=/usr/local/bin/as : 
(reconfigured) ./configure --with-gnu-as --with-as=/usr/local/bin/as 
--program-suffix=-3.2
Thread model: single
gcc version 3.2



The upgrade went ok.  But now I'm trying to compile something and I get the 
following error message:
/usr/local/include/c++/3.2/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.

Well, here's the report.  But, I'm curious if you have any suggestions on 
work-arounds?  [Dogpile hasn't turned up any FAQ's or patches ... yet].  
Thanks.

--Myron

_________________________________________________________________
Get business advice and resources to improve your work life, from bCentral. 
http://special.msn.com/bcentral/loudclear.armx



More information about the Libstdc++ mailing list