EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: gdct on Linux
From: "Brian McAllister" <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Fri, 05 Jan 2001 14:46:10 -0500
I've been trying to build gdct313 on Linux (Redhat 4.2, gcc 2.7.2.1.f.1),
but I can't get it to run.  I'm looking either for help on making this
work, or a working executable from somewhere.

So far:

I got Interviews through the EPICS web page (iv_epics_3.1.tar.gz).
I poked around the Interviews web pages and found some patches and hints
for Linux, mostly having to do with X Config issues.
I have compiled Interviews, with the only significant problem being the use
of "xor" as a variable/function name, solved by renaming those items.

gdct313 compiles and links cleanly, but when I run it, it gets a
segmentation fault before it even gets into main(), apparently somewhere in
the dynamic library handling.

Here's the gdb output:

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /home/locus/epicsdev/extensions/src/gdct313/free_gdct/O.Linux/
gdct313
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.

Program received signal SIGSEGV, Segmentation fault.
0x401affeb in strcpy ()
(gdb) bt
#0  0x401affeb in strcpy ()
#1  0x40001f8c in _dl_interpreter_exit ()
#2  0x804c5b3 in _start ()
(gdb)

----
Brian McAllister                    Controls Programmer/Beam Physicist
[email protected]                        MIT-Bates Linear Accelerator
(617) 253-9537                                           Middleton, MA


Navigate by Date:
Prev: RE: 3.14 build on NT Vladimir Sirotenko
Next: FREE CapFast in January, 2001 Dr. Chong Lee
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: 3.14 build on NT Vladimir Sirotenko
Next: FREE CapFast in January, 2001 Dr. Chong Lee
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024