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  2010  2011  2012  2013  2014  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: Epic-modbus build error
From: Olanrewaju Ogunmola <oogunmola@unomaha.edu>
To: tech-talk@aps.anl.gov
Date: Sat, 4 Feb 2017 22:23:00 -0800
Hi All,

I'm a new Epic user and have successfully installed epic-base and asyn. however, I encounter the below error when i run make from the top directory of epic-modbus. Any advise on it.

Thank you

Lanre Ogunmola

Graduate Research Affiliate
University of Nebraska, Omaha


make -C ./configure install
make[1]: Entering directory '/home/steal/modbus-master/configure'
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory '/home/steal/modbus-master/configure/O.linux-x86_64'
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/convertRelease.pl checkRelease
make[2]: Leaving directory '/home/steal/modbus-master/configure/O.linux-x86_64'
make[1]: Leaving directory '/home/steal/modbus-master/configure'
make -C ./modbusApp install
make[1]: Entering directory '/home/steal/modbus-master/modbusApp'
make -C ./src install
make[2]: Entering directory '/home/steal/modbus-master/modbusApp/src'
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[3]: Entering directory '/home/steal/modbus-master/modbusApp/src/O.linux-x86_64'
echo "../O.Common/modbus.dbd : ../Makefile" >> modbus.dbd.d
Expanding dbd
/home/steal/base-3.14.12.5/bin/linux-x86_64/dbExpand   -I. -I.. -I../O.Common -I../../../dbd -I/home/steal/asyn-master/dbd -I/home/steal/base-3.14.12.5/dbd -o modbus.dbd ../modbusInclude.dbd
Installing created dbd file ../../../dbd/modbus.dbd
mkdir ../../../dbd
Installing dbd file ../../../dbd/modbusSupport.dbd
Installing generic include file ../../../include/drvModbusAsyn.h
mkdir ../../../include

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/steal/asyn-master/include -I/home/steal/base-3.14.12.5/include/os/Linux -I/home/steal/base-3.14.12.5/include        ../drvModbusAsyn.c

/usr/bin/gcc -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/steal/asyn-master/include -I/home/steal/base-3.14.12.5/include/os/Linux -I/home/steal/base-3.14.12.5/include        ../modbusInterpose.c

/usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64     -fPIC -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/steal/asyn-master/include -I/home/steal/base-3.14.12.5/include/os/Linux -I/home/steal/base-3.14.12.5/include        ../testModbusSyncIO.cpp
/usr/bin/ar -rc    libmodbus.a         drvModbusAsyn.o modbusInterpose.o testModbusSyncIO.o
/usr/bin/ranlib libmodbus.a
/usr/bin/g++ -o libmodbus.so -shared -fPIC -Wl,-hlibmodbus.so -L/home/steal/asyn-master/lib/linux-x86_64 -L/home/steal/base-3.14.12.5/lib/linux-x86_64 -Wl,-rpath,/home/steal/asyn-master/lib/linux-x86_64 -Wl,-rpath,/home/steal/base-3.14.12.5/lib/linux-x86_64        -m64                drvModbusAsyn.o modbusInterpose.o testModbusSyncIO.o   -lasyn -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom   -lpthread    -lm -lrt -ldl -lgcc
Installing shared library ../../../lib/linux-x86_64/libmodbus.so
mkdir ../../../lib
mkdir ../../../lib/linux-x86_64
Installing library ../../../lib/linux-x86_64/libmodbus.a
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/registerRecordDeviceDriver.pl ../O.Common/modbus.dbd modbus_registerRecordDeviceDriver /home/steal/modbus-master > modbus.tmp
mv modbus.tmp modbus_registerRecordDeviceDriver.cpp

/usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64      -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/steal/asyn-master/include -I/home/steal/base-3.14.12.5/include/os/Linux -I/home/steal/base-3.14.12.5/include        modbus_registerRecordDeviceDriver.cpp
modbus_registerRecordDeviceDriver.cpp:478:12: warning: ‘done’ defined but not used [-Wunused-variable]
 static int done = Registration();
            ^

