[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot date d 5/27
From: |
Dave Nystrom |
Subject: |
RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot date d 5/27/01 |
Date: |
Wed, 13 Jun 2001 13:13:10 -0600 |
User-agent: |
SEMI/1.13.7 (Awazu) CLIME/1.13.6 (中 ノ庄) MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386-redhat-linux) |
Hi Jim,
Thanks. I tried your change and I still get the same result - failed compile
with the same error message.
Dave Nystrom email: address@hidden
LANL X-3 phone: 505-667-7913 fax: 505-665-3046
James Crotinger writes:
> Dave, try again. Ambro had put
>
> extern "C" {
> #include <string.h>
> }
>
> in two of the files in that directory, and that may have been causing a
> problem. If this doesn't fix it, then it sounds like a GCC problem since
> memcpy is supposed to be in string.h.
>
> Jim
>
> > -----Original Message-----
> > From: Dave Nystrom [mailto:address@hidden
> > Sent: Wednesday, June 13, 2001 11:38 AM
> > To: pooma-dev
> > Cc: Don Marshall
> > Subject: [pooma-dev] Problems Compiling Pooma 2 with gcc
> > snapshot dated
> > 5/27/01
> >
> [...]
>
> > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
> > ers.h: In
> > function `int streamOut(char*&, const T&) [with T = int]':
> > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
> > ers.h:133: instantiated from `int serialize(Stream&, const
> > T&) [with Stream = ch
> > ar*, T = int]'
> > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
> ers.cmpl.cpp:111: instantiated from > here
> > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
> > ers.h:71: `memcpy'
> > undeclared (first use this function)
> > /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ
> > ers.h:71: (Each
> > undeclared identifier is reported only once for each
> > function it appears
> > in.)
> >
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
> <TITLE>RE: [pooma-dev] Problems Compiling Pooma 2 with gcc snapshot dated
> 5/27/01</TITLE>
> </HEAD>
> <BODY>
>
> <P><FONT SIZE=2>Dave, try again. Ambro had put</FONT>
> </P>
>
> <P><FONT SIZE=2>extern "C" {</FONT>
> <BR><FONT SIZE=2>#include <string.h></FONT>
> <BR><FONT SIZE=2>}</FONT>
> </P>
>
> <P><FONT SIZE=2>in two of the files in that directory, and that may have
> been causing a problem. If this doesn't fix it, then it sounds like a GCC
> problem since memcpy is supposed to be in string.h.</FONT></P>
>
> <P> <FONT SIZE=2>Jim</FONT>
> </P>
>
> <P><FONT SIZE=2>> -----Original Message-----</FONT>
> <BR><FONT SIZE=2>> From: Dave Nystrom [<A
> HREF="mailto:address@hidden">mailto:address@hidden</A>]</FONT>
> <BR><FONT SIZE=2>> Sent: Wednesday, June 13, 2001 11:38 AM</FONT>
> <BR><FONT SIZE=2>> To: pooma-dev</FONT>
> <BR><FONT SIZE=2>> Cc: Don Marshall</FONT>
> <BR><FONT SIZE=2>> Subject: [pooma-dev] Problems Compiling Pooma 2 with
> gcc </FONT>
> <BR><FONT SIZE=2>> snapshot dated</FONT>
> <BR><FONT SIZE=2>> 5/27/01</FONT>
> <BR><FONT SIZE=2>> </FONT>
> <BR><FONT SIZE=2>[...]</FONT>
> </P>
>
> <P><FONT SIZE=2>>
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
> <BR><FONT SIZE=2>> ers.h: In </FONT>
> <BR><FONT SIZE=2>> function `int streamOut(char*&,
> const T&) [with T = int]':</FONT>
> <BR><FONT SIZE=2>>
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
> <BR><FONT SIZE=2>> ers.h:133: instantiated from `int
> serialize(Stream&, const </FONT>
> <BR><FONT SIZE=2>> T&) [with Stream = ch</FONT>
> <BR><FONT SIZE=2>> ar*, T = int]'</FONT>
> <BR><FONT SIZE=2>>
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
> <BR><FONT SIZE=2>ers.cmpl.cpp:111: instantiated from >
> here</FONT>
> <BR><FONT SIZE=2>>
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
> <BR><FONT SIZE=2>> ers.h:71: `memcpy'</FONT>
> <BR><FONT SIZE=2>> undeclared (first use this
> function)</FONT>
> <BR><FONT SIZE=2>>
> /home/wdn/blanca/packages/Pooma2/r2_2001_05_23/src/IO/Serializ</FONT>
> <BR><FONT SIZE=2>> ers.h:71: (Each </FONT>
> <BR><FONT SIZE=2>> undeclared identifier is reported
> only once for each </FONT>
> <BR><FONT SIZE=2>> function it appears </FONT>
> <BR><FONT SIZE=2>> in.)</FONT>
> <BR><FONT SIZE=2>> </FONT>
> </P>
>
> </BODY>
> </HTML>