Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: ANSI compilation error for ppc604 target.
From: Bryan Moffit <moffit@jlab.org>
To: tech-talk@aps.anl.gov
Date: Thu, 13 May 2004 22:52:47 -0400 (EDT)
I'm having some trouble compiling the baseR3.14.5 with ccppc version
2.95.4 on Enterprise Linux for a ppc604 target (running vxWorks5.4).  I'm
not having this trouble with baseR3.13.4, but maybe it doesn't try include
netinet/in.h.  Here's the make error:

/usr/local/gnu-ppc/host/x86-linux/bin/ccppc -c   -D_POSIX_SOURCE
 -DCPU=PPC604 -DvxWorks -include /usr/local/gnu-ppc/target/h/vxWorks.h
 -ansi  -O3  -Wall     -mcpu=604 -mstrict-align -fno-implicit-templates
 -fno-builtin  -I.
 -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring
 -I../../../src/libCom/calc -I../../../src/libCom/cvtFast
 -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates
 -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib
 -I../../../src/libCom/env -I../../../src/libCom/error
 -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList
 -I../../../src/libCom/gpHash -I../../../src/libCom/logClient
 -I../../../src/libCom/macLib -I../../../src/libCom/misc
 -I../../../src/libCom/osi -I../../../src/libCom/taskwd
 -I../../../src/libCom/timer -I../../../src/libCom/tsDefs
 -I../../../include/os/vxWorks -I../../../include
 -I/usr/local/gnu-ppc/include/os/vxWorks -I/usr/local/gnu-ppc/include
 -I/usr/local/gnu-ppc/target/h  ../../../src/libCom/fdmgr/fdmgr.cpp
In file included from ../../../include/os/vxWorks/osdSock.h:29,
                 from ../../../src/libCom/osi/osiSock.h:22,
                 from ../../../src/libCom/fdmgr/fdManager.h:28,
                 from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
/usr/local/gnu-ppc/target/h/netinet/in.h:195: ANSI C++ forbids data member
`ip_opts' with same name as enclosing class
make[3]: *** [fdmgr.o] Error 1

Anyway around this?  Let me know if you need more info.
Thanks in advance..

-- 
-------------------------------------------------------------------------------
                 Bryan Moffit
          email: moffit@jlab.org
       web page: http://cabibbo.physics.wm.edu/~bryan
 random fortune:

The University of California Statistics Department; where mean is normal,
and deviation standard.

Replies:
Re: ANSI compilation error for ppc604 target. Andrew Johnson

Navigate by Date:
Prev: Re: VxWorks 6.0 and Enterprise licensing scheme Zoltan Kakucs
Next: Re: ANSI compilation error for ppc604 target. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: VxWorks 6.0 and Enterprise licensing scheme Zoltan Kakucs
Next: Re: ANSI compilation error for ppc604 target. Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·