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

Subject: Problem Building SNC/SEQ Module
From: "Pawel Kowalski - BiRa Systems Inc." <[email protected]>
To: "'EPICS tech-talk'" <[email protected]>
Date: Thu, 29 Apr 2010 13:20:41 -0600

Hello,

 

I am trying to set up a new epics installation on a openSuse 11 system. I got epics base to compile fine. However, when I try to compile SNC/SEQ is get errors. I attached a log file, any help would be appreciated. Also, is there a standard convention for where to place modules in relation to base? Currently my directory structure looks like this:

 

/home/<user>/epics/

/home/<user>/epics/base

/home/<user>/epics/modules/sncseq

 

Not sure if this is correct (or if it matters). Thank you in advance.

 

------------------------------------

 

Pawel Kowalski

BiRa Systems Inc.

www.bira.com

 

Phone:                   505-881-8887

Fax:                       505-888-0651

 

Address:                2410 Midtown PL NE

STE A

Albuquerque NM 87107 USA

 

linux-wsk6:~/epics/modules/sncseq # make clean install
make -C ./configure clean                             
make[1]: Entering directory `/root/epics/modules/sncseq/configure'
rm -rf O.linux-x86 O.Common                                       
make[1]: Leaving directory `/root/epics/modules/sncseq/configure' 
make -C ./src clean                                               
make[1]: Entering directory `/root/epics/modules/sncseq/src'      
make -C ./pv clean                                                
make[2]: Entering directory `/root/epics/modules/sncseq/src/pv'   
rm -rf O.linux-x86 O.Common                                       
make[2]: Leaving directory `/root/epics/modules/sncseq/src/pv'    
make -C ./seq clean                                               
make[2]: Entering directory `/root/epics/modules/sncseq/src/seq'  
rm -rf O.linux-x86 O.Common                                       
make[2]: Leaving directory `/root/epics/modules/sncseq/src/seq'   
make -C ./dev clean                                               
make[2]: Entering directory `/root/epics/modules/sncseq/src/dev'  
rm -rf O.linux-x86 O.Common                                       
make[2]: Leaving directory `/root/epics/modules/sncseq/src/dev'   
make -C ./snc clean                                               
make[2]: Entering directory `/root/epics/modules/sncseq/src/snc'  
rm -rf O.linux-x86 O.Common                                       
make[2]: Leaving directory `/root/epics/modules/sncseq/src/snc'   
make[1]: Leaving directory `/root/epics/modules/sncseq/src'       
make -C ./test clean                                              
make[1]: Entering directory `/root/epics/modules/sncseq/test'     
make -C ./simple clean                                            
make[2]: Entering directory `/root/epics/modules/sncseq/test/simple'
rm -rf O.linux-x86 O.Common                                         
make[2]: Leaving directory `/root/epics/modules/sncseq/test/simple' 
make -C ./validate clean                                            
make[2]: Entering directory `/root/epics/modules/sncseq/test/validate'
rm -rf O.linux-x86 O.Common                                           
make[2]: Leaving directory `/root/epics/modules/sncseq/test/validate' 
make -C ./demo clean                                                  
make[2]: Entering directory `/root/epics/modules/sncseq/test/demo'    
rm -rf O.linux-x86 O.Common                                           
make[2]: Leaving directory `/root/epics/modules/sncseq/test/demo'     
make[1]: Leaving directory `/root/epics/modules/sncseq/test'          
make -C ./configure install                                           
make[1]: Entering directory `/root/epics/modules/sncseq/configure'    
perl /root/epics/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../.. 
mkdir O.Common                                                        
make -C O.linux-x86 -f ../Makefile TOP=../.. T_A=linux-x86 install    
make[2]: Entering directory
`/root/epics/modules/sncseq/configure/O.linux-x86'
perl /root/epics/base/bin/linux-x86/convertRelease.pl checkRelease        
  
make[2]: Leaving directory
`/root/epics/modules/sncseq/configure/O.linux-x86' 
make[1]: Leaving directory `/root/epics/modules/sncseq/configure'         
  
make -C ./src install                                                     
  
make[1]: Entering directory `/root/epics/modules/sncseq/src'              
  
make -C ./pv install                                                      
  
make[2]: Entering directory `/root/epics/modules/sncseq/src/pv'           
  
perl /root/epics/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..  
  
mkdir O.Common                                                            
  
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install     
  
