Now, it answers this:
../edmPrint.cc:1811: warning: deprecated conversion from string
constant to ‘char*’
/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
-m32 -g -fPIC -I. -I../O.Common -I. -I.. -I../../../../include/edm/
os/Linux -I../../../../include/edm -I/home/jules/epics/base-3.14.10/
include/os/Linux -I/home/jules/epics/base-3.14.10/include -I/home/
jules/epics/extensions/include -I../../util -I../../lib -I/usr/
include -I/usr/include/X11 ../tag_pkg.cc
../tag_pkg.cc: In member function ‘int tagClass::decode(char*, char*,
int)’:
../tag_pkg.cc:2596: warning: deprecated conversion from string
constant to ‘char*’
/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
-m32 -g -fPIC -I. -I../O.Common -I. -I.. -I../../../../include/edm/
os/Linux -I../../../../include/edm -I/home/jules/epics/base-3.14.10/
include/os/Linux -I/home/jules/epics/base-3.14.10/include -I/home/
jules/epics/extensions/include -I../../util -I../../lib -I/usr/
include -I/usr/include/X11 ../remFileOpen.cc
../remFileOpen.cc: In function ‘int fileClose(FILE*)’:
../remFileOpen.cc:358: warning: deprecated conversion from string
constant to ‘char*’
../remFileOpen.cc: In function ‘int fileReadable(char*)’:
../remFileOpen.cc:427: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:429: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:449: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc: In function ‘void discardParams(char*, int)’:
../remFileOpen.cc:482: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:484: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:506: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc: In function ‘void getParams(char*, char*, int)’:
../remFileOpen.cc:528: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:530: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc:548: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc: In function ‘void reassemble(char*, char*, char*,
int)’:
../remFileOpen.cc:570: error: invalid conversion from ‘const char*’ to
‘char*’
../remFileOpen.cc: At global scope:
../remFileOpen.cc:365: warning: ‘int checkForHttp(char*, char*)’
defined but not used
make[2]: *** [remFileOpen.o] Error 1
make[2]: se sale del directorio `/home/jules/epics/extensions/src/edm/
lib/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: se sale del directorio `/home/jules/epics/extensions/src/edm/
lib'
make: *** [lib.install] Error 2
El 03/12/2009, a las 17:39, John William Sinclair escribió:
Julio,
You may be temporarily fix this by changing line 121 in utility.cc
from
fd = open( g_diagFileName, O_CREAT|O_WRONLY );
to
fd = open( g_diagFileName, O_CREAT|O_WRONLY, 0777 );
I'll fix it in the next release.
John Sinclair
Julio Calvo wrote:
Hello, it is my first time here, I am Julio from Madrid. I would
like to ask you help with the EDM installation. I have follow the
README instructions, I have installed previously, SDDS, zlib,
libpng, giflib....
But:
:
../utility.cc:7101: warning: deprecated conversion from string
constant to ‘char*’
In file included from /usr/include/fcntl.h:217,
from ../utility.h:26,
from ../utility.cc:21:
In function ‘int open(const char*, int, ...)’,
inlined from ‘int logDiagnostic(char*)’ at ../utility.cc:121:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’
declared with attribute error: open with O_CREAT in second argument
needs 3 arguments
make[2]: *** [utility.o] Error 1
make[2]: se sale del directorio `/home/jules/epics/extensions/src/
edm/lib/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: se sale del directorio `/home/jules/epics/extensions/src/
edm/lib'
make: *** [lib.install] Error 2
Any help?
Thank you si much.
Julio.
- References:
- edm installation problems Julio Calvo
- Re: edm installation problems John William Sinclair
- Navigate by Date:
- Prev:
Re: edm installation problems John William Sinclair
- Next:
Re: arpresolve: can't allocate llinfo0xc26180 (CA_UDP): Steven M. Hartman
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: edm installation problems John William Sinclair
- Next:
support for keithley 2612 source meter David Kline
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|