/usr/bin/g++ -c  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall       -m64      -MMD -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include    -I/home/steal/asyn-master/include -I/home/steal/base-3.14.12.5/include/os/Linux -I/home/steal/base-3.14.12.5/include        ../modbusMain.cpp
/usr/bin/g++ -o modbusApp  -L/home/steal/modbus-master/lib/linux-x86_64 -L/home/steal/asyn-master/lib/linux-x86_64 -L/home/steal/base-3.14.12.5/lib/linux-x86_64 -Wl,-rpath,/home/steal/modbus-master/lib/linux-x86_64 -Wl,-rpath,/home/steal/asyn-master/lib/linux-x86_64 -Wl,-rpath,/home/steal/base-3.14.12.5/lib/linux-x86_64        -m64                modbus_registerRecordDeviceDriver.o modbusMain.o   -lmodbus -lasyn -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom  
Installing created file ../../../bin/linux-x86_64/modbusApp
mkdir ../../../bin
mkdir ../../../bin/linux-x86_64
make[3]: Leaving directory '/home/steal/modbus-master/modbusApp/src/O.linux-x86_64'
make[2]: Leaving directory '/home/steal/modbus-master/modbusApp/src'
make -C ./Db install
make[2]: Entering directory '/home/steal/modbus-master/modbusApp/Db'
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[3]: Entering directory '/home/steal/modbus-master/modbusApp/Db/O.linux-x86_64'
Installing template file ../../../db/bi_word.template
mkdir ../../../db
Installing template file ../../../db/bo_word.template
Installing template file ../../../db/bi_bit.template
Installing template file ../../../db/bo_bit.template
Installing template file ../../../db/longin.template
Installing template file ../../../db/longout.template
Installing template file ../../../db/longinInt32.template
Installing template file ../../../db/longoutInt32.template
Installing template file ../../../db/mbbiDirect.template
Installing template file ../../../db/mbboDirect.template
Installing template file ../../../db/ai.template
Installing template file ../../../db/ai_average.template
Installing template file ../../../db/ao.template
Installing template file ../../../db/aiFloat64.template
Installing template file ../../../db/aoFloat64.template
Installing template file ../../../db/intarray_in.template
Installing template file ../../../db/intarray_out.template
Installing template file ../../../db/stringin.template
Installing template file ../../../db/stringout.template
Installing template file ../../../db/stringWaveformIn.template
Installing template file ../../../db/stringWaveformOut.template
Installing template file ../../../db/statistics.template
Installing template file ../../../db/asynRecord.template
Installing template file ../../../db/poll_delay.template
Installing template file ../../../db/poll_trigger.template
make[3]: Leaving directory '/home/steal/modbus-master/modbusApp/Db/O.linux-x86_64'
make[2]: Leaving directory '/home/steal/modbus-master/modbusApp/Db'
make[1]: Leaving directory '/home/steal/modbus-master/modbusApp'
make -C ./iocBoot install
make[1]: Entering directory '/home/steal/modbus-master/iocBoot'
make -C ./iocTest install
make[2]: Entering directory '/home/steal/modbus-master/iocBoot/iocTest'
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/convertRelease.pl -a linux-x86_64 -t /home/steal/modbus-master envPaths
perl /home/steal/base-3.14.12.5/bin/linux-x86_64/convertRelease.pl -a linux-x86_64 -t /home/steal/modbus-master cdCommands
make[2]: Leaving directory '/home/steal/modbus-master/iocBoot/iocTest'
make[1]: Leaving directory '/home/steal/modbus-master/iocBoot'


Replies:
Re: Epic-modbus build error Mark Rivers

Navigate by Date:
Prev: RE: Using synApps calc in simple IOC Mooney, Tim M.
Next: Re: Epic-modbus build error Mark Rivers
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
Navigate by Thread:
Prev: RE: Using synApps calc in simple IOC Mooney, Tim M.
Next: Re: Epic-modbus build error Mark Rivers
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
ANJ, 14 Feb 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·