make[3]: Entering directory
`/root/epics/modules/sncseq/src/pv/O.linux-x86'   
Installing generic include file ../../../include/pv.h                     
  
mkdir ../../../include                                                    
  
Installing generic include file ../../../include/pvAlarm.h                
  
Installing generic include file ../../../include/pvCa.h                   
  
/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500          -DPVCA  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../pvNew.cc                                                          
/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500          -DPVCA  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../pv.cc                                                             
/usr/bin/g++ -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500          -DPVCA  -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../pvCa.cc                                                           
/usr/bin/ar -rc   libpv.a        pvNew.o pv.o pvCa.o                      
    
/usr/bin/ranlib libpv.a                                                   
    
/usr/bin/g++ -o libpv.so -shared -fPIC -Wl,-hlibpv.so
-L/root/epics/base/lib/linux-x86 -Wl,-rpath,/root/epics/base/lib/linux-x86 
    -m32               pvNew.o pv.o pvCa.o    -lca -lCom   -lpthread  
-lreadline -lncurses -lm -lrt -ldl -lgcc                                   
                                         
Installing shared library ../../../lib/linux-x86/libpv.so                 
    
mkdir ../../../lib                                                        
    
mkdir ../../../lib/linux-x86                                              
    
Installing library ../../../lib/linux-x86/libpv.a                         
    
/usr/bin/ranlib ../../../lib/linux-x86/libpv.a                            
    
make[3]: Leaving directory `/root/epics/modules/sncseq/src/pv/O.linux-x86'
    
make[2]: Leaving directory `/root/epics/modules/sncseq/src/pv'            
    
make -C ./seq install                                                     
    
make[2]: Entering directory `/root/epics/modules/sncseq/src/seq'          
    
perl /root/epics/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..  
    
mkdir O.Common                                                            
    
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install     
    
make[3]: Entering directory
`/root/epics/modules/sncseq/src/seq/O.linux-x86'    
Installing generic include file ../../../include/seqCom.h                 
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_main.c                                                              

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_task.c                                                              

../seq_task.c: In function ?sequencer?:                                   
    
../seq_task.c:122: warning: call to function ?ss_entry? without a real prototype
../seq_task.c:81: note: ?ss_entry? was declared here                      
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_ca.c                                                                

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_if.c                                                                

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_mac.c                                                               

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_prog.c                                                              

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seq_qry.c                                                               

rm -f seqVersion.c                                                        
    
perl ../seqVersion.pl 2.0.12 > seqVersion.c                               
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
seqVersion.c                                                               

/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g -fPIC -I. -I../O.Common -I.
-I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../seqCommands.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 seqVersion.o seqCommands.o                  
        
/usr/bin/ranlib libseq.a                                                  
    
/usr/bin/g++ -o libseq.so -shared -fPIC -Wl,-hlibseq.so
-L/root/epics/modules/sncseq/lib/linux-x86 -L/root/epics/base/lib/linux-x86
-Wl,-rpath,/root/epics/modules/sncseq/lib/linux-x86
-Wl,-rpath,/root/epics/base/lib/linux-x86       -m32               
seq_main.o seq_task.o seq_ca.o seq_if.o seq_mac.o seq_prog.o seq_qry.o
seqVersion.o seqCommands.o   -lpv -lCom   -lpthread   -lreadline -lncurses
-lm -lrt -ldl -lgcc                                                        
     
Installing shared library ../../../lib/linux-x86/libseq.so                
    
Installing library ../../../lib/linux-x86/libseq.a                        
    
/usr/bin/ranlib ../../../lib/linux-x86/libseq.a                           
    
make[3]: Leaving directory
`/root/epics/modules/sncseq/src/seq/O.linux-x86'     
make[2]: Leaving directory `/root/epics/modules/sncseq/src/seq'           
    
make -C ./dev install                                                     
    
make[2]: Entering directory `/root/epics/modules/sncseq/src/dev'          
    
perl /root/epics/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..  
    
mkdir O.Common                                                            
    
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install     
    
