EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Problems building edm-1-11-0zg
From: [email protected] (Cuzon Stephane)
To: [email protected]
Cc: [email protected]
Date: Wed, 05 Dec 2007 15:58:03 +0100
Hi,

I have the same problem under fedora core 6. Modify pvBindings.h in /extensions/src/edm/lib as :

pvClass *createNew( ....

to

class pvClass *createNew(...

and

pvClass *clone(...

to

class pvClass *clone(...

New g++ version is more sensible !

S. Cuzon





I try to make edm-1-11-0zg on my Linux system (GENTOO Linux, latest
revision) and I get the following error:

/usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500 -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3 -Wall -DSINGLE_THREADED=1 -D__epics__=1 -g -fPIC -I. -I.. -I/usr/local/EPICS/include/edm/os/Linux
-I/usr/local/EPICS/include/edm -I/usr/local/EPICS/base/include/os/Linux
-I/usr/local/EPICS/base/include -I/usr/local/EPICS/include/os/Linux
-I/usr/local/EPICS/include -I../../util -I../../lib -I../../pvlib
-I/usr/X11R6/include -I/usr/X11R6/include/X11 ../app_pkg.cc ../pvBindings.h:69: error: ISO C++ forbids declaration of 'pvClass'
with no type
../pvBindings.h:69: error: expected ';' before '*' token
../pvBindings.h:72: error: ISO C++ forbids declaration of 'pvClass'
with no type
../pvBindings.h:72: error: expected ';' before '*' token
../app_pkg.cc: In function 'void extractPosition(char*, char*, int,
int*, int*, int*)':
.
. (omitted long list of errors...)
.
make[2]: *** [app_pkg.o] Error 1
make[2]: Leaving directory
`/usr/local/EPICS/extensions/src/edm-1-11-0zg/lib/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory
`/usr/local/EPICS/extensions/src/edm-1-11-0zg/lib'
make: *** [lib.install] Error 2


What am I missing?

David Dudley

begin:vcard
fn;quoted-printable:Cuzon St=C3=A9phane
n;quoted-printable:St=C3=A9phane;Cuzon
org;quoted-printable:Service Technique Physique;Aires Exp=C3=A9rimentales
adr:BP 55027;;Bd Henri Becquerel;CAEN;;14076;FRANCE
email;internet:[email protected]
title:GANIL - CNRS-IN2P3/CEA
tel;work:(33) (0)2 31 45 46 49
tel;fax:(33) (0)2 31 45 45 63
url:http://www.ganil.fr
version:2.1
end:vcard


Navigate by Date:
Prev: Re: Cryocon and TSI hardware support? David Maden
Next: Re: Java CA context cleanup issues on Linux? Kay-Uwe Kasemir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problems building edm-1-11-0zg David Dudley
Next: JCA using problem 鲍春雷
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·