Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: from ihep in china
From: "zhaozhuo" <zhaozhuo@mail.ihep.ac.cn>
To: <lionbergerca@ornl.gov>
Cc: "tech-talk" <tech-talk@aps.anl.gov>
Date: Mon, 29 May 2006 15:24:20 +0800
Hi, Carl,
 
I'm compiling mca in base-3.14.7, the operating system is RedHat Linux WS4(kernel is 2.6.9-22), the host-arch linux-x86 and target-arch is linux-x86, GCC 3.4.4, GNU Make 3.80, matlab 6.5, when I make according to the "README" file , there are some error like the following:
 
 
[epics@localhost mca]$ make
mex -v -I/home/epics/epics3.14.7/base-3.14.7/include -I/home/epics/epics3.14.7/b ase-3.14.7/include/os/Linux -DEPICS_DLL_NO -L/home/epics/epics3.14.7/base-3.14.7 /lib/linux-x86 -ldbStaticHost -lCom -lca mca.cpp MCAError.cpp Channel.cpp Channe lAccess.cpp -o O.linux-x86/mca.mexglx
-> mexopts.sh sourced from directory (DIR = .)
   FILE = /home/epics/epics3.14.7/extensions/src/mca/mexopts.sh
----------------------------------------------------------------
->    MATLAB                = /home/epics/matlab
->    CC                    = gcc
->    CC flags:
         CFLAGS             = -fPIC -ansi -D_GNU_SOURCE -pthread -DGCC
         CDEBUGFLAGS        = -g
         COPTIMFLAGS        = -O -DNDEBUG
         CLIBS              = -Wl,--rpath-link,/home/epics/matlab/extern/lib/gln x86,--rpath-link,/home/epics/matlab/bin/glnx86 -L/home/epics/matlab/bin/glnx86 - lmx -lmex -lmat -lm -lm
         arguments          =  -DEPICS_DLL_NO
->    CXX                   = gcc
->    CXX flags:
         CXXFLAGS           = -fPIC -ansi -D_GNU_SOURCE -DGCC -pthread -I$EPICS_ BASE/include -I$EPICS_BASE/include/os/Linux
         CXXDEBUGFLAGS      = -g
         CXXOPTIMFLAGS      = -O -DNDEBUG
         CXXLIBS            = -Wl,--rpath-link,/home/epics/matlab/extern/lib/gln x86,--rpath-link,/home/epics/matlab/bin/glnx86 -L/home/epics/matlab/bin/glnx86 - lmx -lmex -lmat -lm -L/ade/epics/supTop/base/R3.14.2/lib/linux-x86 -lca -lCom -l readline -lcurses -losp -lrt -lm
         arguments          =  -DEPICS_DLL_NO
->    FC                    =
->    FC flags:
         FFLAGS             =
         FDEBUGFLAGS        =
         FOPTIMFLAGS        =
         FLIBS              =
         arguments          =  -DEPICS_DLL_NO
->    LD                    = gcc
->    Link flags:
         LDFLAGS            = -pthread -shared -Wl,--version-script,/home/epics/ matlab/extern/lib/glnx86/mexFunction.map
         LDDEBUGFLAGS       = -g
         LDOPTIMFLAGS       = -O
         LDEXTENSION        = .mexglx
         arguments          =  -L/home/epics/epics3.14.7/base-3.14.7/lib/linux-x 86 -ldbStaticHost -lCom -lca
->    LDCXX                 =
->    Link flags:
         LDCXXFLAGS         =
         LDCXXDEBUGFLAGS    =
         LDCXXOPTIMFLAGS    =
         LDCXXEXTENSION     =
         arguments          =  -L/home/epics/epics3.14.7/base-3.14.7/lib/linux-x 86 -ldbStaticHost -lCom -lca
----------------------------------------------------------------
 
-> gcc -c  -I/home/epics/epics3.14.7/base-3.14.7/include -I/home/epics/epics3.14 .7/base-3.14.7/include/os/Linux -I/home/epics/matlab/extern/include -DMATLAB_MEX _FILE -fPIC -ansi -D_GNU_SOURCE -DGCC -pthread -I$EPICS_BASE/include -I$EPICS_BA SE/include/os/Linux  -DEPICS_DLL_NO -O -DNDEBUG mca.cpp
 
In file included from mca.cpp:23:
queue.h: In member function `Node<T>* Node<T>::GetPrev() const':
queue.h:84: error: `Prev' undeclared (first use this function)
queue.h:84: error: (Each undeclared identifier is reported only once for each fu nction it appears in.)
queue.h: In member function `int Queue<T>::Size() const':
queue.h:123: error: there are no arguments to `Empty' that depend on a template parameter, so a declaration of `Empty' must be available
queue.h:123: error: (if you use `-fpermissive', G++ will accept your code, but a llowing the use of an undeclared name is deprecated)
queue.h:129: error: `count' undeclared (first use this function)
 
    mex: compile of 'mca.cpp' failed.
 
make: *** [O.linux-x86/mca.mexglx] Error 1
 
Could you help me find the reason? Thank you very much!
 
 
Zhao Zhuo
 
Accelerator Control Group,
Accelerator Research Center
Institute of High Energy Physics (IHEP)
P.O. Box 918-10
Beijing, 100049
P.R. China
 
Tel:    +86-10-88236268-11 or 88236269-11 (O)
 
Fax:    +86-10-88236190
E_mail: zhaozhuo@mail.ihep.ac.cn

Replies:
almost deleted message unread, was: Re: from ihep in china Maren Purves
Re: about mca (from ihep in china) Carl Lionberger

Navigate by Date:
Prev: irmisBase V2.0 Claude Saunders
Next: almost deleted message unread, was: Re: from ihep in china Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: irmisBase V2.0 Claude Saunders
Next: almost deleted message unread, was: Re: from ihep in china Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·