[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not able to build on Tru64 4.0g
From: |
David Sugar |
Subject: |
Re: Not able to build on Tru64 4.0g |
Date: |
Mon, 29 Oct 2001 14:23:33 -0500 (EST) |
This sounds like a strange interaction between the pthread header and
perhaps some of the defines setup in posix/config.h.
On Mon, 29 Oct 2001, Robert Kirkbride wrote:
> I've been attempting to compile version 1.6.4 on Tru 64 Unix using GCC
> version 3.01.
>
> The configure stage appears to work fine. However, upon hitting the
> first compile, errors starting with that below are produced.
>
> Making all in posix
> make[1]: Entering directory `/usr/users/rk/CommonC++-1.6.4/posix'
> /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
> -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c
> inaddr.cpp
> rm -f .libs/inaddr.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE
> -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp -DPIC -o .libs/inaddr.lo
> In file included from config.h:402,
> from inaddr.cpp:41:
> /usr/include/pthread.h:981: `valid' was not declared in this scope
> /usr/include/pthread.h:981: invalid data member initialization
> /usr/include/pthread.h:981: (use `=' to initialize static data members)
> /usr/include/pthread.h:982: `reserved' was not declared in this scope
> /usr/include/pthread.h:982: cannot initialize arrays using this syntax
> /usr/include/pthread.h:994: `valid' was not declared in this scope
> /usr/include/pthread.h:994: invalid data member initialization
> /usr/include/pthread.h:995: `name' was not declared in this scope
> /usr/include/pthread.h:995: invalid data member initialization
> /usr/include/pthread.h:995: declaration of
> `char*__pthread_paddock_t::_Pfield'
> /usr/include/pthread.h:994: conflicts with previous declaration
>
> I've tried a few basic test programs which #include pthread.h and they
> compile fine.
>
> Any ideas?
>
> Rob Kirkbride
> Thales Information Systems
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>