g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: caTCL with R3.14 and Linux
From: Benjamin Sailer <bsailer@ph.tum.de>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Date: Mon, 21 Jan 2002 11:12:38 +0100 (CET)
Hello,

trying to compile caTCL extension (version 3/00 downloaded from
http://www.aps.anl.gov/epics/extensions/tcl/index.php)
with EPICS base R3.14beta1, I got a warning due to undeclared and
missing function:
...
gcc -pedantic    -O  -Wall   -I -I -I -I -I/usr/X11R6/include/X11 -DHAVE_STDLIB_H=1 -DUNIX_SOCKET=1 -DHAVE_ERRNO_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_MALLOC_H=1 -D_X86_ -Dlinux   -DUNIX -I. -I..  -I/home/bsailer/hades/epics/2_4/include -I/home/bsailer/hades/epics/2_4/include/os/Linux -I/home/bsailer/hades/epics/2_4/extensions/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include/os/Linux   -fPIC -c   ../tclCaCmd.c
../tclCaCmd.c: In function `tclCaCmd':
../tclCaCmd.c:159: warning: implicit declaration of function `atof'
../tclCaCmd.c:127: warning: unused variable `number'
../tclCaCmd.c:127: warning: unused variable `offset'
../tclCaCmd.c:127: warning: unused variable `code'
../tclCaCmd.c:126: warning: unused variable `status'
../tclCaCmd.c:126: warning: unused variable `chan'
../tclCaCmd.c:125: warning: unused variable `listArgv'
../tclCaCmd.c:125: warning: unused variable `listArgc'
../tclCaCmd.c:124: warning: unused variable `res'
../tclCaCmd.c:124: warning: unused variable `group'
../tclCaCmd.c:124: warning: unused variable `value'
../tclCaCmd.c: In function `Tclca_Init':
../tclCaCmd.c:440: warning: implicit declaration of function `threadInit'
... (while compiling, and) ...
g++ -o libtclCa8.so -O  -Wall   -I -I -I -I -I/usr/X11R6/include/X11 -DHAVE_STDLIB_H=1 -DUNIX_SOCKET=1 -DHAVE_ERRNO_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_MALLOC_H=1 -D_X86_ -Dlinux   -DUNIX -I. -I..  -I/home/bsailer/hades/epics/2_4/include -I/home/bsailer/hades/epics/2_4/include/os/Linux -I/home/bsailer/hades/epics/2_4/extensions/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include/os/Linux   -fPIC    -shared -Wl,-soname,libtclCa8.so     -L/home/bsailer/hades/epics/2_4/base_3_14beta1/lib/linux-x86/ -L/usr/X11R6/lib/  -lpthread -lreadline -lcurses -lrt   tclCa.o tclCaHash.o tclCaCmd.o  -lBLT -ltk -ltcl -lca -lCom -lX11 -lts 
/usr/bin/ld: cannot find -lts
...
If I skip the library "ts", I can compile "litclCa8.so", but then making
the et_wish in the interpreters tree, I get
...
g++ -o et_wish -O  -Wall   -D_X86_ -Dlinux   -DUNIX  -I. -I..  -I/home/bsailer/hades/epics/2_4/include -I/home/bsailer/hades/epics/2_4/include/os/Linux -I/home/bsailer/hades/epics/2_4/extensions/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include -I/home/bsailer/hades/epics/2_4/base_3_14beta1/include/os/Linux         -L/home/bsailer/hades/epics/2_4/base_3_14beta1/lib/linux-x86/ -L/home/bsailer/hades/epics/2_4/lib/linux-x86/ -L/usr/X11R6/lib/  -lpthread -lreadline -lcurses -lrt   et_wishAppInit.o    -ltclCa8 -ltk -ltcl -lBLT -lca -lCom -lX11     -lm
/home/bsailer/hades/epics/2_4/lib/linux-x86//libtclCa8.so: undefined reference to `threadInit'
...

Has anybody tried and managed to compile ET with the new EPICS release?
Is this extension supported and did I get the appropriate version for
R3.14?

Thanks

Benjamin

-- 
*****************************************************************
Benjamin Sailer
eMail: Benjamin.Sailer@ph.tum.de
*****************************************************************
You'll see it's all a show, keep on laughing as You go
just remember that the last laugh is on You



Replies:
Re: caTCL with R3.14 and Linux Andy Foster

Navigate by Date:
Prev: RE: how to handle periodic bad readings and alarms Allison, Stephanie
Next: Re: caTCL with R3.14 and Linux Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: RE: IOC mesage at startup Jeff Hill
Next: Re: caTCL with R3.14 and Linux Andy Foster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·