Re: attempted backport failed...
On Fri, Apr 23, 2004 at 10:55:21AM -0400, Dale E Martin wrote:
> (I'm not subscribed to this list, please Cc me.)
> I managed to get the experimental gcc/g++ 3.4 packages to build on a
> woody+backports box. Now when I go to compile "hello world" with g++-3.4,
> I get this error:
> ~> cd test/c++/
> ~/test/c++> g++-3.4 hello.cc
> In file included from
> from /usr/include/c++/3.4/i486-linux/bits/gthr.h:96,
> from /usr/include/c++/3.4/i486-linux/bits/c++io.h:37,
> from /usr/include/c++/3.4/iosfwd:47,
> from /usr/include/c++/3.4/ios:44,
> from /usr/include/c++/3.4/ostream:45,
> from /usr/include/c++/3.4/iostream:45,
> from hello.cc:1:
> /usr/include/pthread.h:163: error: expected `,' or `...' before "__thread"
> /usr/include/pthread.h:591: error: storage class specifiers invalid in
> parameter declarations
> /usr/include/pthread.h:591: error: storage class specified for parameter
> Does this mean that g++ 3.4 _really_ needs lib6 (>= 2.3.2-ds1) and that
> there is no hope of a correctly working backport? Or is there something
> else I can try?
You could fix the header - it's just that one place that uses the
reserved __thread keyword.
MontaVista Software Debian GNU/Linux Developer