Hi Nalaka,
I am not familiar with that error, so I am including tech-talk in the reply. I suspect perhaps the problem is that you are using a rather old version of EPICS base (3.14.10) and a new version of the gcc compiler on Ubuntu 12.04. Is it possible for you to upgrade to base 3.14.12.3 and see if that fixes the problem?
Mark
________________________________
From: nalaka samarasinghe [[email protected]]
Sent: Monday, May 20, 2013 11:05 AM
To: Mark Rivers
Subject: Re: Error in installing asyn driver
Hi Mark,
I am trying to install EPICS 3.14.10 on ubuntu 12.04. Is there any additional libraries we need to install ? I did all library installations done for ubuntu 10.04 LTS. But, following error appears during building process
Start:
ake[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/libCom/O.linux-x86'
make[2]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/libCom'
make -C ./toolsComm install
make[2]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm'
make -C ./antelope install
make[3]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/antelope'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[4]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/antelope/O.linux-x86'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/antelope/O.linux-x86'
make[3]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/antelope'
make -C ./flex install
make[3]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/flex'
make -C O.linux-x86 -f ../Makefile TOP=../../../.. T_A=linux-x86 install
make[4]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/flex/O.linux-x86'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/flex/O.linux-x86'
make[3]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm/flex'
make[2]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/toolsComm'
make -C ./ca install
make[2]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/ca'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `/home/nalakasa/opt/epics/base-3.14.10/src/ca/O.linux-x86'
/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 -m32 -g -fPIC -I. -I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include ../cac.cpp
In file included from ../cac.cpp:37:0:
../cac.h:259:26: error: reference ‘mutex’ cannot be declared ‘mutable’ [-fpermissive]
../cac.h:260:26: error: reference ‘cbMutex’ cannot be declared ‘mutable’ [-fpermissive]
In file included from ../cac.cpp:45:0:
../udpiiu.h:126:26: error: reference ‘cbMutex’ cannot be declared ‘mutable’ [-fpermissive]
../udpiiu.h:127:26: error: reference ‘cacMutex’ cannot be declared ‘mutable’ [-fpermissive]
make[3]: *** [cac.o] Error 1
make[3]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/ca/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src/ca'
make[1]: *** [ca.install] Error 2
make[1]: Leaving directory `/home/nalakasa/opt/epics/base-3.14.10/src'
make: *** [src.install] Error 2
nalakasa@ubuntu:~/opt/epics/base$
END.
Could you please help me figure out what this means ?
With Best Regards,
Nalaka