EPICS Controls 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  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems building seq 2.2.4 on Linux
From: Sue Witherspoon <[email protected]>
To: Mark Rivers <[email protected]>, Tech-talk <[email protected]>
Date: Thu, 24 Aug 2017 16:51:47 -0400
Hi Mark,
Thanks for your response. The tech-talk thread I was talking about, which is related (I think) to my problem is : http://www.aps.anl.gov/epics/tech-talk/2017/msg00087.php ..

Ben mentions many-core build machines and also GNUmake versions.... I'm using 'GNU Make 3.81 built for i686-pc-linux-gnu'
But you are right, I am not generating the snl.h  file.

Do you know what rule triggers this generation?

Sue
On 08/24/2017 09:22 AM, Mark Rivers wrote:
Hi Sue,

I can't reproduce that problem.

My system:

seq 2.2.4
Redhat 6 (EPICS_HOST_ARCH=linux-x86-rhel6)
gcc 4.4.7-17
base 3.15.5
perl 5.10.1

I believe I have made only the following change to seq 2.2.4. Tthis was to fix a problem on Windows that was not related to the problem you are seeing.

corvette:seq-2-2-4/src/snc>diff -U3 snl.lt.orig snl.lt
--- snl.lt.orig 2017-01-13 08:38:51.976001963 -0600
+++ snl.lt      2017-01-13 08:35:39.777418847 -0600
@@ -829,11 +829,11 @@
      }else if( yyact <= YY_MAX_REDUCE ){
        yy_reduce(yypParser,yyact-YY_MIN_REDUCE);
      }else{
-      assert( yyact == YY_ERROR_ACTION );
-      yyminorunion.yy0 = yyminor;
  #ifdef YYERRORSYMBOL
        int yymx;
  #endif
+      assert( yyact == YY_ERROR_ACTION );
+      yyminorunion.yy0 = yyminor;
  #ifndef NDEBUG
        if( yyTraceFILE ){
          fprintf(yyTraceFILE,"%sSyntax Error!\n",yyTracePrompt);


When I build seq 2.2.4 with the -sj options it builds fine with only the following output

[epics@gse-marccd2 seq-2-2-4]$ make -sj clean
m[epics@gse-marccd2 seq-2-2-4]$ make -sj
2 parsing conflicts.
[epics@gse-marccd2 seq-2-2-4]$

Your first error is this:

../snl.re:16:17: error: snl.h: No such file or directory

So for some reason it is not finding snl.h.

Mark

________________________________
From: [email protected] [[email protected]] on behalf of Sue Witherspoon [[email protected]]
Sent: Tuesday, August 22, 2017 2:59 PM
To: Tech-talk
Subject: Problems building seq 2.2.4 on Linux


Hi,

I am having problems building seq 2.2.4 on linux:

Redhat 6 (linux-x86)
gcc version 4.4.7
Epics 3.15.5
perl v5.10.1

This is the complete output when building.

devl06 [195]: gmake rebuild
gmake -C ./configure clean
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure'
rm -rf O.rhel-6-ia32 O.Common
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure'
gmake -C ./src clean
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src'
gmake -C ./pv clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv'
gmake -C ./common clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common'
gmake -C ./seq clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq'
gmake -C ./lemon clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon'
gmake -C ./snc clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc'
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src'
gmake -C ./test clean
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test'
gmake -C ./compiler clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/compiler'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/compiler'
gmake -C ./validate clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/validate'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/validate'
gmake -C ./unit clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/unit'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test/unit'
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/test'
gmake -C ./examples clean
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples'
gmake -C ./cmdButtons clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/cmdButtons'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/cmdButtons'
gmake -C ./demo clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/demo'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/demo'
gmake -C ./johng clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/johng'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/johng'
gmake -C ./simple clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/simple'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/simple'
gmake -C ./small clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/small'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/small'
gmake -C ./pvGetAsync clean
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/pvGetAsync'
rm -rf O.rhel-6-ia32 O.Common
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples/pvGetAsync'
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/examples'
gmake -C ./configure install
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../.. \
         T_A=rhel-6-ia32 install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure/O.rhel-6-ia32'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/convertRelease.pl checkRelease
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure/O.rhel-6-ia32'
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/configure'
gmake -C ./src install
gmake[1]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src'
gmake -C ./pv install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../../.. \
         T_A=rhel-6-ia32 install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF pv.d  ../pv.c
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv/O.rhel-6-ia32'
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../pv.c
/usr/bin/ar -rc    libpv.a        pv.o
/usr/bin/ranlib libpv.a
/usr/bin/g++ -o libpv.so.3.15.5 -shared -fPIC -Wl,-hlibpv.so.3.15.5 -L/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32 -L/a/devsite/dvlepics/epics/R3.15.5.J0/lib/rhel-6-ia32 -Wl,-rpath,/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32 -Wl,-rpath,/a/devsite/dvlepics/epics/R3.15.5.J0/lib/rhel-6-ia32           -rdynamic -m32            pv.o    -lca -lCom -Wl,-Bdynamic  -lpthread    -lm -lrt -ldl -lgcc
Installing shared library ../../../lib/rhel-6-ia32/libpv.so.3.15.5
ln -s libpv.so.3.15.5 ../../../lib/rhel-6-ia32/libpv.so
Installing library ../../../lib/rhel-6-ia32/libpv.a
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv/O.rhel-6-ia32'
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/pv'
gmake -C ./common install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../../.. \
         T_A=rhel-6-ia32 install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common/O.rhel-6-ia32'
perl -CSD ../seq_release.pl 2.2.4 > ../O.Common/seq_release.h
Installing generated generic include file ../../../include/seq_release.h
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common/O.rhel-6-ia32'
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/common'
gmake -C ./seq install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../../.. \
         T_A=rhel-6-ia32 install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_queue.d  ../seq_queue.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_cmd.d  ../seq_cmd.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_qry.d  ../seq_qry.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_prog.d  ../seq_prog.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_mac.d  ../seq_mac.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_if.d  ../seq_if.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_ca.d  ../seq_ca.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_task.d  ../seq_task.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF seq_main.d  ../seq_main.c
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq/O.rhel-6-ia32'
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_main.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_task.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_ca.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_if.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_mac.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_prog.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_qry.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_cmd.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../seq_queue.c
/usr/bin/ar -rc    libseq.a        seq_main.o seq_task.o seq_ca.o seq_if.o seq_mac.o seq_prog.o seq_qry.o seq_cmd.o seq_queue.o
/usr/bin/ranlib libseq.a
/usr/bin/g++ -o libseq.so.3.15.5 -shared -fPIC -Wl,-hlibseq.so.3.15.5 -L/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32 -L/a/devsite/dvlepics/epics/R3.15.5.J0/lib/rhel-6-ia32 -Wl,-rpath,/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32 -Wl,-rpath,/a/devsite/dvlepics/epics/R3.15.5.J0/lib/rhel-6-ia32           -rdynamic -m32            seq_main.o seq_task.o seq_ca.o seq_if.o seq_mac.o seq_prog.o seq_qry.o seq_cmd.o seq_queue.o    -lpv -lCom -Wl,-Bdynamic  -lpthread    -lm -lrt -ldl -lgcc
Installing shared library ../../../lib/rhel-6-ia32/libseq.so.3.15.5
ln -s libseq.so.3.15.5 ../../../lib/rhel-6-ia32/libseq.so
Installing library ../../../lib/rhel-6-ia32/libseq.a
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq/O.rhel-6-ia32'
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/seq'
gmake -C ./lemon install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../../.. \
         T_A=rhel-6-ia32 install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -MM -MF lemon.d  ../lemon.c
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon/O.rhel-6-ia32'
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c ../lemon.c
/usr/bin/g++ -o lemon -Wl,-Bstatic -L/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32 -Wl,-rpath,/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/lib/rhel-6-ia32           -rdynamic -m32            lemon.o     -Wl,-Bdynamic  -lpthread    -lm -lrt -ldl -lgcc
Installing created executable ../../../bin/rhel-6-ia32/lemon
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon/O.rhel-6-ia32'
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/lemon'
gmake -C ./snc install
gmake[2]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc'
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/makeMakefile.pl O.rhel-6-ia32 ../../..
mkdir O.Common
gmake -C O.rhel-6-ia32 -f ../Makefile TOP=../../.. \
         T_A=rhel-6-ia32 install
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc/O.rhel-6-ia32'
re2c -s -b -o lexer.c ../snl.re
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m lexer.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        lexer.o lexer.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m builtin.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        builtin.o ../builtin.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m sym_table.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        sym_table.o ../sym_table.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m gen_tables.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        gen_tables.o ../gen_tables.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m gen_ss_code.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        gen_ss_code.o ../gen_ss_code.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m gen_code.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        gen_code.o ../gen_code.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m analysis.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        analysis.o ../analysis.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m var_types.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        var_types.o ../var_types.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m node.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        node.o ../node.c
perl -CSD /usr/dvlepics/epics/R3.15.5.J0/bin/rhel-6-ia32/mkmf.pl  -m main.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        main.o ../main.c
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc/O.rhel-6-ia32'
gmake[3]: Entering directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc/O.rhel-6-ia32'
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_  -DUNIX  -Dlinux     -O3   -Wall           -m32  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/usr/dvlepics/epics/R3.15.5.J0/include/compiler/gcc -I/usr/dvlepics/epics/R3.15.5.J0/include/os/Linux -I/usr/dvlepics/epics/R3.15.5.J0/include        -c lexer.c
../snl.re:16:17: error: snl.h: No such file or directory
../snl.re: In function 'scan':
../snl.re:330: error: 'TOK_SLASH' undeclared (first use in this function)
../snl.re:330: error: (Each undeclared identifier is reported only once
../snl.re:330: error: for each function it appears in.)
../snl.re:331: error: 'TOK_MOD' undeclared (first use in this function)
../snl.re:285: error: 'TOK_NAME' undeclared (first use in this function)
../snl.re:287: error: 'TOK_INTCON' undeclared (first use in this function)
../snl.re:323: error: 'TOK_PERIOD' undeclared (first use in this function)
../snl.re:333: error: 'TOK_GT' undeclared (first use in this function)
../snl.re:332: error: 'TOK_LT' undeclared (first use in this function)
../snl.re:328: error: 'TOK_ADD' undeclared (first use in this function)
../snl.re:327: error: 'TOK_SUB' undeclared (first use in this function)
../snl.re:329: error: 'TOK_ASTERISK' undeclared (first use in this function)
../snl.re:324: error: 'TOK_AMPERSAND' undeclared (first use in this function)
../snl.re:334: error: 'TOK_CARET' undeclared (first use in this function)
../snl.re:335: error: 'TOK_VBAR' undeclared (first use in this function)
../snl.re:318: error: 'TOK_EQUAL' undeclared (first use in this function)
../snl.re:325: error: 'TOK_NOT' undeclared (first use in this function)
../snl.re:313: error: 'TOK_SEMICOLON' undeclared (first use in this function)
../snl.re:314: error: 'TOK_LBRACE' undeclared (first use in this function)
../snl.re:315: error: 'TOK_RBRACE' undeclared (first use in this function)
../snl.re:316: error: 'TOK_COMMA' undeclared (first use in this function)
../snl.re:317: error: 'TOK_COLON' undeclared (first use in this function)
../snl.re:319: error: 'TOK_LPAREN' undeclared (first use in this function)
../snl.re:320: error: 'TOK_RPAREN' undeclared (first use in this function)
../snl.re:321: error: 'TOK_LBRACKET' undeclared (first use in this function)
../snl.re:322: error: 'TOK_RBRACKET' undeclared (first use in this function)
../snl.re:326: error: 'TOK_TILDE' undeclared (first use in this function)
../snl.re:336: error: 'TOK_QUESTION' undeclared (first use in this function)
../snl.re:312: error: 'TOK_NE' undeclared (first use in this function)
../snl.re:311: error: 'TOK_EQ' undeclared (first use in this function)
../snl.re:308: error: 'TOK_OROR' undeclared (first use in this function)
../snl.re:301: error: 'TOK_OREQ' undeclared (first use in this function)
../snl.re:300: error: 'TOK_XOREQ' undeclared (first use in this function)
../snl.re:307: error: 'TOK_ANDAND' undeclared (first use in this function)
../snl.re:299: error: 'TOK_ANDEQ' undeclared (first use in this function)
../snl.re:296: error: 'TOK_MULEQ' undeclared (first use in this function)
../snl.re:306: error: 'TOK_POINTER' undeclared (first use in this function)
../snl.re:305: error: 'TOK_DECR' undeclared (first use in this function)
../snl.re:295: error: 'TOK_SUBEQ' undeclared (first use in this function)
../snl.re:304: error: 'TOK_INCR' undeclared (first use in this function)
../snl.re:294: error: 'TOK_ADDEQ' undeclared (first use in this function)
../snl.re:309: error: 'TOK_LE' undeclared (first use in this function)
../snl.re:303: error: 'TOK_LSHIFT' undeclared (first use in this function)
../snl.re:293: error: 'TOK_LSHEQ' undeclared (first use in this function)
../snl.re:310: error: 'TOK_GE' undeclared (first use in this function)
../snl.re:302: error: 'TOK_RSHIFT' undeclared (first use in this function)
../snl.re:292: error: 'TOK_RSHEQ' undeclared (first use in this function)
../snl.re:290: error: 'TOK_FPCON' undeclared (first use in this function)
../snl.re:270: error: 'TOK_WHILE' undeclared (first use in this function)
../snl.re:269: error: 'TOK_WHEN' undeclared (first use in this function)
../snl.re:268: error: 'TOK_VOID' undeclared (first use in this function)
../snl.re:267: error: 'TOK_UNSIGNED' undeclared (first use in this function)
../snl.re:266: error: 'TOK_UNION' undeclared (first use in this function)
../snl.re:277: error: 'TOK_UINT32T' undeclared (first use in this function)
../snl.re:275: error: 'TOK_UINT16T' undeclared (first use in this function)
../snl.re:273: error: 'TOK_UINT8T' undeclared (first use in this function)
../snl.re:264: error: 'TOK_TO' undeclared (first use in this function)
../snl.re:265: error: 'TOK_TYPENAME' undeclared (first use in this function)
../snl.re:257: error: 'TOK_SS' undeclared (first use in this function)
../snl.re:263: error: 'TOK_SYNC' undeclared (first use in this function)
../snl.re:261: error: 'TOK_SYNCQ' undeclared (first use in this function)
../snl.re:260: error: 'TOK_STRUCT' undeclared (first use in this function)
../snl.re:259: error: 'TOK_STRING' undeclared (first use in this function)
../snl.re:258: error: 'TOK_STATE' undeclared (first use in this function)
../snl.re:256: error: 'TOK_SIZEOF' undeclared (first use in this function)
../snl.re:255: error: 'TOK_SHORT' undeclared (first use in this function)
../snl.re:254: error: 'TOK_RETURN' undeclared (first use in this function)
../snl.re:253: error: 'TOK_PROGRAM' undeclared (first use in this function)
../snl.re:252: error: 'TOK_OPTION' undeclared (first use in this function)
../snl.re:251: error: 'TOK_MONITOR' undeclared (first use in this function)
../snl.re:250: error: 'TOK_LONG' undeclared (first use in this function)
../snl.re:248: error: 'TOK_IF' undeclared (first use in this function)
../snl.re:249: error: 'TOK_INT' undeclared (first use in this function)
../snl.re:272: error: 'TOK_INT8T' undeclared (first use in this function)
../snl.re:276: error: 'TOK_INT32T' undeclared (first use in this function)
../snl.re:274: error: 'TOK_INT16T' undeclared (first use in this function)
../snl.re:246: error: 'TOK_FOR' undeclared (first use in this function)
../snl.re:247: error: 'TOK_FOREIGN' undeclared (first use in this function)
../snl.re:245: error: 'TOK_FLOAT' undeclared (first use in this function)
../snl.re:244: error: 'TOK_EXIT' undeclared (first use in this function)
../snl.re:243: error: 'TOK_EVFLAG' undeclared (first use in this function)
../snl.re:242: error: 'TOK_ENUM' undeclared (first use in this function)
../snl.re:241: error: 'TOK_ENTRY' undeclared (first use in this function)
../snl.re:240: error: 'TOK_ELSE' undeclared (first use in this function)
../snl.re:239: error: 'TOK_DOUBLE' undeclared (first use in this function)
../snl.re:238: error: 'TOK_CONTINUE' undeclared (first use in this function)
../snl.re:237: error: 'TOK_CONST' undeclared (first use in this function)
../snl.re:236: error: 'TOK_CHAR' undeclared (first use in this function)
../snl.re:235: error: 'TOK_BREAK' undeclared (first use in this function)
../snl.re:234: error: 'TOK_ASSIGN' undeclared (first use in this function)
../snl.re:298: error: 'TOK_MODEQ' undeclared (first use in this function)
../snl.re:297: error: 'TOK_DIVEQ' undeclared (first use in this function)
../snl.re:358: error: 'TOK_STRCON' undeclared (first use in this function)
../snl.re:427: error: 'TOK_CCODE' undeclared (first use in this function)
gmake[3]: *** [lexer.o] Error 1
gmake[3]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc/O.rhel-6-ia32'
gmake[2]: *** [install.rhel-6-ia32] Error 2
gmake[2]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src/snc'
gmake[1]: *** [snc.install] Error 2
gmake[1]: Leaving directory `/a/devsite/dvlepics/epics/R3.15.5.J0/seq-2.2.4/src'
gmake: *** [src.install] Error 2
devl06 [196]:


I saw a thread in tech-talk that appeared to address this but after applying the same fix to src/snc/Makefile  by adding: HDEPENDS_METHOD=MKMF, I still get the error.  snl.h is not being generated......

Any help would be most appreciated!

Sue Witherspoon
Staff Computer Scientist
Accelerator Controls Software
757-269-7579
Thomas Jefferson National Accelerator Facility


--
Sue Witherspoon
Staff Computer Scientist
Accelerator Controls Software
757-269-7579
Thomas Jefferson National Accelerator Facility


Replies:
RE: Problems building seq 2.2.4 on Linux Mark Rivers
References:
Problems building seq 2.2.4 on Linux Sue Witherspoon
RE: Problems building seq 2.2.4 on Linux Mark Rivers

Navigate by Date:
Prev: Re: CSS-4.5 : Display-Builder : getting widget's PV value Kasemir, Kay
Next: RE: Problems building seq 2.2.4 on Linux 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  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problems building seq 2.2.4 on Linux Mark Rivers
Next: RE: Problems building seq 2.2.4 on Linux 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  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·