EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: build streamDevice 2-4 error
From: Rod Nussbaumer <[email protected]>
To: Ding Jianguo <[email protected]>
Cc: [email protected]
Date: Sun, 07 Nov 2010 13:20:32 -0800
As originally posted by Martin Konrad, to devwaveformStream.c, add

#include <errlog.h>

to the list of header files included.

Rod Nussbaumer
ISAC Controls, TRIUMF
Vancouver, Canada.





Ding Jianguo wrote:
hi, all,
I re-built an IOC with ScientificLinux 5.5, base-3-14-11, asynDriver
4-12, and streamDevice2.4.
Linux, base, and asynDriver were installed OK. Following errors occured
when I compiled streamDevice2-4.
Does anyone give us instructions?
Thanks in advance.
Jianguo Ding
SSRF Control group
[root@localhost StreamDevice-2-4]# make
make -C ./src install
make[1]: Entering directory `/root/apps/StreamDevice-2-4/src'
perl /usr/local/epics/base/base-3-14-11/bin/linux-x86/makeMakefile.pl
O.linux-x86 ../../..
mkdir O.Common
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[2]: Entering directory `/root/apps/StreamDevice-2-4/src/O.linux-x86'
Installing created dbd file ../../../dbd/stream.dbd
/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
-O3 -Wall -m32 -g -fPIC -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/base-3-14-11/include/os/Linux
-I/usr/local/epics/base/base-3-14-11/include
-I/usr/local/epics/support/asyn-4.12/include ../AsynDriverInterface.cc
../AsynDriverInterface.cc: In member function ‘void
AsynDriverInterface::writeHandler()’:
../AsynDriverInterface.cc:630: warning: enumeration value
‘asynDisconnected’ not handled in switch
../AsynDriverInterface.cc:630: warning: enumeration value ‘asynDisabled’
not handled in switch
../AsynDriverInterface.cc: In member function ‘void
AsynDriverInterface::readHandler()’:
../AsynDriverInterface.cc:810: warning: enumeration value
‘asynDisconnected’ not handled in switch
../AsynDriverInterface.cc:810: warning: enumeration value ‘asynDisabled’
not handled in switch
/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
-O3 -Wall -m32 -g -fPIC -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/base-3-14-11/include/os/Linux
-I/usr/local/epics/base/base-3-14-11/include
-I/usr/local/epics/support/asyn-4.12/include ../EnumConverter.cc
/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 -O3 -
......................

/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500 -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT
-O3 -Wall -m32 -g -fPIC -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/usr/local/epics/base/base-3-14-11/include/os/Linux
-I/usr/local/epics/base/base-3-14-11/include
-I/usr/local/epics/support/asyn-4.12/include ../devwaveformStream.c
../devwaveformStream.c: In function ‘readData’:
../devwaveformStream.c:52: warning: implicit declaration of function
‘errlogSevPrintf’
../devwaveformStream.c:52: error: ‘errlogFatal’ undeclared (first use in
this function)
../devwaveformStream.c:52: error: (Each undeclared identifier is
reported only once
../devwaveformStream.c:52: error: for each function it appears in.)
../devwaveformStream.c:132: error: ‘errlogMajor’ undeclared (first use
in this function)
../devwaveformStream.c: In function ‘writeData’:
../devwaveformStream.c:184: error: ‘errlogFatal’ undeclared (first use
in this function)
make[2]: *** [devwaveformStream.o] Error 1
make[2]: Leaving directory `/root/apps/StreamDevice-2-4/src/O.linux-x86'
make[1]: *** [install.linux-x86] Error 2
make[1]: Leaving directory `/root/apps/StreamDevice-2-4/src'
make: *** [src.install] Error 2
[root@localhost StreamDevice-2-4]#



References:
build streamDevice 2-4 error Ding Jianguo

Navigate by Date:
Prev: mca R6-12-2 available Mark Rivers
Next: whether PPC604 in vxWorks5.5.1 include PowerPC 750GX 王林
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: build streamDevice 2-4 error Ding Jianguo
Next: Modbus R2-1 available Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 08 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·