make[3]: Entering directory
`/root/epics/modules/sncseq/src/dev/O.linux-x86'    
Installing dbd file ../../../dbd/devSequencer.dbd                         
    
mkdir ../../../dbd                                                        
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall     -I../../seq  -m32     -g -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../devSequencer.c                                               
../devSequencer.c: In function ?seqShowScanPvtInit?:                      
    
../devSequencer.c:191: warning: comparison between pointer and integer    
    
../devSequencer.c:198: warning: comparison between pointer and integer    
    
../devSequencer.c:199: warning: assignment makes integer from pointer
without a cast                                                             
             
/usr/bin/ar -rc   libseqDev.a         devSequencer.o                      
    
/usr/bin/ranlib libseqDev.a                                               
    
/usr/bin/g++ -o libseqDev.so -shared -fPIC -Wl,-hlibseqDev.so
-L/root/epics/modules/sncseq/lib/linux-x86 -L/root/epics/base/lib/linux-x86
-Wl,-rpath,/root/epics/modules/sncseq/lib/linux-x86
-Wl,-rpath,/root/epics/base/lib/linux-x86       -m32               
devSequencer.o   -lseq -lpv -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc
-ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom  
-lpthread   -lreadline -lncurses -lm -lrt -ldl -lgcc                       
     
Installing shared library ../../../lib/linux-x86/libseqDev.so             
    
Installing library ../../../lib/linux-x86/libseqDev.a                     
    
/usr/bin/ranlib ../../../lib/linux-x86/libseqDev.a                        
    
make[3]: Leaving directory
`/root/epics/modules/sncseq/src/dev/O.linux-x86'     
make[2]: Leaving directory `/root/epics/modules/sncseq/src/dev'           
    
make -C ./snc install                                                     
    
make[2]: Entering directory `/root/epics/modules/sncseq/src/snc'          
    
perl /root/epics/base/bin/linux-x86/makeMakefile.pl O.linux-x86 ../../..  
    
mkdir O.Common                                                            
    
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install     
    
