Compilation problem

Yvan Peter Yvan.Peter@cnet.francetelecom.fr
Mon, 08 Dec 1997 08:21:49 +0100


--------------74003B82C0BA275FDEC26727
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nalin Stefano 308885/IF wrote:

> Hi all,
>
> I'm compiling the snapshot_971120 on Linux 2.0.30 with gcc 2.7.2. I've got
> the following error:
>
> posix.cc: In method `void omni_thread::start()':
> posix.cc:469: `pthread_attr_t' undeclared (first use this function)
> posix.cc:469: parse error before `;'
> ...
>
> Any suggestion?
>
> Best regards,
> Stefano

   I had the same problem. I fetched linuxthread 0.6, compiled and installed
it. Then all goes well. You
can see in pthread.h if the thread package is installed, it is a rather long
file with many definition but it is
not installed by default i believe.

  linuxthread can be found at:

ftp://ftp.inria.fr/INRIA/Projects/cristal/Xavier.Leroy/linuxthreads.tar.gz

  Regards,

   Yvan

--
Yvan PETER   France Telecom/CNET
42, rue des Coutures - BP6243 F-14066 CAEN Cedex
phone (+33) 2.31.75.91.39 / fax (+33) 2.31.73.56.26
email: Yvan.Peter@cnet.francetelecom.fr



--------------74003B82C0BA275FDEC26727
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Nalin Stefano 308885/IF wrote:
<BLOCKQUOTE TYPE=CITE>Hi all,

<P>I'm compiling the snapshot_971120 on Linux 2.0.30 with gcc 2.7.2. I've
got
<BR>the following error:

<P>posix.cc: In method `void omni_thread::start()':
<BR>posix.cc:469: `pthread_attr_t' undeclared (first use this function)
<BR>posix.cc:469: parse error before `;'
<BR>...

<P>Any suggestion?

<P>Best regards,
<BR>Stefano</BLOCKQUOTE>
&nbsp;&nbsp; I had the same problem. I fetched linuxthread 0.6, compiled
and installed it. Then all goes well. You
<BR>can see in pthread.h if the thread package is installed, it is a rather
long file with many definition but it is
<BR>not installed by default i believe.

<P>&nbsp; linuxthread can be found at:
<BR>&nbsp;&nbsp; <A HREF="ftp://ftp.inria.fr/INRIA/Projects/cristal/Xavier.Leroy/linuxthreads.tar.gz">ftp://ftp.inria.fr/INRIA/Projects/cristal/Xavier.Leroy/linuxthreads.tar.gz</A>&nbsp;

<P>&nbsp; Regards,

<P>&nbsp;&nbsp; Yvan
<PRE>--&nbsp;
Yvan PETER&nbsp;&nbsp; France Telecom/CNET
42, rue des Coutures - BP6243 F-14066 CAEN Cedex
phone (+33) 2.31.75.91.39 / fax (+33) 2.31.73.56.26
email: Yvan.Peter@cnet.francetelecom.fr</PRE>
&nbsp;</HTML>

--------------74003B82C0BA275FDEC26727--