make[3]: Entering directory
`/root/epics/modules/sncseq/src/snc/O.linux-x86'    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../snc_main.c                                                              
    
../snc_main.c: In function ?main?:                                        
    
../snc_main.c:90: warning: call to function ?get_args? without a real prototype 
../snc_main.c:58: note: ?get_args? was declared here                      
    
../snc_main.c: In function ?get_args?:                                    
    
../snc_main.c:158: warning: call to function ?get_in_file? without a real
prototype                                                                  
         
../snc_main.c:60: note: ?get_in_file? was declared here                   
    
../snc_main.c:163: warning: call to function ?get_out_file? without a real
prototype                                                                  
        
../snc_main.c:61: note: ?get_out_file? was declared here                  
    
../snc_main.c:167: warning: call to function ?get_options? without a real
prototype                                                                  
         
../snc_main.c:59: note: ?get_options? was declared here                   
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../parse.c                                                                 
    
../parse.c: In function ?decl_stmt?:                                      
    
../parse.c:135: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c: In function ?assign_single?:                                  
    
../parse.c:212: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c:229: warning: call to function ?build_db_struct? without a real
prototype                                                                  
        
../parse.c:69: note: ?build_db_struct? was declared here                  
    
../parse.c: In function ?assign_subscr?:                                  
    
../parse.c:255: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c:274: warning: call to function ?build_db_struct? without a real
prototype                                                                  
        
../parse.c:69: note: ?build_db_struct? was declared here                  
    
../parse.c:293: warning: call to function ?alloc_db_lists? without a real
prototype                                                                  
         
../parse.c:70: note: ?alloc_db_lists? was declared here                   
    
../parse.c: In function ?assign_list?:                                    
    
../parse.c:328: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c:352: warning: call to function ?build_db_struct? without a real
prototype                                                                  
        
../parse.c:69: note: ?build_db_struct? was declared here                  
    
../parse.c:355: warning: call to function ?alloc_db_lists? without a real
prototype                                                                  
         
../parse.c:70: note: ?alloc_db_lists? was declared here                   
    
../parse.c: In function ?build_db_struct?:                                
    
../parse.c:385: warning: call to function ?addChan? without a real
prototype    
../parse.c:72: note: ?addChan? was declared here                          
    
../parse.c: In function ?monitor_stmt?:                                   
    
../parse.c:446: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c: In function ?sync_stmt?:                                      
    
../parse.c:515: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c:532: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c: In function ?syncq_stmt?:                                     
    
../parse.c:589: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c:614: warning: call to function ?findVar? without a real
prototype    
../parse.h:87: note: ?findVar? was declared here                          
    
../parse.c: In function ?defn_c_stmt?:                                    
    
../parse.c:676: warning: call to function ?link_expr? without a real prototype  
../parse.h:86: note: ?link_expr? was declared here                        
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../phase2.c                                                                
    
../phase2.c: In function ?gen_preamble?:                                  
    
../phase2.c:155: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c:156: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c:157: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c:158: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c:159: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c:160: warning: call to function ?gen_opt_defn? without a real
prototype                                                                  
          
../phase2.c:56: note: ?gen_opt_defn? was declared here                    
    
../phase2.c: In function ?connect_variable?:                              
    
../phase2.c:250: warning: call to function ?findVar? without a real
prototype   
../parse.h:87: note: ?findVar? was declared here                          
    
../phase2.c: In function ?gen_defn_c_code?:                               
    
../phase2.c:432: warning: format ?%s? expects type ?char *?, but argument
2 has type ?struct expression *?                                           
         
../phase2.c: In function ?gen_global_c_code?:                             
    
../phase2.c:450: warning: format ?%s? expects type ?char *?, but argument
2 has type ?struct expression *?                                           
         
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../gen_ss_code.c                                                           
    
../gen_ss_code.c: In function ?gen_action_func?:                          
    
../gen_ss_code.c:302: warning: format ?%s? expects type ?char *?, but
argument 2 has type ?struct expression *?                                  
             
../gen_ss_code.c: In function ?eval_expr?:                                
    
../gen_ss_code.c:569: warning: format ?%s? expects type ?char *?, but
argument 2 has type ?struct expression *?                                  
             
../gen_ss_code.c: In function ?gen_ef_func?:                              
    
../gen_ss_code.c:728: warning: call to function ?findVar? without a real
prototype                                                                  
          
../parse.h:87: note: ?findVar? was declared here                          
    
../gen_ss_code.c: In function ?gen_pv_func?:                              
    
../gen_ss_code.c:792: warning: call to function ?findVar? without a real
prototype                                                                  
          
../parse.h:87: note: ?findVar? was declared here                          
    
../gen_ss_code.c:800: warning: call to function ?findVar? without a real
prototype                                                                  
          
../parse.h:87: note: ?findVar? was declared here                          
    
../gen_ss_code.c:769: warning: ?ep3? may be used uninitialized in this function /usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
../gen_tables.c                                                            
    
../gen_tables.c: In function ?gen_db_blocks?:                             
    
../gen_tables.c:112: warning: call to function ?fill_db_block? without a
real prototype                                                             
          
../gen_tables.c:42: note: ?fill_db_block? was declared here               
    
../gen_tables.c:119: warning: call to function ?fill_db_block? without a
real prototype                                                             
          
../gen_tables.c:42: note: ?fill_db_block? was declared here               
    
../gen_tables.c: In function ?fill_db_block?:                             
    
../gen_tables.c:194: warning: call to function ?db_type_str? without a
real prototype                                                             
            
../gen_tables.c:144: note: ?db_type_str? was declared here                
    
../gen_tables.c: In function ?gen_state_blocks?:                          
    
../gen_tables.c:263: warning: call to function ?eval_state_event_mask?
without a real prototype                                                   
            
../gen_tables.c:49: note: ?eval_state_event_mask? was declared here       
    
../gen_tables.c:278: warning: call to function ?fill_state_block? without
a real prototype                                                           
         
../gen_tables.c:44: note: ?fill_state_block? was declared here            
    
../gen_tables.c: In function ?gen_ss_array?:                              
    
../gen_tables.c:540: warning: call to function ?find_error_state? without
a real prototype                                                           
         
../gen_tables.c:53: note: ?find_error_state? was declared here            
    
/root/epics/base/bin/linux-x86/e_flex
-S/root/epics/base/include/flex.skel.static -8 -I ../snc_lex.l             
                                             
mv lex.yy.c snc_lex.c                                                     
    
rm -f snc.c y.tab.c                                                       
    
rm -f snc.h y.tab.h                                                       
    
/root/epics/base/bin/linux-x86/antelope -d -v ../snc.y                    
    
/root/epics/base/bin/linux-x86/antelope: 474 shift/reduce conflicts, 270
reduce/reduce conflicts.                                                   
          
mv y.tab.c snc.c                                                          
    
mv y.tab.h snc.h                                                          
    
/usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include        snc.c
                                                                          
In file included from ../snc.y:476:                                       
    
../snc_lex.l: In function ?yy_get_next_buffer?:                           
    
../snc_lex.l:446: warning: implicit declaration of function ?read?        
    
y.tab.c: In function ?yyparse?:                                           
    
y.tab.c:1100: warning: implicit declaration of function ?yyerror?         
    
../snc.y:113: warning: implicit declaration of function ?program?         
    
../snc.y:117: warning: implicit declaration of function ?snc_err?         
    
../snc.y:121: warning: implicit declaration of function ?program_name?    
    
../snc.y:144: warning: implicit declaration of function ?assign_single?   
    
../snc.y:146: warning: implicit declaration of function ?assign_subscr?   
    
../snc.y:149: warning: implicit declaration of function ?assign_list?     
    
../snc.y:153: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:155: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:155: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:164: warning: implicit declaration of function ?monitor_stmt?    
    
../snc.y:173: warning: implicit declaration of function ?set_debug_print? 
    
../snc.y:179: warning: implicit declaration of function ?decl_stmt?       
    
../snc.y:202: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:204: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:224: warning: implicit declaration of function ?sync_stmt?       
    
../snc.y:229: warning: implicit declaration of function ?syncq_stmt?      
    
../snc.y:239: warning: implicit declaration of function ?defn_c_stmt?     
    
../snc.y:243: warning: implicit declaration of function ?option_stmt?     
    
../snc.y:249: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:254: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:256: warning: implicit declaration of function ?entry_code?      
    
../snc.y:258: warning: implicit declaration of function ?exit_code?       
    
../snc.y:265: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:271: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:279: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:285: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:287: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:293: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:293: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:300: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:306: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:311: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:317: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:323: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:329: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:337: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:338: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:339: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:340: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:341: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:342: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:343: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:344: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:345: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:346: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:347: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:348: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:349: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:350: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:351: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:352: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:357: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:358: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:414: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:420: warning: call to function ?link_expr? without a real
prototype    
../parse.h:86: note: ?link_expr? was declared here                        
    
../snc.y:426: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:427: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:432: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:438: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:442: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:446: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:451: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:452: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here                       
    
../snc.y:452: warning: call to function ?expression? without a real
prototype   
../parse.h:86: note: ?expression? was declared here
../snc.y:456: warning: implicit declaration of function ?pp_code?
../snc.y:468: warning: implicit declaration of function ?global_c_stmt?
../snc.y:472: warning: call to function ?expression? without a real prototype
../parse.h:86: note: ?expression? was declared here
../snc.y:473: warning: call to function ?expression? without a real prototype
../parse.h:86: note: ?expression? was declared here
../snc.y:473: warning: call to function ?link_expr? without a real prototype
../parse.h:86: note: ?link_expr? was declared here
y.tab.c: At top level:
../snc_lex.l:554: warning: ?yyunput? defined but not used
../snc_lex.l:661: warning: ?yyrestart? defined but not used
../snc_lex.l:673: warning: ?yy_switch_to_buffer? defined but not used
../snc_lex.l:597: warning: ?input? defined but not used rm -f sncVersion.c perl ../sncVersion.pl 2.0.12 > sncVersion.c /usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
-D_XOPEN_SOURCE=500          -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux 
-D_REENTRANT   -O3   -Wall  -m32     -g  -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/root/epics/base/include/os/Linux -I/root/epics/base/include       
sncVersion.c
/usr/bin/g++ -o snc  -L/root/epics/base/lib/linux-x86
-Wl,-rpath,/root/epics/base/lib/linux-x86       -m32               
snc_main.o parse.o phase2.o gen_ss_code.o gen_tables.o snc.o sncVersion.o -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc-ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom  -lfl
/usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld:
cannot find -lfl
collect2: ld returned 1 exit status
make[3]: *** [snc] Error 1
make[3]: Leaving directory
`/root/epics/modules/sncseq/src/snc/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/root/epics/modules/sncseq/src/snc'
make[1]: *** [snc.install] Error 2
make[1]: Leaving directory `/root/epics/modules/sncseq/src'
make: *** [src.install] Error 2
linux-wsk6:~/epics/modules/sncseq #

Replies:
RE: Problem Building SNC/SEQ Module Mark Rivers
RE: Problem Building SNC/SEQ Module Mark Rivers

Navigate by Date:
Prev: LabVIEW Native Channel Access for EPICS Alan Greer
Next: RE: Problem Building SNC/SEQ Module Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: LabVIEW Native Channel Access for EPICS Alan Greer
Next: RE: Problem Building SNC/SEQ Module Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·